Spring WS WS-Addressing @Action Example

You may also like...

Leave a Reply

3 Comments on "Spring WS WS-Addressing @Action Example"

avatar
  Subscribe  
newest oldest
Notify of
figds
Guest
figds
Hi, I followed your tutorial and it worked fine, but there is something I’m trying to do but can’t get it to work. I want to two methods like this: @Action(“http://localhost/ws/getCountr”) public void getCountr(@RequestPayload GetCountryRequest request) { } @Action(“http://localhost/ws/getCountry”) @ResponsePayload public GetCountryResponse getCountry(@RequestPayload GetCountryRequest request) { } I add two properties for the soapaction: Properties soapActions = new Properties(); soapActions.setProperty(“getCountr”, “http://localhost/ws/getCountr”); soapActions.setProperty(“getCountry”, “http://localhost/ws/getCountry”); wsdl11Definition.setSoapActions(soapActions); When I check the wsdl, the second method does not appear. Can you please tell me what’s wrong? Thank you!
Amarnath
Guest
Amarnath

Dude you are awesome. Small things matter. Thank you.

Amarnath
Guest
Amarnath

Dude you are awesome. Small things matter. Thank you.