[esb-java-user] How to use Axis client in a class mediator

Arjan Visser arjan.visser at jibe-nc.com
Mon Nov 23 02:19:16 PST 2009


Hi,

 

I have to use Axis2 client in a class mediator for calling an external
webservice. This call has to be a blocking call. When I use this client in
the class mediator, I get the following error: 

 

2009-11-23 11:08:23,015 [-] [HttpClientWorker-8] ERROR AxisEngine Message
Receiver not found for AxisOperation: {http://ws.apach

}anonOutInOp

org.apache.axis2.AxisFault: Message Receiver not found for AxisOperation:
{http://ws.apache.org/namespaces/axis2}anonOutInOp

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:174)

        at
org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:229)

        at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerP
ool.java:58)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

        at java.lang.Thread.run(Thread.java:619)

 

What is the right way to use a blocking SOAP call in a mediator? Using the
same class mediator in a standalone Java projects works fine (using the
Axis2 libraries packed with WSO2).

 

Used version : 2.1.2

 

Arjan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/esb-java-user/attachments/20091123/cd1aa8d4/attachment.htm 


More information about the Esb-java-user mailing list