Hi, I am having a web-service returning complex data type. This data type contains an array of other complex data type. When I run client I get following exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. The "tcpmon" utility gives me following: HTTP/1.0 200 OK Date: Mon, 17 Mar 2003 14:16:39 GMT Server: WebLogic WebLogic Server 7.0 SP1 Mon Sep 9 22:46:58 PDT 2002 206753 Content-Length: 1874 Content-Type: text/xml Connection: Close <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header></env:Header> <env:Body> <m:getOrderDetailsForInstallationResponse xmlns:m="http://si.nat.bt.com/WSAI/STAA/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <result xsi:type="ns100:CombtecbsFH03GetOrderDetailsForInstallationOutput" xmlns:ns100="java:com.bt.staa"> <orderObjectDetailArray xmlns:ns101="java:com.bt.staa" soapenc:arrayType="ns101:CombtecbsFH03OrderObjectDetail[1]"> <ns101:CombtecbsFH03OrderObjectDetail xsi:type="ns101:CombtecbsFH03OrderObjectDetail"> <orderType xsi:type="xsd:string">ORDER_TYPE</orderType> <fkOrderProjectNo xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></fkOrderProjectNo> <orderStatus xsi:type="xsd:string">ORDER_STATUS</orderStatus> <associatedOrderNo xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></associatedOrderNo> <requiredDate xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></requiredDate> <orderNo xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></orderNo> </ns101:CombtecbsFH03OrderObjectDetail> </orderObjectDetailArray> <genReturnCode xsi:type="xsd:int">0</genReturnCode> <pck xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></pck> <supplText href="#ID_7"></supplText> <severityCode xsi:type="xsd:string">S</severityCode> <destination xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></destination> <supplCode href="#ID_7"></supplCode> <genReturnText href="#ID_7"></genReturnText> <retriable xsi:type="xsd:boolean">false</retriable> </result> </m:getOrderDetailsForInstallationResponse> <xsd:string xsi:type="xsd:string" id="ID_7"></xsd:string> </env:Body></env:Envelope> I can't figure out what's going wrong. The client runs well when it invokes some other operation which does not have array in the data type it is returning. Any help/poiners would be great. Best regards, Nandkumar Jawale ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com