|
-
Aug 17th, 2009, 10:39 AM
#1
Thread Starter
Arabic Poster
[RESOLVED] Java web service from a php client
Dear who ever reads this
I have a Java web service using JAX-B. Recently I've been trying to use php to write a client side for this service. Everything has been working good, Php is still as cool as I've left it. I just have a small problem I don't know if it's me or php5.3.
One of my Java web methods returns an array of integers. php gets the response as hashtable - using $client->__getTypes() - which is good. but if I tried to var_dump items in the hashtable I get:
object(stdClass)#3 (0) { }
object(stdClass)#4 (0) { }
object(stdClass)#5 (0) { }
object(stdClass)#6 (0) { }
object(stdClass)#7 (0) { }
object(stdClass)#8 (0) { }
object(stdClass)#9 (0) { }
where it should be [29, 32, 36, 37, 38, 39, 66]
Any ideas?
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|