| Sign In/My Account | View Cart |
| Article: |
A PHP Web Services Client | |
| Subject: | Apache Axis | |
| Date: | 2003-09-12 11:37:46 | |
| From: | anonymous2 | |
|
Adam, Using the guidelines in this article I am able to connect to web services running on Axis as long as they have simple parameters. My problems are in trying to consume services that take Arrays of Java Structures as parameters. For instance: in java, Magazine[] mags = new Magazine[2]; mags[0] = new Magazine("Harpers"); mags[1] = new Magazine("New Yorker"); buySubscriptions(2, mags); in php, $magOne = array( 'title' => 'Harpers', ); $magTwo = array( 'title' => 'New Yorker', ); $mags[0] = $magOne; $mags[1] = $magTwo; $params = array( 'count' => 2, 'mags' => $mags, ); $response = $client->buySubscriptions($params);
|
||
Showing messages 1 through 5 of 5.
Apache Axis
Off the top of my head, I'm not sure. It would help if you gave me a pointer to the WS so I could try it myself.