Spring WS WS-Addressing @Action Example

You may also like...

3
Leave a Reply

avatar
3 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
Amarnathfigds Recent comment authors
  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.