I can't get it to work properly with Axis 1.1. I have the following in the server-config.wsdd file:

 <parameter name="sendXsiTypes" value="false"/>
 <parameter name="sendXMLDeclaration" value="false"/>

I enter java org.apache.axis.client.AdminClient list, and the above settings are returned

But then when I invoke a web service, I get type attributes and the XML declaration in the SOAP messages.

I tried setting the WSDD parameters in the global as well as the service-specific sections of the file, and either way they have no effect.

I'm running Tomcat 4.1.24 and Axis 1.1



From: Nelson Minar <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Axis 1.2 beta - sendXsiType no longer works?
Date: Tue, 6 Apr 2004 19:49:13 -0700

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>

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/




Reply via email to