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/i...@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/i...@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/i...@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
