I've moved my web services from Tomcat/Windows to Tomcat/Linux and the
samples now work fine. I have no idea yet why they didn't work on Windows
though no doubt someone will helpfully respond with a diatribe about Windows
;-)
From: "Jarmo Doc" <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Sample calculator cannot deserialize int
Date: Wed, 24 Aug 2005 09:16:48 -0700
Given the other problems I've been having with Axis 1.2.1 final on Tomcat
5.5.9, I decided to go back to basics and test the sample calculator
program. It fails to run, as follows:
SAXException: Deserializing parameter 'op1': could not find deserializer
for type {http://www.w3.org/2001/XMLSchema}int
I note in the calculator client source that it expects 'op1' to be of type
XMLType.XSD_INT and the WSDL auto-generated by Axis returned the following:
<wsdl:message name="addRequest">
<wsdl:part name="i1" type="xsd:int" />
<wsdl:part name="i2" type="xsd:int" />
</wsdl:message>
I followed the instructions at
http://ws.apache.org/axis/java/user-guide.html for this. Why does it fail?
PS I am using JDK 1.4.2_05.
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement