I tried invoking a proxy similar to your one but it worked without Soap
tracer.

<proxy xmlns="http://ws.apache.org/ns/synapse"; name="TestProxy"
transports="https,http" statistics="disable" trace="disable"
startOnLoad="true">
   <target>
      <inSequence>
         <send>
            <endpoint key="Axis2ServiceEP" />
         </send>
         <drop />
      </inSequence>
      <outSequence>
         <xslt key="transform_back-xslt" />
         <send />
      </outSequence>
   </target>
</proxy>

<endpoint xmlns="http://ws.apache.org/ns/synapse"; name="Axis2ServiceEP">
   <address uri="http://192.168.122.1:9764/services/SimpleStockQuoteService/";
format="soap11"/ >

   </endpoint>

Charitha Kankanamge
Senior Technical Lead, Manager QA
WSO2 Inc.
http://wso2.org
email: [email protected]
cell: +94 718 359 265
blog: http://charithaka.blogspot.com

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.


On Wed, Jan 19, 2011 at 10:06 PM, Tharindu Mathew <[email protected]> wrote:

> The synapse config used:
>
> <proxy name="JSONProxy" transports="https http" startOnLoad="true"
> trace="disable">
>         <target>
>             <inSequence>
>                 <send>
>                     <endpoint key="barcodeEPR"/>
>                 </send>
>                 <drop/>
>             </inSequence>
>             <outSequence>
>                 <xslt key="ns-remove"/>
>                 <send/>
>             </outSequence>
>         </target>
>     </proxy>
>
> <endpoint name="barcodeEPR">
>         <address uri="http://localhost:9763/services/BarcodeService";
> format="soap11"/>
>     </endpoint
>
> On Wed, Jan 19, 2011 at 9:44 PM, Tharindu Mathew <[email protected]>wrote:
>
>> Hi everyone,
>>
>> I have a peculiar problem. I'm using the ESB for some mediation and when I
>> switch on the SOAP tracer it works fine. But without it the message fails to
>> get delivered to the end point (which is on DSS).
>>
>> Stack traces:
>>
>> [1] - client side:
>>
>> java.lang.IllegalArgumentException: The MessageContext does not have an
>> associated SOAPFault.
>> at
>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:548)
>>  at
>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>>  at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>  at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>> at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>>  at com.aaamidatlantic.JSONClient.main(JSONClient.java:59)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
>>
>> [2] - ESB
>>
>> [2011-01-19 21:42:47,561]  WARN - ClientHandler Received an internal
>> server error : Internal Server Error For : 127.0.0.1:9763 For Request :
>> Axis2Request [Message ID :
>> urn:uuid:B9AAFA9AE4E40BF57745526535694152070935050] [Status Completed :
>> true] [Status SendingCompleted : true]
>>
>> [3] - DSS
>>
>> [2011-01-19 21:42:47,559] ERROR -  The endpoint reference (EPR) for the
>> Operation not found is http://localhost:9763/services/BarcodeService and
>> the WSA Action = null
>> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
>> not found is http://localhost:9763/services/BarcodeService and the WSA
>> Action = null
>>  at
>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
>>  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:259)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:165)
>>  at
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>> at
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>  at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>>  at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>>  at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>>  at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Software Engineer,
> WSO2 Inc.,
> http://wso2.com
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to