If your schema says the type should be soapenc:string, but you send xsd:string, then Axis must send the xsi:type information (because you are changing the type). If you send the type defined in the schema, then the xsi:type information isn't required.

Anne

On 11/16/05, Christian Schmitz <[EMAIL PROTECTED]> wrote:
Hello,

the parameter sendXsiTypes in the AXIS configuration says that the type
of every value will be sent over the wire. If I have an element with a
Soapencoding Type in my Type-Definition, I can see that the xsi:type is
send in every SOAP message

<xsd:element name="testElem" nillable="false"  type="soapenc:string" />
sends something like this: <testElem xsi:type="xsd:string">test</testElem>

But it will not be send if my element type is set to a xsd:string

<xsd:element name="isLeerwertsuche" nillable="false"  type="xsd:string" />
sends something like this: <testElem>test</testElem>

Is this correct? I expected to get the xsi:type in the last case, too.

Regards,
Christian Schmitz



Reply via email to