Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

SOAPAction Header Deprecated - how to Distinguish SOAP from HTTP request?

Thread view: 
Abstract - 18 Oct 2005 21:20 GMT
My original code distinguished SOAP over HTTP from browser-basedHTTP
requests by looking for the SOAPAction header in the HTTP request.

Now that this header is deprecated, how am I to filter out SOAP from
HTTP?

Please note that I am not using AXIS.

I considered checking if the Accept header includes
application/xml+soap, but not all SOAP implementations include this
header.

Thanks.
Mike Schilling - 19 Oct 2005 01:06 GMT
> My original code distinguished SOAP over HTTP from browser-basedHTTP
> requests by looking for the SOAPAction header in the HTTP request.
>
> Now that this header is deprecated, how am I to filter out SOAP from
> HTTP?

Look for the SOAP envelope?  I can see that you wouldn't want to do a
complete XML parse of the document, but looking for "<xxx:Envelope" isn't
too bad.  Of course, you'll also have to allow for the XML header to be
present, and handle character encodings as well (look for the BOM if you
support UTF-16, etc.)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.