Re: How to OR where to read it

David Parsons1 <[email protected]> Fri, 23 Jul 2010 11:30:15 +0100
Newsgroups gmane.comp.apache.webservices.fx.devel
Message-ID <OF42F57721.5DBC5AC3-ON80257769.0037DBCA-80257769.0039B3F5@uk.ibm.com>
--=_alternative 00380D6A80257769_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

Sorry again i'm not sure what your asking.  WS-RM describes how to 
reliably send messages.  It's purpose is to take SOAP messages as they are 
i.e. as sent by a client or service and deliver them unchanged but 
reliably (resend if message gets lost in transit).   The spec does not 
describe how to split large messages and reassemble them transparently to 
the client or service.

Dave

Dave Parsons
Web Services Development
INTERNAL:  David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930
EXTERNAL:  [email protected] :: (01962) 816930
Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN




From:
venkov <[email protected]>
To:
[email protected]
Date:
22/07/2010 15:27
Subject:
Re: How to OR where to read it




Hi again,
Thanks for the answer!
I have another question about WSRM!

At first when i read the idea of RM, I thought that
i have a web service, witch return a big object, and a client, whose
parameters are big!
And when they communicate the params from the client and the return object
will be divided on smaller pieces, which when successfully transmitted 
over
the network on the other side
will be combined and used!

But all the examples i met, the RM is more like a package of web services, 
i
mean 
after establishing connection(Sequence) i use one web service, it return
something, after that i use another, it returns, and so one until i say
LastMassege and terminate the sequence!

My question is: Is my first idea possible?



David Parsons1 wrote:
> 
> Hi,
> 
> I think I understand now.  Sandesha doesn't have a mechanism to split up 

> large SOAP messages and send them as many smaller ones.  This would have 

> to be done by your application.  One thing Sandesha does do which may be 

> of interest is guarantee delivery in the order they were sent by the 
> application.
> 
> Dave
> 
> 
> 
> Dave Parsons
> Web Services Development
> INTERNAL:  David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930
> EXTERNAL:  [email protected] :: (01962) 816930
> Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN
> 
> 
> 
> 
> From:
> venkov <[email protected]>
> To:
> [email protected]
> Date:
> 21/07/2010 14:35
> Subject:
> Re: How to OR where to read it
> 
> 
> 
> 
> Thanks for the quick response, David.
> I will try explain my self with 2 examples:
> 
> we have client and web service both support WSRM!
> 
> the client send a request, single soap, with text in its body!
> the text may be small or huge!
> so can be this text split in more than one SOAPs numerated:
> 
> <MessageNumber>1<MessageNumber/>
> <MessageNumber>2<MessageNumber/>
> <MessageNumber>..<MessageNumber/>
> <MessageNumber>N<MessageNumber/>
> 
> by the sandesha2 module or i must make thoose MSGs by myself!
> 
> =============================================
> 
> I have read that if i wand an old service to support WSRM i only must 
add 
> <module ref="sandesha2"/>
> in the services.xml
> so i did it!
> Every thing is perfect, but if this web service return a big message
> i prefer it to be split to parts:
> 
> <MessageNumber>1<MessageNumber/>
> <MessageNumber>2<MessageNumber/>
> <MessageNumber>..<MessageNumber/>
> <MessageNumber>N<MessageNumber/>
> 
> witch is part of the WSRM.
> but i cound not find how to do this.
> 
> 
> David Parsons1 wrote:
>> 
>> Hi,
>> 
>> I'm not quite sure what you are asking. 
>> 
>> Are you asking whether Sandesha can duplicate the clients soap messages 

>> and send them as new messages?  If so the answer is no.  Sandesha has 
no 
> 
>> control on what application messages need to be sent, these would be 
>> generated by the webservice or client.  Sandesha is an implementation 
of 
> 
>> the WS-Reliable Messaging specification that defines how to reliably 
>> deliver application messages.  Sandesha runs as a module in Axis2  so 
> that 
>> when added intercepts application messages before they hit the wire or 
>> before they are passed onto their desired destination (e.g. a 
> webservice). 
>>  Under the covers and transparent to the client and webservice Sandesha 

>> will send protocol messages and add headers to the application message 
> so 
>> that Sandesha can maintain state of the delivery of the specific 
>> application message.  Sandesha may re-deliver a duplicate of the 
>> application message if acknowledgement of the delivery to the 
> destination 
>> hasn't been sent by Sandesha at the destination end.  At the 
destination 
> 
>> end Sandesha will also block duplicate application messages that may 
>> arrive that have already been processed.
>> 
>> Hope this helps,
>> 
>> Dave
>> 
>> 
>> 
>> Dave Parsons
>> Web Services Development
>> INTERNAL:  David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930
>> EXTERNAL:  [email protected] :: (01962) 816930
>> Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN
>> 
>> 
>> 
>> 
>> From:
>> venkov <[email protected]>
>> To:
>> [email protected]
>> Date:
>> 21/07/2010 12:11
>> Subject:
>> How to OR where to read it
>> 
>> 
>> 
>> 
>> Hello,
>> I am new to sandesha2 and axis2
>> i am trying to figure it out.
>> 
>> But i cound not found any info about:
>> 
>> 1.Is it possible sandesha to divide soap body only by itself!
>> I have a web service and a client! They generate soap messages!
>> But the messages are only 
>> <MessageNumber>1<MessageNumber/>
>> <LastMessage/>
>> I made a client witch specifically sends many messages, but is there
>> automatic way!
>> 
>> 
>> -- 
>> View this message in context: 
>> 
> 
http://old.nabble.com/How-to-OR-where-to-read-it-tp29224385p29224385.html
>> Sent from the Apache Sandesha mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with 
number 
> 
>> 741598. 
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 
> 3AU
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> View this message in context: 
> 
http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29225800.html

> 
> Sent from the Apache Sandesha mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number 

> 741598. 
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 
3AU
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29237515.html

Sent from the Apache Sandesha mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]









Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






--=_alternative 00380D6A80257769_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">Sorry again i'm not sure what your asking.
&nbsp;WS-RM describes how to reliably send messages. &nbsp;It's purpose
is to take SOAP messages as they are i.e. as sent by a client or service
and deliver them unchanged but reliably (resend if message gets lost in
transit). &nbsp; The spec does not describe how to split large messages
and reassemble them transparently to the client or service.</font>
<br>
<br><font size=2 face="sans-serif">Dave</font>
<br>
<br><font size=2 face="sans-serif">Dave Parsons<br>
Web Services Development<br>
INTERNAL: &nbsp;David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930<br>
EXTERNAL: &nbsp;[email protected] :: (01962) 816930<br>
Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">venkov &lt;[email protected]&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">[email protected]</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">22/07/2010 15:27</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: How to OR where to read it</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><br>
Hi again,<br>
Thanks for the answer!<br>
I have another question about WSRM!<br>
<br>
At first when i read the idea of RM, I thought that<br>
i have a web service, witch return a big object, and a client, whose<br>
parameters are big!<br>
And when they communicate the params from the client and the return object<br>
will be divided on smaller pieces, which when successfully transmitted
over<br>
the network on the other side<br>
will be combined and used!<br>
<br>
But all the examples i met, the RM is more like a package of web services,
i<br>
mean <br>
after establishing connection(Sequence) i use one web service, it return<br>
something, after that i use another, it returns, and so one until i say<br>
LastMassege and terminate the sequence!<br>
<br>
My question is: Is my first idea possible?<br>
<br>
<br>
<br>
David Parsons1 wrote:<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; I think I understand now. &nbsp;Sandesha doesn't have a mechanism
to split up <br>
&gt; large SOAP messages and send them as many smaller ones. &nbsp;This
would have <br>
&gt; to be done by your application. &nbsp;One thing Sandesha does do which
may be <br>
&gt; of interest is guarantee delivery in the order they were sent by the
<br>
&gt; application.<br>
&gt; <br>
&gt; Dave<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Dave Parsons<br>
&gt; Web Services Development<br>
&gt; INTERNAL: &nbsp;David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930<br>
&gt; EXTERNAL: &nbsp;[email protected] :: (01962) 816930<br>
&gt; Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; From:<br>
&gt; venkov &lt;[email protected]&gt;<br>
&gt; To:<br>
&gt; [email protected]<br>
&gt; Date:<br>
&gt; 21/07/2010 14:35<br>
&gt; Subject:<br>
&gt; Re: How to OR where to read it<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Thanks for the quick response, David.<br>
&gt; I will try explain my self with 2 examples:<br>
&gt; <br>
&gt; we have client and web service both support WSRM!<br>
&gt; <br>
&gt; the client send a request, single soap, with text in its body!<br>
&gt; the text may be small or huge!<br>
&gt; so can be this text split in more than one SOAPs numerated:<br>
&gt; <br>
&gt; &lt;MessageNumber&gt;1&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;2&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;..&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;N&lt;MessageNumber/&gt;<br>
&gt; <br>
&gt; by the sandesha2 module or i must make thoose MSGs by myself!<br>
&gt; <br>
&gt; =============================================<br>
&gt; <br>
&gt; I have read that if i wand an old service to support WSRM i only must
add <br>
&gt; &lt;module ref=&quot;sandesha2&quot;/&gt;<br>
&gt; in the services.xml<br>
&gt; so i did it!<br>
&gt; Every thing is perfect, but if this web service return a big message<br>
&gt; i prefer it to be split to parts:<br>
&gt; <br>
&gt; &lt;MessageNumber&gt;1&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;2&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;..&lt;MessageNumber/&gt;<br>
&gt; &lt;MessageNumber&gt;N&lt;MessageNumber/&gt;<br>
&gt; <br>
&gt; witch is part of the WSRM.<br>
&gt; but i cound not find how to do this.<br>
&gt; <br>
&gt; <br>
&gt; David Parsons1 wrote:<br>
&gt;&gt; <br>
&gt;&gt; Hi,<br>
&gt;&gt; <br>
&gt;&gt; I'm not quite sure what you are asking. <br>
&gt;&gt; <br>
&gt;&gt; Are you asking whether Sandesha can duplicate the clients soap
messages <br>
&gt;&gt; and send them as new messages? &nbsp;If so the answer is no. &nbsp;Sandesha
has no <br>
&gt; <br>
&gt;&gt; control on what application messages need to be sent, these would
be <br>
&gt;&gt; generated by the webservice or client. &nbsp;Sandesha is an implementation
of <br>
&gt; <br>
&gt;&gt; the WS-Reliable Messaging specification that defines how to reliably
<br>
&gt;&gt; deliver application messages. &nbsp;Sandesha runs as a module
in Axis2 &nbsp;so <br>
&gt; that <br>
&gt;&gt; when added intercepts application messages before they hit the
wire or <br>
&gt;&gt; before they are passed onto their desired destination (e.g. a
<br>
&gt; webservice). <br>
&gt;&gt; &nbsp;Under the covers and transparent to the client and webservice
Sandesha <br>
&gt;&gt; will send protocol messages and add headers to the application
message <br>
&gt; so <br>
&gt;&gt; that Sandesha can maintain state of the delivery of the specific
<br>
&gt;&gt; application message. &nbsp;Sandesha may re-deliver a duplicate
of the <br>
&gt;&gt; application message if acknowledgement of the delivery to the
<br>
&gt; destination <br>
&gt;&gt; hasn't been sent by Sandesha at the destination end. &nbsp;At
the destination <br>
&gt; <br>
&gt;&gt; end Sandesha will also block duplicate application messages that
may <br>
&gt;&gt; arrive that have already been processed.<br>
&gt;&gt; <br>
&gt;&gt; Hope this helps,<br>
&gt;&gt; <br>
&gt;&gt; Dave<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Dave Parsons<br>
&gt;&gt; Web Services Development<br>
&gt;&gt; INTERNAL: &nbsp;David Parsons1/UK/IBM@IBMGB :: DE3F20 :: 246930<br>
&gt;&gt; EXTERNAL: &nbsp;[email protected] :: (01962) 816930<br>
&gt;&gt; Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; From:<br>
&gt;&gt; venkov &lt;[email protected]&gt;<br>
&gt;&gt; To:<br>
&gt;&gt; [email protected]<br>
&gt;&gt; Date:<br>
&gt;&gt; 21/07/2010 12:11<br>
&gt;&gt; Subject:<br>
&gt;&gt; How to OR where to read it<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Hello,<br>
&gt;&gt; I am new to sandesha2 and axis2<br>
&gt;&gt; i am trying to figure it out.<br>
&gt;&gt; <br>
&gt;&gt; But i cound not found any info about:<br>
&gt;&gt; <br>
&gt;&gt; 1.Is it possible sandesha to divide soap body only by itself!<br>
&gt;&gt; I have a web service and a client! They generate soap messages!<br>
&gt;&gt; But the messages are only <br>
&gt;&gt; &lt;MessageNumber&gt;1&lt;MessageNumber/&gt;<br>
&gt;&gt; &lt;LastMessage/&gt;<br>
&gt;&gt; I made a client witch specifically sends many messages, but is
there<br>
&gt;&gt; automatic way!<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; -- <br>
&gt;&gt; View this message in context: <br>
&gt;&gt; <br>
&gt; </font></tt><a href="http://old.nabble.com/How-to-OR-where-to-read-it-tp29224385p29224385.html"><tt><font size=2>http://old.nabble.com/How-to-OR-where-to-read-it-tp29224385p29224385.html</font></tt></a><tt><font size=2><br>
&gt;&gt; Sent from the Apache Sandesha mailing list archive at Nabble.com.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; ---------------------------------------------------------------------<br>
&gt;&gt; To unsubscribe, e-mail: [email protected]<br>
&gt;&gt; For additional commands, e-mail: [email protected]<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Unless stated otherwise above:<br>
&gt;&gt; IBM United Kingdom Limited - Registered in England and Wales with
number <br>
&gt; <br>
&gt;&gt; 741598. <br>
&gt;&gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 <br>
&gt; 3AU<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; View this message in context: <br>
&gt; </font></tt><a href="http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29225800.html"><tt><font size=2>http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29225800.html</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; Sent from the Apache Sandesha mailing list archive at Nabble.com.<br>
&gt; <br>
&gt; <br>
&gt; ---------------------------------------------------------------------<br>
&gt; To unsubscribe, e-mail: [email protected]<br>
&gt; For additional commands, e-mail: [email protected]<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Unless stated otherwise above:<br>
&gt; IBM United Kingdom Limited - Registered in England and Wales with
number <br>
&gt; 741598. <br>
&gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 3AU<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
<br>
-- <br>
View this message in context: </font></tt><a href="http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29237515.html"><tt><font size=2>http://old.nabble.com/How-to-OR-where-to-read-it--sandesha2-tp29224385p29237515.html</font></tt></a><tt><font size=2><br>
Sent from the Apache Sandesha mailing list archive at Nabble.com.<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: [email protected]<br>
For additional commands, e-mail: [email protected]<br>
<br>
</font></tt>
<br>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
<br>
</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>
--=_alternative 00380D6A80257769_=--