OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] SOAP for non-RPC messaging application

[ Lists Home | Date Index | Thread Index ]

Assuming you would be using SOAP over HTTP (the most likely assumption), the TCP connections would be maintained for the duration of a single HTTP request/response exchange, and then terminated. HTTP itself is "reliable" only to this degree due to its underlying TCP support - that is, it is reliable only on a per-message basis, and not between messages. Additional reliability can be gained by using a vendor product (such as a MOM product), or implementing a reliable messaging standard such as OASIS WS-Reliability. So in order to achieve the sustainment of the TCP connection in your flow figure, you would need to employ such reliability means.
 
Please see [1] for an article on OASIS WS-Reliability that I published in Nov. 2003.
 
Responding to your question #1: SOAP is not just for RPC - that was its originally conceived usage, but it has since expanded. From [2]:
 
"As mentioned in section 2. SOAP Data Model, use and implementation of the SOAP RPC Representation is OPTIONAL."
 
See [2] also for a description of SOAP 1.2 message exchange patterns (MEPs). Essentially you will need to match each of your 2 message exchange depictions with a SOAP MEP. Additionally, WSDL 1.1[3] specifies 4 "transmission primitives" that an endpoint can support:
 
- One-way
- Request/response
- Solicit/response
- Notification
 
The first message exchange in your figure below would be a request/response, while the second would be a solicit/response.
 
Hope that helps.
 
 
Kind Regards,
Joseph Chiusano
Booz Allen Hamilton
Visit us online@ http://www.boozallen.com
 


From: saptagirisa.n@flextronicssoftware.com [mailto:saptagirisa.n@flextronicssoftware.com]
Sent: Thursday, March 31, 2005 2:05 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] SOAP for non-RPC messaging application


I am an absolute novice to SOAP/XML and have been
trying to make sense out of the cryptic W3C SOAP
specifications.

I have a requirement to build SOAP/XML based message
interface between two network nodes (not in anyway
related to any webservice kind of stuff).  The requirement
is two have both client/server implementation on both sides
and a typical flow would be like this :

[Node A]                                                                      [Node B]
   |==========TCP Connection Establish=========>|
   |---------------------- Request 1 (SOAP) --------------------->|
   |<-------------------- Response 1 (SOAP)---------------------|
   |<-------------------- Request 2 (SOAP) -----------------------|
   |---------------------- Response 2 (SOAP)------------------->|
   |==========X TCP Connection Closure X========|

Here you can notice that a TCP connection is established first,
SOAP messages are exchanged back and forth, request can be
sent by either node.  

I have these questions :

1. Most of the literature I have gone through talks of
SOAP for RPC based applications. Can I use SOAP for
a non-RPC kind of application (for instance purely
for peer-2-peer message  transfer as explained above -
where within the same TCP session multiple request/response
messages are exchanged back and forth.)

2. Is there any License free SOAP framework that allows
me to build a SOAP client cum server to achieve the above.

I would be grateful if you can suggest a way out.
Thanks in advance.

Best regards,
S.Girisa.

***********************  FSS-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Flextronics Software 
Systems Limited (FSS) and is intended solely for the use of the  
individual to whom it is addressed. It may contain  privileged or 
confidential information and should not be circulated or used for 
any purpose other than for what it is intended. If you have received 
this message in  error, please notify the originator immediately. 
If you are not the intended recipient, you are notified that you are
strictly  prohibited  from  using, copying, altering, or disclosing
the contents of this message.  FSS  accepts no  responsibility  for
loss or damage arising from the use of  the information transmitted
by this email including damage from virus."




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS