File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP HEader

 
Pritesha Agrawala
Greenhorn
Posts: 6
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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
  • 0
  • 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: 13045
6
  • 0
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic