Sorry, posted the message without completing it
again.
Hi,
I'm using xfire 1.2.3, and I have some strange problems, with the parsing of
an elemente of type double.
My 2 services are:
1) a simple addMethod
2) an multiple add method that is solved and answered by e-mail
Here are my messages and the response:
Service (1)
----------------------------------------------------------------------------
<soapenv:Envelope .....>
<soapenv:Body>
<cal:add>
<cal:sum1>aaa</cal:sum1>
<cal:sum2>12</cal:sum2>
</cal:add>
</soapenv:Body>
</soapenv:Envelope>
Response OK:
<soap:Envelope ....>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>For input string: "aaa"</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Service (2)
----------------------------------------------------------------------------
<soapenv:Envelope ...>
<soapenv:Body>
<cal:addLater>
<cal:email>[EMAIL PROTECTED]</cal:email>
<cal:AddList>
<!--1 or more repetitions:-->
<cal:add>
<cal:sum1>aaa</cal:sum1>
<cal:sum2>22</cal:sum2>
</cal:add>
</cal:AddList>
</cal:addLater>
</soapenv:Body>
</soapenv:Envelope>
xfire (or whatever part of it) accepts aaa as a number and I receive it with
value 0,
in the WSDL's schema the add element is defined
with the type AddElement
<xsd:complexType name="AddElement">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="sum1"
type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="1" name="sum2"
type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
Any idea, what I'm missing, or where the problem is
Thanks in advance
tonio
--
View this message in context:
http://www.nabble.com/xml-parser-not-checking-types-correctly-tf3494157.html#a9759678
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email