[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SOAP for non-RPC messaging application


rpc messaging

 IMPORTANT: HUGHES SOFTWARE SYSTEMS LTD. (HSS) IS NOW FLEXTRONICS SOFTWARE SYSTEMS LTD. (FSS)

Hello,


Thanks for your earlier response.

Starting from HTTP/1.1, there is now a support for "persistent" HTTP connections
where a server/client can decide to close the underlying transport (TCP) explicitly
(by including `Close' connection tag in Connection header) otherwise it is assumed
that underlying TCP connection would remain allowing multiple request/responses
to be exchanged on the same connection.  My requirement will be fulfilled if any open
source SOAP framework allows me to build a SOAP client/server pairs that exchange
SOAP messages on persistent HTTP connections. Of course, the assumption here is
that both ends support HTTP/1.1.

Thanks and best regards,
Sapta Girisa.



"Chiusano Joseph" <chiusano_joseph@b...>

03/31/2005 06:45 PM

To
N Sapta Girisa/HSS@HSS, <xml-dev@l...>
cc
Subject
RE: SOAP for non-RPC messaging application





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 http://www.w3.org/TR/soap12-part2/#datamodel, 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.
 
[1] http://www.webservices.org/index.php/ws/content/view/full/47407
[2] http://www.w3.org/TR/soap12-part2/#soapsupmep
[3] http://www.w3.org/TR/wsdl#_one-way
 
Kind Regards,
Joseph Chiusano
Booz Allen Hamilton
Visit us online@ http://www.boozallen.com/
 


From: saptagirisa.n@f... [mailto:saptagirisa.n@f...]
Sent:
Thursday, March 31, 2005 2:05 AM
To:
xml-dev@l...
Subject:
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."




***********************  FSS-Restricted   ***********************
"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."

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.