aspose file tools
The moose likes Web Services and the fly likes SOAP HEader Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "SOAP HEader" Watch "SOAP HEader" New topic
Author

SOAP HEader

Pritesha Agrawala
Greenhorn

Joined: Mar 28, 2008
Posts: 6
Hello EveryOne,

I am new to Web services. I created Web service that is working fine without SOAP header. Now i want to include Header. How i can do it. Please if possible then give me sample WSDL file and Code of it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
The way to do it depends on the API you use. This simple WS client shows how to do it with SAAJ.


Android appsImageJ pluginsJava web charts
Pritesha Agrawala
Greenhorn

Joined: Mar 28, 2008
Posts: 6
I am using Axis2.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12271
    
    1
You should find plenty of examples in the AXIS2 distribution.

I was under the impression that AXIS, like most toolkits, handled header creation automatically - what are you missing?

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: SOAP HEader
 
Similar Threads
This weeks book giveaway
Help regarding web service security
Mock Question
SOAP intermediaries
doubt in web service security