Hello again :-), I have seen that there was a discussion in 2007 (http://www.nabble.com/Real-Asynchronous-WebServices-with-JMS-td9444247.html). Any update for this?
Thanks, Jens Jens Goldhammer wrote: > > Hello mailinglist, > > I have developed a webservice and a ws-client with the > first-contract-approach (wsdl2java). I am using async invocation in my > client and register a callback-handler with the simple http server. > Additionally, I am using sandesha2 for reliable messaging. If the server > is offline, the client always retries to create a sequence in certain > timespans... > > But what happens when the client will be terminated after the request and > I want to get the response message from the server. I think, the server > wants to resend the response, but how can I restore the needed callback > listener on client side to get these messages? > > Additionally, I have seen that ws-rm and ws-adressing put duplicate > information into the soap message. The replyTo is three times in the soap > message (one time in header, two times in body...). Is this the normal > way? > > ?xml version='1.0' encoding='UTF-8'?> > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:wsa="http://www.w3.org/2005/08/addressing"> > <soapenv:Header> > <wsse:Security > xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" > soapenv:mustUnderstand="1"> > <wsu:Timestamp > xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" > wsu:Id="Timestamp-31329118"> > <wsu:Created>2008-02-15T08:28:52.769Z</wsu:Created> > <wsu:Expires>2008-02-15T08:33:52.769Z</wsu:Expires> > </wsu:Timestamp> > <wsse:UsernameToken > xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" > wsu:Id="UsernameToken-4837279"> > <wsse:Username>alice</wsse:Username> > <wsse:Password > Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">cCSQ8aqtFI+l4/VHn5tUSlHajcA=</wsse:Password> > <wsse:Nonce>a1QwNsVlyu+iSqNUFqcarw==</wsse:Nonce> > <wsu:Created>2008-02-15T08:28:52.769Z</wsu:Created> > </wsse:UsernameToken> > </wsse:Security> > > <wsa:To>http://localhost:8002/esbQueueService/services/QueueService</wsa:To> > <wsa:ReplyTo> > > <wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService32519825</wsa:Address> > </wsa:ReplyTo> > > <wsa:MessageID>urn:uuid:D7F77CFA9F7CACA7181203064089348</wsa:MessageID> > > <wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence</wsa:Action> > </soapenv:Header> > <soapenv:Body> > <wsrm:CreateSequence > xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"> > <wsrm:AcksTo> > > <wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService32519825</wsa:Address> > </wsrm:AcksTo> > <wsrm:Offer> > > <wsrm:Identifier>urn:uuid:D7F77CFA9F7CACA7181203064089164</wsrm:Identifier> > <wsrm:Endpoint> > > <wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService32519825</wsa:Address> > </wsrm:Endpoint> > </wsrm:Offer> > </wsrm:CreateSequence> > </soapenv:Body> > </soapenv:Envelope>0 > > I hope, I have described my problem clearly enough. > Thanks, > Jens > > > > -- View this message in context: http://www.nabble.com/question-to-restore-callback-listener-after-crash-tp15496163p15496169.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
