Hi Nandana, A Sandesha RM 1.1 client to .NET RM 1.1 or 1.0 won't work.
The solution is to use a Sandesha RM 1.0 client to talk to your .NET RM 1.0 service. N.B - If your .NET RM 1.0 service is a oneway service you need to make sure your Sandesha RM 1.0 client is specifically defined to use a one way MEP. As for makeconnection, you cannot turn this off for a Sandesha RM 1.1 client. You have to use Sandesha RM 1.0 if you don't want to use makeConnection. Regards, Dave Dave Parsons Web Services Test INTERNAL: David Parsons1/UK/[EMAIL PROTECTED] :: DE3F20 :: 246930 EXTERNAL: [EMAIL PROTECTED] :: (01962) 816930 Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN "Nandana Mihindukulasooriya" <[EMAIL PROTECTED]> wrote on 20/08/2008 06:38:54: > [image removed] > > Re: [Sandesha2] Configuring Sandesha not to send an offer in the > create sequence > > Nandana Mihindukulasooriya > > to: > > David Parsons1 > > 20/08/2008 06:39 > > Cc: > > sandesha-dev > > Hi Dave, > Thanks for the info. Now I am using RM 1.1 . Now I am > facing a different problem. Now the Oneway operations work fine. > But in the case of ReplyRequest, the create sequence fails because > we are not sending an offer. > > "The request to create a reliable session has been refused by the RM > Destination. The create sequence request must contain an offer for a > return sequence" > > Do you know how to solve this problem ? I am using a Stub generated > by Axis2 codegen tool and the operation is correctly set as an OutIn > operation. > > And you know how to configure Sandesha not to send > <wsmc:MakeConnection xmlns:wsmc=" http://docs.oasis-open.org/ws-rx/wsmc/200702 > "> requests ? > > thanks, > nandana > On Mon, Aug 18, 2008 at 7:26 PM, David Parsons1 <[EMAIL PROTECTED]> wrote: > > Nandana, > > There is no way of turning offering off in sandesha. You could move > to RM 1.1 rather than 1.0 in sandesha and then offering will no > longer be used but this is not supported for interop with a WCF provider. > > I think the problem is that your service hosted by WCF is a oneway > service and therefore refuses to create the sequence if an offer has > been added to the createSeq request it receives. The solution is to > make sure your client has specified that it requires to do a one way > msg exchange protocol. For instance if you have a JAXWS dispatch > client you can call invokeOneWay rather than invoke. If you have a > JAXWS client that has been created using the provider services WSDL > you shouldn't see the problem. > > Regards, > > Dave > > > Dave Parsons > Web Services Test > INTERNAL: David Parsons1/UK/[EMAIL PROTECTED] :: DE3F20 :: 246930 > EXTERNAL: [EMAIL PROTECTED] :: (01962) 816930 > Mail Point 211, IBM Hursley Park, Winchester. SO21 2JN > > > "Nandana Mihindukulasooriya" <[EMAIL PROTECTED]> wrote on 13/08/ > 2008 14:24:47: > > > [image removed] > > > > [Sandesha2] Configuring Sandesha not to send an offer in the create sequence > > > > Nandana Mihindukulasooriya > > > > to: > > > > sandesha-dev > > > > 13/08/2008 14:29 > > > > Hi Devs, > > I am doing a single channel / in only web service invocation > > with Sandesha2 engaged at the client side and the server is WCF > > service. I have attached the create sequence request [1]. And from > > the .NET side, I am getting a exception " The request to create a > > reliable session has been refused by the RM Destination. The create > > sequence request must not contain an offer for a return sequence. > > This is likely caused by a binding mismatch. The channel could not > > be opened. ". > > > > Is there a way to tell Sandesha not to send the offer using client API ? > > > > thanks, > > nandana > > > > [1] - create sequence request > > > > <soapenv:Envelope xmlns:soapenv=" http://www.w3.org/2003/05/soap-envelope > "> > > <soapenv:Header> > > <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > http://interop.lk.wso2.com/ > > ReliableMessaging_Service_WSAddressing10_Indigo/OneWay.svc/ > > Reliable_Anonymous_Soap12_WSAddressing10_RM10</wsa:To> > > <wsa:MessageID xmlns:wsa=" http://www.w3.org/2005/08/addressing > > ">urn:uuid:515DB2ADE43CDDBB571218633466249</wsa:MessageID> > > <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing"> > > http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action> > > </soapenv:Header> > > <soapenv:Body> > > <wsrm:CreateSequence xmlns:wsrm="http:// > > schemas.xmlsoap.org/ws/2005/02/rm"> > > <wsrm:AcksTo> > > <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/addressing > "> > > http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> > > </wsrm:AcksTo> > > <wsrm:Offer> > > <wsrm:Identifier>urn:uuid: > > 515DB2ADE43CDDBB571218633466251</wsrm:Identifier> > > </wsrm:Offer> > > </wsrm:CreateSequence> > > </soapenv:Body> > > </soapenv:Envelope> > > > > -- > > Nandana Mihindukulasooriya > > WSO2 inc. > > > > http://nandana83.blogspot.com/ > > http://www.wso2.org > > > 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 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
