Topic
  • 1 reply
  • Latest Post - ‏2006-12-08T18:28:29Z by SystemAdmin
SystemAdmin
SystemAdmin
1215 Posts

Pinned topic Error: Cannot deserialize element

‏2006-12-06T21:08:58Z |
I am using web sphere 5.1.2 and having problem testing my webservices. I get following error
WebServicesFault
faultCode: Server.generalException
faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actionIndicator of bean com.caremark.psd.mailorder.webservices.wsdl.wsmodel.PrescriptionValidationRequestData. To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).
faultActor: null
faultDetail:

org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actionIndicator of bean com.caremark.psd.mailorder.webservices.wsdl.wsmodel.PrescriptionValidationRequestData. To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:228)
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:156)
at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java:409)
at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:251)
at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:864)
at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1225)
at com.ibm.ws.webservices.engine.Message.getFault(Message.java:757)
at com.ibm.ws.webservices.engine.Message.ifFaultThrowSelf(Message.java:737)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:252)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)
Updated on 2006-12-08T18:28:29Z at 2006-12-08T18:28:29Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1215 Posts

    Re: Error: Cannot deserialize element

    ‏2006-12-08T18:28:29Z  
    I could see similar problem got solved by adding the xml name space to a tag. Refer to this URL for more info, this may be helpful.
    http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13804421&cat=9&thread=71086&treeDisplayType=threadmode1&forum=276#13804421