• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use of SOAP in a Java Web Service

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Folks,
I have a pretty basic question.Is SOAP the default messaging protocol when one writes a Web Service in Java?Or is SOAP not really required when one writes a Java Seb Service?

Thanks
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Romario Dominic:
Is SOAP the default messaging protocol when one writes a Web Service in Java?


Default no, most common, probably.
SOAP is currently the most common wire protocol used with web services (Java or not) - especially those supported by development tools. A web service does not have to be based on SOAP, but currently most of them are, however that does not make it the default.
Furthermore if you use a SOAP stack (like Axis) that supports JAX-RPC/JAX-WS you may not have to deal with SOAP at all unless you need to write a SOAP handler to deal with SOAP header blocks. Nonetheless it does help to know SOAP when you are working with SOAP-based Web services.

I already outlined some of the non-SOAP Web service alternatives in your previous thread.
[ March 12, 2006: Message edited by: Peer Reynders ]
reply
    Bookmark Topic Watch Topic
  • New Topic