aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 4
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
 
Similar Threads
Axis Fault
Using WS-RM with Axis2 1.5?
WS Addressing in WebSphere 5.1
question on wsa:Action="http://example.com/numbers/AddNumbersPortType/Result"
How to send soap respone to a different end point or client using ws-addressing