Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP HEader

 
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: 42968
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: 13074
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