Hi,

I am trying to configure ESB Callout mediator to access a dataservice
endpoint through local transport. I have enabled local transport on
samples/axis2Client/client_repo/conf/axis2.xml.

I configured the callout mediator serviceURL and action as follows,

* <callout serviceURL="http://localhost:8282/services/updateNonxaTrans "
action="urn:UpdateXATransOp">

*I am getting the following error while invoking the service.

ERROR - AxisEngine The service cannot be found for the endpoint reference
(EPR) local://localhost/services/updateNonxaTrans
org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) local://localhost/services/updateNonxaTrans
    at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
    at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)

But the endpoint works when configured with send mediator.

How can we use callout mediator to access endpoints through local transport?


Thanks,
Lakmali
-- 
Lakmali Baminiwatta*
*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to