• 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

SMTP

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is SMTP a viable protocol to exchange SOAP messages in a request/response scenario? It appears to be at first glance of the SMTP spec (http://www.freesoft.org/CIE/RFC/821/index.htm)
I'm not an expert on SMTP so forgive my negligence ...
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can certainly exchange SOAP messages with SMTP - the turn around time would not be as fast as HTTP but the exchange could be asynchronous.
Bill
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, SMTP provides you with an asynchronous protocol that the Internet is already equipped to handle. It's actually an excellent choice for some types of application-to-application scenarios in a B2B environment (think Order placements, or status queries).
Kyle
 
Joe Pardi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the insight. I believe I can consider SMTP as the protocol to use for my web service. The scenario does relate well to an order submission. However, I have the responsibility of sending the full order information back to the caller, but I believe this can be asynchronous.
Assuming this, does SMTP guarantee that the sender will receive my reply? Or could it get lost?
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a lot of things that can go wrong with SMTP - for example the mail server you send through, or the server the user receives from, could be down, or the address could have an error. You should always log the complete message in a form that allows it to be re-sent.
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic