Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

Change ReplyTo in WS-Addressing Header

799763Sep 23 2010 — edited Feb 26 2020
Hi,

i have created an async webservice with JAX-WS and i want to consume this by using BPEL. All works fine with correlationSet. But in the SOAP-Header the ReplyTo-Address is wrong.

<addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing">
<addr:Address>http://www.w3.org/2005/08/addressing/none</addr:Address>
</addr:ReplyTo>

Now i want to change this address to my callback endpoint. I have tried the following thing:

<bpel:copy>
<bpel:from>
<bpel:literal>
<wsa:EndpointReference>
<wsa:Address>http://localhost:9999/AppWS-Project1-webapp/SayHelloService</wsa:Address>
<wsa:ReferenceProperties>
<wsa:To>http://localhost:9999/AppWS-Project1-webapp/SayHelloService</wsa:To>
<wsa:Action>http://service.blablubb.de/SayHello/sayHello</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://localhost:8082/ode/processes/SayHelloCallbackService</wsa:Address>
</wsa:ReplyTo>
</wsa:ReferenceProperties>
</wsa:EndpointReference>
</bpel:literal>
</bpel:from>
<bpel:to variable="partnerReference"></bpel:to>
</bpel:copy>
...
...
...
<bpel:copy>
<bpel:from variable="partnerReference"></bpel:from>
<bpel:to partnerLink="SayHelloPL"></bpel:to>
</bpel:copy>

But the header of the SOAP message looks like this:

<soapenv:Header>
<addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:9999/AppWS-Project1-webapp/SayHelloService</addr:To>
<addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">http://service.blablubb.de/SayHello/sayHello</addr:Action>
<addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing">
<addr:Address>http://www.w3.org/2005/08/addressing/none</addr:Address>
</addr:ReplyTo>
<addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">urn:uuid:90B0298DB6676D41EE1285233228820</addr:MessageID>
</soapenv:Header>


Can anyone tell me whats wrong?

greets spaxx86
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2012
Added on Sep 23 2010
1 comment
3,306 views