Hi Dennis, Thanks for your reply. I know how configure the client to send envelope without xsi types : call.setOption(AxisEngine.PROP_SEND_XSI, new Boolean("false"));
I just would like to know if we take the decision to authorize the client to send envelope without xsi types towards our Axis Server (the client will not be an Axis Client but a Microsoft client) ...if it's a good solution or if it can bring some problems... Thanks for your warning about the bug with the multihref... we don't use the multihref (the property is set to false in the server-config.wsdd) so there is no problem in our configuration, isn't it??? Do you know if it can work (no xsi type) with GLUE Server or Apache SOAP Server? And a last question.. if we set the PROP_SEND_XSI to false in our Axis Client (that we use to test our service in Axis server) we noticed that some types in the envelope can contain the xsi types .... For example in the case of the Array type ..is it for fix the size during the deserialization? Best regards, Agnes ----- Original Message ----- From: "Dennis Sosnoski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 8:07 PM Subject: Re: property PROP_SEND_XSI > Hi Agnes, > > Many older SOAP implementations require the types to be present, though > with others (such as .NET) the default is to not use the types. Axis > includes support for generating SOAP without the xsi types, but you have > to configure it to operate this way. As far as I know, the normal way of > doing this is through the sendXsiTypes parameter in the configuration - > I'll paste in an example of a client-side WSDD that does this below. > > That said, there was a problem in the handling of objects being passed > with sendXsiTypes=false > (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15219). This was just > corrected in the CVS code yesterday, so the fix should be included in > the latest nightly build. I haven't tested it yet, will try to do that > later today. > > - Dennis > > Dennis M. Sosnoski > Sosnoski Software Solutions, Inc. > http://www.sosnoski.com > > client-config.wsdd example with sendXsiTypes=false: > > <?xml version="1.0" encoding="UTF-8"?> > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > <globalConfiguration> > <parameter name="sendXsiTypes" value="false"/> > </globalConfiguration> > <transport name="http" > pivot="java:org.apache.axis.transport.http.HTTPSender"/> > <transport name="java" > pivot="java:org.apache.axis.transport.java.JavaSender"/> > <transport name="local" > pivot="java:org.apache.axis.transport.local.LocalSender"/> > <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > type="java:flightsraw.TimeTableBean" qname="ns1:TimeTableBean" > xmlns:ns1="http://flightsraw"/> > <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > type="java:flightsraw.CarrierBean" qname="ns2:CarrierBean" > xmlns:ns2="http://flightsraw"/> > <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > type="java:flightsraw.AirportBean" qname="ns3:AirportBean" > xmlns:ns3="http://flightsraw"/> > <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > type="java:flightsraw.RouteBean" qname="ns4:RouteBean" > xmlns:ns4="http://flightsraw"/> > <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > type="java:flightsraw.FlightBean" qname="ns5:FlightBean" > xmlns:ns5="http://flightsraw"/> > </deployment> > > BOURLON Agnès wrote: > > >Hello, > > > >I would like to know if a service Axis can work with the property > >PROP_SEND_XSI =false > >If yes, I don't understand what is the advantage to use the xsi types in the > >envelope? > >Thanks in adavance, > >Agnes > > > >___________________________________________________________ > >Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > >Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com