Forum Moderators: coopster
Here's the wsdl message part:
<wsdl:message name="getNoticeRequest">
<wsdl:part name="foo" type="tns:ArrayOfStuffA" />
<wsdl:part name="bar" type="tns:ArrayOfStuffB" />
</wsdl:message> If I remove the second wsdl:part from the message, then everything works fine, but I want to be able to pass multiple elements this way, and as soon as I add another, it gives the error.
If I swap the two lines around, then I get "procedure 'bar' not found".
Anyone have any ideas?
Not sure if this should be here, or in the xml forum.
Thanks!
-sned
function getNotice($foo, $bar){
return "blah blah blah -- ";
}
Here's the code on the client side:
$foo[] = array(
'id'=>2,
'text'=>'some text',
'rank'=>0
);
$bar[] = array(
'id'=>2,
'text'=>'some other text',
'rank'=>0
);
try{
$client->getNotice($foo, $bar);
}
catch(SoapFault $error){
$return = "Error caught: $error->faultstring";
} Thanks!
Good luck!