You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nelson Minar <ne...@monkey.org> on 2004/04/07 04:49:13 UTC

Axis 1.2 beta - sendXsiType no longer works?

I'm testing Axis 1.2 beta and ran into a problem so simple I wondered
if I'm doing something wrong. Can someone else try this and confirm it?

In the server-config.wsdd I have this:
  <parameter name="sendXsiTypes" value="false"/>

In Axis 1.1 all is well, no types included. But in Axis 1.2 it is
still sending types. See below for a response from the getVersion() call:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:getVersionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://localhost:8000/demo/Version">
   <getVersionReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Apache Axis version: 1.2beta
Built on Mar 31, 2004 (12:47:03 EST)</getVersionReturn>
  </ns1:getVersionResponse>
 </soapenv:Body>
</soapenv:Envelope>

Re: Axis 1.2 beta - sendXsiType no longer works?

Posted by Nelson Minar <ne...@monkey.org>.
>Please log a bug (http://issues.apache.org/jira)

Filed as bug AXIS-1294
  http://nagoya.apache.org/jira/browse/AXIS-1294

Re: Axis 1.2 beta - sendXsiType no longer works?

Posted by Davanum Srinivas <di...@yahoo.com>.
Nelson,

Please log a bug (http://issues.apache.org/jira)

thanks,
dims

--- Nelson Minar <ne...@monkey.org> wrote:
> I'm testing Axis 1.2 beta and ran into a problem so simple I wondered
> if I'm doing something wrong. Can someone else try this and confirm it?
> 
> In the server-config.wsdd I have this:
>   <parameter name="sendXsiTypes" value="false"/>
> 
> In Axis 1.1 all is well, no types included. But in Axis 1.2 it is
> still sending types. See below for a response from the getVersion() call:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  <soapenv:Body>
>   <ns1:getVersionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="http://localhost:8000/demo/Version">
>    <getVersionReturn xsi:type="soapenc:string"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Apache Axis version: 1.2beta
> Built on Mar 31, 2004 (12:47:03 EST)</getVersionReturn>
>   </ns1:getVersionResponse>
>  </soapenv:Body>
> </soapenv:Envelope>


=====
Davanum Srinivas - http://webservices.apache.org/~dims/