|
Addition to my earlier email: ---------------------------- Sometimes when the webservice involves complex output, I want to get only the xml string as output so that for complex types I dont have to define the type mappings. The problem I mentioned also happens when I want String[] as the output in xml and so it is not restricted to UserDefinedTypes. For example: The return xml in the tcp monitor shows as: ------------------------------------ HTTP/1.1 200 OK Server: Pramati Server Date: Sat, 17 Dec 2005 03:40:07 GMT Content-Type: text/xml; charset=utf-8 Connection: close <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:getActiveWorkstepListInStringArrayResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://bizlogic.webservice.savvion.com"> <getActiveWorkstepListInStringArrayReturn soapenc:arrayType="soapenc:string[3]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <getActiveWorkstepListInStringArrayReturn xsi:type="soapenc:string">tsa#293:Activity 1</getActiveWorkstepListInStringArrayReturn> <getActiveWorkstepListInStringArrayReturn xsi:type="soapenc:string">tsa#291:Activity 3</getActiveWorkstepListInStringArrayReturn> <getActiveWorkstepListInStringArrayReturn xsi:type="soapenc:string">tsa#290:Activity 1</getActiveWorkstepListInStringArrayReturn> </getActiveWorkstepListInStringArrayReturn> </ns1:getActiveWorkstepListInStringArrayResponse> </soapenv:Body> </soapenv:Envelope> ----------------------------------------------- The requirement is to capture this xml form call.invoke() using the call.getResponseMessage(). Regards, Ravi Ravi Krishnamurthy wrote: Hello: |
