You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Dhananjay Rao <dh...@gmail.com> on 2007/10/16 12:22:24 UTC
Dynamic EPR
Hi,
I'm using dynamic EPR in my BPEL process, assigning the EPR using
following construct.
<bpws:copy>
<bpws:from>
<bpws:literal>
http://localhost:18080/soap/chargesAir1ServiceProxy</bpws:literal>
</bpws:from>
<bpws:to partnerLink="ChargesAir1PL"/>
</bpws:copy>
When i invoke the bpel process following exception is thrown
15:20:03,546 ERROR [ExternalService] Error sending message
(mex={PartnerRoleMex#65543 [PID
{http://soa-matrix.com/aai}AAIMasterCharges-4<http://soa-matrix.com/aai%7DAAIMasterCharges-4>]
calling org.apache.ode.bpel.epr.URLEndpoint@1cd11da.insert(...)}): The
system cannot infer the transport information from the URL.
org.apache.axis2.AxisFault: The system cannot infer the transport
information from the URL.
at org.apache.axis2.description.ClientUtils.inferOutTransport(
ClientUtils.java:73)
at org.apache.axis2.client.OperationClient.prepareMessageContext(
OperationClient.java:302)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl (
OutInAxisOperation.java:174)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java
:163)
at org.apache.ode.axis2.ExternalService$1$1.call(ExternalService.java
:148)
at java.util.concurrent.FutureTask$Sync.innerRun (Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Do i missing something over here.
Regards,
Dan
Re: Dynamic EPR
Posted by Jens Goldhammer <Go...@gmx.net>.
Hello,
Maybe a CDATA-section for the literal helps?
In my environment I get it working by copying the variable value to the
partnerlink...
In your case it would be:
<bpws:literal><![CDATA[$http://localhost:18080/soap/chargesAir1ServiceProxy]]></bpws:literal>
Regards,
Jens
Dhananjay Rao wrote:
>
> Hi,
>
> I'm using dynamic EPR in my BPEL process, assigning the EPR using
> following construct.
>
> <bpws:copy>
> <bpws:from>
> <bpws:literal>
> http://localhost:18080/soap/chargesAir1ServiceProxy</bpws:literal>
> </bpws:from>
> <bpws:to partnerLink="ChargesAir1PL"/>
> </bpws:copy>
>
>
> When i invoke the bpel process following exception is thrown
>
> 15:20:03,546 ERROR [ExternalService] Error sending message
> (mex={PartnerRoleMex#65543 [PID
> {http://soa-matrix.com/aai}AAIMasterCharges-4<http://soa-matrix.com/aai%7DAAIMasterCharges-4>]
> calling org.apache.ode.bpel.epr.URLEndpoint@1cd11da.insert(...)}): The
> system cannot infer the transport information from the URL.
> org.apache.axis2.AxisFault: The system cannot infer the transport
> information from the URL.
> at org.apache.axis2.description.ClientUtils.inferOutTransport(
> ClientUtils.java:73)
> at org.apache.axis2.client.OperationClient.prepareMessageContext(
> OperationClient.java:302)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl (
> OutInAxisOperation.java:174)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java
> :163)
> at org.apache.ode.axis2.ExternalService$1$1.call(ExternalService.java
> :148)
> at java.util.concurrent.FutureTask$Sync.innerRun (Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> Do i missing something over here.
>
> Regards,
> Dan
>
>
--
View this message in context: http://www.nabble.com/Dynamic-EPR-tf4633341.html#a13231962
Sent from the Apache Ode User mailing list archive at Nabble.com.