Here's the message from Mozilla that elicits the failure:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xs="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<env:Header/>
<env:Body>
<a0:sendDateTime xmlns:a0="urn:Date">
<a0:dateTime xsi:type="xs:dateTime">2003-12-28T12:21:01.0Z</a0:dateTime>
</a0:sendDateTime>
</env:Body>
</env:Envelope>
And here the message from Axis client that works:
<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:sendDateTime soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:Date">
<dateTime xsi:type="xsd:dateTime">2003-12-30T03:28:33.211Z</dateTime>
</ns1:sendDateTime>
</soapenv:Body>
</soapenv:Envelope>
Major differences that I can see:
1.) Mozilla sets the encodingStyle at the envelope level; Axis does it for at the method level.
2.) Mozilla prefixes the parameter name with the identifier for the method (the method namespace); Axis doesn't .
3.) Mozilla inserts an empty <env:Header/>
These three observations are true for similar method invocations that take a single XML Schema "date" object parameter. Those work fine. I wonder what the difference is?
Chuck
Steffen Mayer wrote:
Hi,
i use only 1.1, i've never tested 1.2.
i have this problem only with a Delphi Client, when I have a dateTime packed in a complex object. In all other cases it works fine.
so, this should be not a bug... in my point of view
Steffen
