• 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

SOAP faults

 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ranchers,
Can SOAP fault messages contain header elements? Why is that SOAP faut message is just sent to the immediate sender and not to the first sender?
Thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe a SOAPFault envelope can be sent with headers included, but I don't think I've ever actually seen that happen.
The reason why the fault message is only sent to the immediate sender is that 1) the ultimate receiver may not have any means to send the message to anyone else but the immediate sender (with which it has a TCP/IP/HTTP connection open), and 2) because the fault may be caused by something the intermediary did but that the original sender is not aware of (and can't do anything about it). Remember that the intermediary can (and mostly does, I think) forward the fault message upstream to the previous intermediary, its previous intermediary, and eventually, the original sender.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic