Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

What does the SOAPAction HTTP header field mean? And how to use it?

843833Mar 4 2010 — edited Mar 5 2010
After reading SOAP 1.1 specification, I still do not understand the use of SOAPAction HTTP header field. Is it the same to the Target field of HTTP header? In other words, the HTTP request will be sent to the destination which is specified as the value of SOAPAction field? If the URI which is the value of SOAPAction field is different to the Target field of HTTP header, in this scenario, which destination the HTTP request will be sent to?




Thanks a lot!

Comments

843833 Mar 4 2010
At http://www.fh-wedel.de/~si/seminare/ws00/Ausarbeitung/6.soap/soap07.htm one read:
The HTTP-Header

The SOAPAction field of the HTTP-Header identifies the purpose of the SOAP-HTTP request. The value of this field is a URI without special requirements
due to presence or format. A HTTP client which sends a SOAP request has to use this header field.

Examples:

SOAPAction: "http://www.aktien.de/transaktion#buy"
SOAPAction: "doit.exe"
SOAPAction: ""
SOAPAction:

The presence of the SOAPAction field of the HTTP header can be used by firewalls to filter SOAP requests.
The field value of an empty String means the purpose of the request is to be determined from HTTP request URI itself (examples line 3).
No field value at all (examples line 4) means there is no hint for the purpose of the message provided.
So, I think the connection you stated between SOAP action field and HTTP request destination (path?) does not exist. Or it is not on that technical base at least.
843833 Mar 5 2010
Your reply is very helpful for me. I am very grateful for your help.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 2 2010
Added on Mar 4 2010
2 comments
2,195 views