Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

wsa-enabled web service  RSS feed

David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using Axis 2 to create a ws-a enabled web service.

This web service receives a wsa-enabled message which contains the following headers:
- the wsa:from (let's say EPR1)
- the wsa:To (let's say URI2)
- the wsa:replyTo (let's say EPR1b)

I want the web service to reply with the following information:
- wsa:from EPR2 containing URI2 in its address field
- wsa:to should contain the URI of the address element of EPR1b
- the wsa:header should contain EPR1b's reference parameters

I want to this via the web service's configuration file (axis2.xml, services.xml or possibly module.xml for the addressing module engaged).

This need stems out of the following problem I keep on hitting. I have a wsa client and a wsa service. I would like the communication to be asynchronous. Each one is sitting behind its own proxy. If I omit the replyto in the request, the response from the service doesn't go through the service-side proxy AND it has a synchronous behavior.

Thanks for your help,
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!