Hi,

On Tue, Jul 10, 2012 at 1:09 PM, Lakmali Baminiwatta <lakm...@wso2.com>wrote:

> 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">
> *


The callout mediator configuration I used  was,
*
<callout serviceURL="local://localhost/services/updateNonxaTrans**"
action="urn:UpdateXATransOp">*

I have mistakenly mentioned a wrong URL above.

> *
> *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
>
> *
> *
>
>


-- 
Lakmali Baminiwatta*
*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
*
*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to