Hi Raymond, thanks, but that doesn't seem to make any difference, even after that change i still get the 1.2 namespace. Any other suggestions?
I was wondering how it was decided that the default would be SOAP 1.2? WS-I basic profile says only SOAP 1.1, so wouldn't having that as the default be better? ...ant On 1/11/06, Raymond Feng <[EMAIL PROTECTED]> wrote: > > Hi, > > I think there's a hack to force SOAP 1.1. > > You can change the constant of > "org.apache.tuscany.core.message.sdo.MessageElementPackage.eNS_URI" to be > "http://schemas.xmlsoap.org/soap/envelope/". > > Here are the namespaces for SOAP: > > SOAP 1.1: http://schemas.xmlsoap.org/soap/envelope/ > SOAP 1.2: http://www.w3.org/2003/05/soap-envelope > > Thanks, > > Raymond > > ----- Original Message ----- > From: "ant elder" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, January 11, 2006 4:14 AM > Subject: Re: Does Tuscany support SOAP 1.1? > > > Thanks for the reply Raymond. > > It would be good to also support SOAP 1.1 sooner rather than later. > There's > a lot of SOAP stacks that don't support 1.2 by default yet, and it will be > frustrating for people trying out Tuscany if the first thing they try > other > than the provided samples is using an existing service and that ends in > failure due to this restriction. > > Assuming that does happen eventually, any pointers to a hack I can make > for > now to use the 1.1 namespace by default? Changing the constant in the > constructor of o.a.t.binding.axis.mediator.impl.SOAPEnvelopeImpl seems to > be > ignored and deep within ecore XMLHelperImpl is getting the SOAP namespace > from the registry in o.e.e.e.util.BasicExtendedMetaData but I can't see > how > thats getting populated. > > Thanks, > > ...ant > > On 1/11/06, Raymond Feng <[EMAIL PROTECTED]> wrote: > > > > The current Tuscany WS support uses an XML info model for SOAP 1.2Schema > > to > > create SOAP 1.2 messages by default. There's no switch at this moment. > > > > Adding the support to produce SOAP 1.1 messages is not a big deal. The > > real > > question here is if we want to capture the requirement (like version=" > 1.1" > > or version="1.2") from the SCDL for web service binding so that the > > Tuscany > > runtime can act differently on the setting. I don't think such an > > attribute > > is defined by SCA 2.0 spec version 0.9. > > > > The WSDL SOAP binding doesn't have such information either. In Axis, the > > SOAP vesion is set a property on the Call object. > > > > Raymond Feng > > > > Raymond Feng Proud owner of www.enjoyjava.com The Cyber Cafeteria to > Enjoy > > Java! > > ----- Original Message ----- > > From: "ant elder" <[EMAIL PROTECTED] > > > To: <[email protected]> > > Sent: Tuesday, January 10, 2006 11:23 AM > > Subject: Does Tuscany support SOAP 1.1? > > > > > > The current Tuscany WS support uses SOAP 1.2 by default, is there a way > to > > say you want SOAP 1.1? > > > > ...ant > > > > > >
