axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shakeel Muhammad" <mrshak...@elm.mt.att.com>
Subject Is XML Schema 2001 integer supported?
Date Wed, 14 May 2003 17:01:51 GMT
Hi,
 
Does Apache Axis support XML Schema 2001 integer type?
 
-Shakeel
pls see problem below that I am facing.
 
-----Original Message-----
From: Shakeel Muhammad [mailto:mrshakeel@elm.mt.att.com] 
Sent: Monday, May 12, 2003 4:50 PM
To: axis-user@ws.apache.org
Subject: Need Help : Bad types (class java.math.BigInteger -> int)
 
Hi,
 
Here is wsdl file of one web-service (SOAP server runs on
Perl-SOAP::Lite).  
 
http://www.apniurdu.com/SOAP/Urdu2.wsdl
 
I generated code using wsdl-2-java utility of Axis and when I tried to
run I got following long exceptions......
 
Also at the end, I have Apache SOAP RPC Exceptions mentioned too.
 
Thanks & Regards
-Shakeel
 
*********     Apache AXIS    ******************
May 10, 2003 3:48:43 PM org.apache.axis.client.Call invoke SEVERE:
Exception: 
org.xml.sax.SAXException: Bad types (class java.math.BigInteger -> int)
at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311) at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese 
rializationContextImpl.java:949) at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:198) at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen 
t.java:718) at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232) at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:346) at 
org.apache.axis.client.Call.invoke(Call.java:2234) at 
org.apache.axis.client.Call.invoke(Call.java:2133) at 
org.apache.axis.client.Call.invoke(Call.java:1656) at 
com.apniurdu.SOAP.Urdu2_wsdl.ApniUrduBindingStub.getWords(ApniUrduBin 
dingStub.java:127) at
com.apniurdu.SOAP.Urdu2_wsdl.Main.main(Main.java:14) 
AxisFault faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
<http://schemas.xmlsoap.org/soap/envelope/%7dServer.userException>
faultSubcode: 
faultString: org.xml.sax.SAXException: Bad types (class
java.math.BigInteger -& 
gt; int) faultActor: faultNode: faultDetail: 
{http://xml.apache.org/axis/}stackTrace
<http://xml.apache.org/axis/%7dstackTrace> : org.xml.sax.SAXException:
Bad t ypes 
(class java.math.BigInteger -&gt; int) at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311) at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese 
rializationContextImpl.java:949) at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:198) at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen 
t.java:718) at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232) at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:346) at 
org.apache.axis.client.Call.invoke(Call.java:2234) at 
org.apache.axis.client.Call.invoke(Call.java:2133) at 
org.apache.axis.client.Call.invoke(Call.java:1656) at 
com.apniurdu.SOAP.Urdu2_wsdl.ApniUrduBindingStub.getWords(ApniUrduBin 
dingStub.java:127) at
com.apniurdu.SOAP.Urdu2_wsdl.Main.main(Main.java:14)
org.xml.sax.SAXException: Bad types (class java.math.BigInteger -> int)
at 
org.apache.axis.AxisFault.makeFault(AxisFault.java:129) at 
org.apache.axis.client.Call.invoke(Call.java:2237) at 
org.apache.axis.client.Call.invoke(Call.java:2133) at 
org.apache.axis.client.Call.invoke(Call.java:1656) at 
com.apniurdu.SOAP.Urdu2_wsdl.ApniUrduBindingStub.getWords(ApniUrduBin 
dingStub.java:127) at
com.apniurdu.SOAP.Urdu2_wsdl.Main.main(Main.java:14) 
Caused by: org.xml.sax.SAXException: Bad types (class
java.math.BigInteger -> in 
t) at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311) at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese 
rializationContextImpl.java:949) at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:198) at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen 
t.java:718) at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232) at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:346) at 
org.apache.axis.client.Call.invoke(Call.java:2234) ... 4 more
 
 
*********     Apache SOAP    ******************
SOAP [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer
found to 
deserial ize a &apos;http://www.w3.org/2001/XMLSchema:integer&apos;
using 
encoding style &apos;http://schemas.xmlsoap.org/soap/encoding/&apos;.; 
targetException=java.lan g.IllegalArgumentException: No Deserializer
found to deserialize a 'http://www.w <http://www.w/>
3.org/2001/XMLSchema:integer' using encoding style
'http://schemas.xmlsoap.org/s oap/encoding/'.] at 
org.apache.soap.rpc.Call.invoke(Call.java:294) at 
urduwordrpc2.UrduWordSOAPClient.main(UrduWordSOAPClient.java:51)
 
 
 
 

Mime
View raw message