You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Łukasz Budnik (JIRA)" <ji...@apache.org> on 2010/08/22 11:15:15 UTC
[jira] Created: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
--------------------------------------------------------------------------
Key: ODE-885
URL: https://issues.apache.org/jira/browse/ODE-885
Project: ODE
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: 2.0-beta2, 2.0-beta1, 1.3.4, 1.3.3
Environment: Windows XP, Java 1.6
Reporter: Łukasz Budnik
Priority: Minor
When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
<bpel:copy>
<bpel:from>
<bpel:literal>
http://localhost:8181/cxf/ChemicalComputationsService1
</bpel:literal>
</bpel:from>
<bpel:to partnerLink="AbstractServicePartnerLink" />
</bpel:copy>
the result is:
21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
http://localhost:8181/cxf/ChemicalComputationsService1
21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
http://localhost:8181/cxf/ChemicalComputationsService1
using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
e/"><soapenv:Body>
<csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
<arg0>sulphuric acid</arg0>
<arg1>24.0</arg1>
</csn:computeParameters>
</soapenv:Body></soapenv:Envelope>
21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
http://localhost:8181/cxf/ChemicalComputationsService1
</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
<csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
<arg0>sulphuric acid</arg0>
<arg1>24.0</arg1>
</csn:computeParameters>
</soapenv:Body></soapenv:Envelope>
21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
org.apache.axis2.AxisFault: Transport out has not been set
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
When changed to:
<bpel:copy>
<bpel:from>
<bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
</bpel:from>
<bpel:to partnerLink="AbstractServicePartnerLink" />
</bpel:copy>
The process works fine.
The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
thanks,
Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme updated ODE-885:
-------------------------------
Comment: was deleted
(was: Oleg, I think you want to left-trim as well ?)
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Attachments: ode885.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Oleg Zenzin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901694#action_12901694 ]
Oleg Zenzin commented on ODE-885:
---------------------------------
Here's the patch for this issue (it's also attached in a file ode885.patch):
Index: src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java
===================================================================
--- src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java (revision 988368)
+++ src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java (working copy)
@@ -40,7 +40,7 @@
}
public String getUrl() {
- return _url;
+ return _url != null ? _url.trim() : null;
}
public void setUrl(String url) {
Index: src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java
===================================================================
--- src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java (revision 988368)
+++ src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java (working copy)
@@ -90,7 +90,7 @@
}
public String getUrl() {
- return _eprElmt.getElementsByTagNameNS(Namespaces.WS_ADDRESSING_NS, "Address").item(0).getTextContent();
+ return _eprElmt.getElementsByTagNameNS(Namespaces.WS_ADDRESSING_NS, "Address").item(0).getTextContent().trim();
}
public void setUrl(String url) {
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901720#action_12901720 ]
Antoine Toulme commented on ODE-885:
------------------------------------
Oleg, I think you want to left-trim as well ?
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Attachments: ode885.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Oleg Zenzin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Zenzin updated ODE-885:
----------------------------
Attachment: ode885.patch
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Attachments: ode885.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905109#action_12905109 ]
Hudson commented on ODE-885:
----------------------------
Integrated in ODE-trunk #367 (See [https://hudson.apache.org/hudson/job/ODE-trunk/367/])
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Fix For: 1.3.5
>
> Attachments: ode885.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ODE-885) whitespaces in dynamic EPR cause
AxisFault: Transport out has not been set
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved ODE-885.
--------------------------------
Fix Version/s: 1.3.5
Resolution: Fixed
Thanks Oleg, committed with revision 988379.
> whitespaces in dynamic EPR cause AxisFault: Transport out has not been set
> --------------------------------------------------------------------------
>
> Key: ODE-885
> URL: https://issues.apache.org/jira/browse/ODE-885
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3, 1.3.4, 2.0-beta1, 2.0-beta2
> Environment: Windows XP, Java 1.6
> Reporter: Łukasz Budnik
> Priority: Minor
> Fix For: 1.3.5
>
> Attachments: ode885.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When assigning dynamically the EPR of a partner link and the EPR has whitespaces as in the example below:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> http://localhost:8181/cxf/ChemicalComputationsService1
> </bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> the result is:
> 21:58:22,968 DEBUG [ExternalService] Endpoint URL overridden by process. http://www.example.org/ =>
> http://localhost:8181/cxf/ChemicalComputationsService1
> 21:58:22,968 DEBUG [ExternalService] Axis2 sending message to
> http://localhost:8181/cxf/ChemicalComputationsService1
> using MEX {PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}Dyna
> micEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}
> 21:58:22,984 DEBUG [ExternalService] Message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
> e/"><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,000 DEBUG [PartnerRoleMessageExchangeImpl] replyAsync mex=hqejbhcnphr5j3rkt95j6n
> 21:58:23,031 DEBUG [BpelRuntimeContextImpl] Setting execution state on instance 63351
> 21:58:23,875 DEBUG [SessionOutHandler] Sending stateful TO epr in message header using session null
> 21:58:23,875 DEBUG [SessionOutHandler] Sending a message containing wsa endpoints in headers for session passing.
> 21:58:23,890 DEBUG [SessionOutHandler] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><so
> apenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:8181/cxf/ChemicalComputationsService1
> </addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo xmlns:addr="htt
> p://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="htt
> p://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr5j3rkt95j6q</addr:MessageID></soapenv:Header><soapenv:Body>
> <csn:computeParameters xmlns:csn="http://chemical_service.servicemix.ode.studies.xh.org/">
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </soapenv:Body></soapenv:Envelope>
> 21:58:23,921 ERROR [ExternalService] Error sending message (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.example
> s.xh.org}DynamicEPRChemicalProcess-335] calling org.apache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set
> org.apache.axis2.AxisFault: Transport out has not been set
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:204)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] replyWithFailure mex=hqejbhcnphr5j3rkt95j6n failureType=COMMUNICATION_ERROR description=Error sending me
> ssage (mex={PartnerRoleMex#hqejbhcnphr5j3rkt95j6n [PID {http://dynamiceprchemicalprocess.wsbpel.examples.xh.org}DynamicEPRChemicalProcess-335] calling org.a
> pache.ode.bpel.epr.URLEndpoint@3f3b9b.AbstractOperation(...)}): Transport out has not been set details=null
> 21:58:23,984 DEBUG [PartnerRoleMessageExchangeImpl] create work event for mex=hqejbhcnphr5j3rkt95j6n
> When changed to:
> <bpel:copy>
> <bpel:from>
> <bpel:literal>http://localhost:8181/cxf/ChemicalComputationsService1</bpel:literal>
> </bpel:from>
> <bpel:to partnerLink="AbstractServicePartnerLink" />
> </bpel:copy>
> The process works fine.
> The EPR should be trimmed to be 100% sure that it's does not contain whitespaces. This should be a simple and quick fix.
> thanks,
> Łukasz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.