aspose file tools*
The moose likes Web Services and the fly likes Regarding SOAPHeader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Regarding SOAPHeader" Watch "Regarding SOAPHeader" New topic
Author

Regarding SOAPHeader

John Austran
Greenhorn

Joined: Sep 13, 2012
Posts: 2
What is the purpose of using SOAPHeader for?
I found some sites said that can use to put payment or authentication data but I can also put these data on SOAP body or logical part.
So what are the differences to put these data on SOAPHeader instead of SOAP body?
Can I inject any other information into SOAPHeader?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
You can use it for any metadata that makes sense for your purposes. For example, WS-Security (the standard way of securing SOAP WS) uses it for encryption, signature and authentication purposes.
Siitesh Hind
Ranch Hand

Joined: Sep 06, 2012
Posts: 51
Hello Ulf,

Can I create a SOAP Header while creating a java web service?

I need to deploy it on JBoss AS.

Rgds,

Seetesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding SOAPHeader