0 Replies Latest reply on Jul 7, 2010 2:26 AM by Jackie Zhang

    jboss esb soap proxy - SAAJ/MTOM issue - pls help me~

    Jackie Zhang Newbie

      Hi everyone

       

       

           I use axis2 client to call the ws proxy. When enable the SAAJ or MOTM to attach some documents, the esb server can't receive, and throw exception.  the soap proxy can't support SAAJ or MTOM ? or the client must be JBOSS ?

       

       

      2010-07-07 14:05:57,500 WARN  [org.jboss.soa.esb.actions.soap.proxy.SOAPProxy] (pool-36-thread-1) null binding for soapaction [null]; parsing envelope to discover operation...
      2010-07-07 14:07:54,828 INFO  [STDOUT] (pool-36-thread-1) in::
      2010-07-07 14:07:54,828 INFO  [STDOUT] (pool-36-thread-1) [--MIMEBoundaryurn_uuid_C4B805AE09748F43CE1278482874650
      Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
      Content-Transfer-Encoding: binary
      Content-ID: <0.urn:uuid:C4B805AE09748F43CE1278482874651@apache.org>

      <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><swa:getHello xmlns:swa="http://serviceimpl.repository.xds.services.hieos.vangent.com" /><swa:uploadFile xmlns:swa="http://serviceimpl.repository.xds.services.hieos.vangent.com"><swa:name /><swa:attchmentID>urn:uuid:C4B805AE09748F43CE1278482874522</swa:attchmentID></swa:uploadFile></soapenv:Body></soapenv:Envelope>
      --MIMEBoundaryurn_uuid_C4B805AE09748F43CE1278482874650--].
      2010-07-07 14:07:54,828 WARN  [org.jboss.soa.esb.actions.soap.proxy.SOAPProxy] (pool-36-thread-1) null binding for soapaction [null]; parsing envelope to discover operation...
      2010-07-07 14:07:54,843 ERROR [STDERR] (pool-36-thread-1) [Fatal Error] :1:1: Content is not allowed in prolog.
      2010-07-07 14:07:54,843 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hieEsb].[http2]] (http-192.168.0.23-8080-2) Servlet.service() for servlet http2 threw exception
      org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.getOperation(SOAPProxy.java:326)
      at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.process(SOAPProxy.java:258)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:634)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:588)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:419)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)