This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP HEader  RSS feed

 
Pritesha Agrawala
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way to do it depends on the API you use. This simple WS client shows how to do it with SAAJ.
 
Pritesha Agrawala
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Axis2.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!