0 Replies Latest reply on Jun 28, 2010 10:39 PM by Santhosh Chandrasekaran

    javax.xml.ws.soap.SOAPFaultException: XML parse failed to build a document from bytes

    Santhosh Chandrasekaran Newbie

      Hi,

       

      I am using wsconsume to create wsdl client artifacts for externally hosted webservices.

       

      When I run through the stand alone (psvm attaached the same) stub .. It connects and works.

       

      But when I run the same code in a .esb action classes its throwing an error

       

      javax.xml.ws.soap.SOAPFaultException: XML parse failed to build a document from bytes
      at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84)
      at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)
      at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:558)
      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:373)
      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:231)
      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:162)
      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:148)
      at $Proxy410.getSkuInfoAndInventory(Unknown Source)
      at org.bby.esb.item.action.ItemRouter.main(ItemRouter.java:90)
      at org.bby.esb.item.action.ItemRouter.process(ItemRouter.java:60)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.j
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.j
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:419)

      Suggestion / solutions are higjly appreciated.