wood burning stoves 2.0*
The moose likes Web Services and the fly likes Using WS-addressing in axis1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using WS-addressing in axis1.4" Watch "Using WS-addressing in axis1.4" New topic
Author

Using WS-addressing in axis1.4

sandy bose
Greenhorn

Joined: Apr 05, 2010
Posts: 7
hi,
Am using 'addressing-1.0.jar' use WS-addressing in Axis1.4.
Following is a snippet of the header:
<soapenv:Header>
<wsa:Action>VerifyReg</wsa:Action>
<wsa:To>urn:CardServ</wsa:To>
</soapenv:Header>

Can any1 tell me how do i make this header using the Action and To class
Basicaaly this is my code snippet:

AddressingHeaders headers = new AddressingHeaders();
Action a = new Action();
headers.setAction(a);
To to = new To());
headers.setTo(to);
return headers;

My Question is : How do i use Action a = new Action(); & To to = new To();to pass in
<wsa:Action>VerifyReg</wsa:Action>
<wsa:To>urn:CardServ</wsa:To>
resp?

PLease make sure i cannot use Axis 2!!
really good
Greenhorn

Joined: Feb 01, 2011
Posts: 1
sandy bose wrote:hi,
Am using 'addressing-1.0.jar' use WS-addressing in Axis1.4.
Following is a snippet of the header:
<soapenv:Header>
<wsa:Action>VerifyReg</wsa:Action>
<wsa:To>urn:CardServ</wsa:To>
</soapenv:Header>

Can any1 tell me how do i make this header using the Action and To class
Basicaaly this is my code snippet:

AddressingHeaders headers = new AddressingHeaders();
Action a = new Action();
headers.setAction(a);
To to = new To());
headers.setTo(to);
return headers;

My Question is : How do i use Action a = new Action(); & To to = new To();to pass in
<wsa:Action>VerifyReg</wsa:Action>
<wsa:To>urn:CardServ</wsa:To>
resp?

PLease make sure i cannot use Axis 2!!
Did you ever find the answer to this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using WS-addressing in axis1.4