Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Soap and get/post request

 
addy sharma
Greenhorn
Posts: 19
Java Opera Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have read and noticed that all the SOAP requests are POST request by default.
Why is it POST by default? Is there any disadvantage of using GET in a SOAP request even when i am not sending any parameter to get a resource/response? I am not updating anything.

if possible how can i send SOAP-GET request ?
 
Tim Moores
Saloon Keeper
Posts: 3323
61
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SOAP is transported in the HTTP body, so yes, you do need to use POST because GET doesn't have a body.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!