hi, your two responses like this <soapenv:Body><ns1:greetingResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://DefaultNamespace"><greetingReturn xsi:type="xsd:string">Hello</greetingReturn></ns1:greetingResponse></soapenv:Body>
<ns:greetingResponse xmlns:ns="http://ws.apache.org/axis2/xsd"><ns:return>Hello</ns:return></ns:greetingResponse> 1. To get the response, I have to use $client->greeting()->return
instead of just $client->greeting().
in both cases response message have a similar xml structure with different names. So it is difficult to realy answer your question without having a knowledge about the PHP client. I depends on how php client parse the response. 2. When I list all the functions of this service with
$client->__getFunctions(), it lists three of them for some reason (and with a complex return type) greetingResponse greeting() greetingResponse greeting() greetingResponse greeting() instead of the one when I use Axis1. string greeting() 3. If I had a function that required arguments, I would have to call it like this: $client->add(array(param0=>3, param1=>5)) instead of the normal way like this with Axis1: $client->add(3, 5)
Again it depends on how PHP client work on these things. Thank you to everyone who has commented so far, and thanks for any more
ideas. (Is there some way to tell Axis2 to use rpc-encoded binding? It sounds like that might solve it.) Tim Koop Ajith Ranabahu wrote: > Hi, > It seems to me that this may be an issue with the PHP client. Here is > what I gather from the information > > 1. The Axis1 WSDL has a rpc-encoded binding > 2. The Axis2 WSDL has doc/lit bindings for both SOAP 1.1 and 1.2 > 3. The requests and responses (according to their WSDL's) seem to be > correct in both cases. From the looks of it even the response from > Axis2 server seems to agree with the schema that the WSDL refers to. > > I have a feeling this could be the PHP client that fails to parse the > response (However the SOAP request has been formed correctly which > makes me doubt my conclusion). What kind of error are you seeing ? > > Ajith > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Amila Suriarachchi, WSO2 Inc.
