What does the WSDL say? The SOAP message appears to return two strings (s-gensym3 and s-gensym5). Axis shouldn't have a problem with that. I assume the WSDL message is defined like this:
<wsdl:message name="sayHelloResponse> <wsdl:part name="s-gensym3" type="xsd:string"/> <wsdl:part name="s-gensym5" type="xsd:string"/> </wsdl:message> If it isn't then modify the WSDL so that it does represent the expected message format. Anne On Apr 8, 2005 3:55 PM, Maxim Grigoriev <[EMAIL PROTECTED]> wrote: > Hello, > I am having a problem with getting Axis client to communicate with SOAP::Lite > server. The WSDL describes very simple service and corresponding method, it > accepts one arg and returns two > strings. The Axis client built by utilizing WSDL2Java tool doesnt see the > values , returned by > the invocation, becasue SOAP::Lite wraps every returned string into some > generic elements ( which is actualy complaint to SOAP standart) > > <?xml version="1.0" encoding="UTF-8"?><soap:Envelope > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml > ns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><namesp1: > sayHelloResponse xmlns:namesp1="lsui"><s-gensym3 xsi:type="xsd:string">Hello > test</s-gensym3><s-gensym5 xsi:type="xsd:string">second > string</s-gensym5></namesp1:sayHelloRespon > se></soap:Body></soap:Envelope> > > So, the Axis client gets nulls instead of strings. Please help me to solve > this problem. One note though, I dont like an idea of building own > deserealizer becasue > the whole design built around concept of having one WSDL for the whole > service description ( so it used to built clients in any other language - > python, perl, java) > Thanks, > Maxim Grigoriev. > --------------------------------------------------- > :::: FERMILAB CD/CCF/NET/DCN > >