axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dipty Maybhate" <Dipty_Maybh...@messageone.com>
Subject Please need some urgent help on java Exception JAXRPCTIE01
Date Mon, 27 Jun 2005 22:38:49 GMT
 

Hi,

 

 

I have written a client to invoke a few services. I created the stubs
using WSDL2Java and called a test program using the files created. It
generates the stack trace as follows

I am passing all the parameters; none is blank and is of the same type
as mentioned in the WSDL.

 

 

In cancel notification..

AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client

 faultSubcode:

 faultString: JAXRPCTIE01: caught exception while handling request:
deserializat

ion error: java.lang.NumberFormatException: For input string:
&quot;&quot;

 faultActor:

 faultNode:

 faultDetail:

        {http://xml.apache.org/axis/}stackTrace:JAXRPCTIE01: caught
exception wh

ile handling request: deserialization error:
java.lang.NumberFormatException: Fo

r input string: &quot;&quot;

        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder

.java:221)

        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.

java:128)

        at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ

ationContext.java:1087)

        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme

nt(AbstractSAXParser.java:633)

        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan

EndElement(XMLNSDocumentScannerImpl.java:713)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java
:1685)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:834)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)

        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)

        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab

stractSAXParser.java:1242)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

        at
org.apache.axis.encoding.DeserializationContext.parse(Deserialization

Context.java:227)

        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)

        at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j

ava:796)

        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

 

        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

y.java:32)

        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)

        at org.apache.axis.client.Call.invoke(Call.java:2748)

        at org.apache.axis.client.Call.invoke(Call.java:2424)

        at org.apache.axis.client.Call.invoke(Call.java:2347)

        at org.apache.axis.client.Call.invoke(Call.java:1804)

        at
com.messageone.af.wsdl.AlertFindNotificationService.AlertFindNotifica

tionServiceBindingStub.cancelNotification(AlertFindNotificationServiceBi
ndingStu

b.java:412)

        at Tester.cancelNotification(Tester.java:126)

        at Tester.runTest(Tester.java:42)

        at Tester.main(Tester.java:52)

 

        {http://xml.apache.org/axis/}hostname:Schmoe

 

JAXRPCTIE01: caught exception while handling request: deserialization
error: jav

a.lang.NumberFormatException: For input string: ""

        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder

.java:221)

        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.

java:128)

        at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ

ationContext.java:1087)

        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme

nt(AbstractSAXParser.java:633)

        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan

EndElement(XMLNSDocumentScannerImpl.java:713)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java
:1685)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:834)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)

        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)

        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab

stractSAXParser.java:1242)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

        at
org.apache.axis.encoding.DeserializationContext.parse(Deserialization

Context.java:227)

        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)

        at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j

ava:796)

        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

 

        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

y.java:32)

        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)

        at org.apache.axis.client.Call.invoke(Call.java:2748)

        at org.apache.axis.client.Call.invoke(Call.java:2424)

        at org.apache.axis.client.Call.invoke(Call.java:2347)

        at org.apache.axis.client.Call.invoke(Call.java:1804)

        at
com.messageone.af.wsdl.AlertFindNotificationService.AlertFindNotifica

tionServiceBindingStub.cancelNotification(AlertFindNotificationServiceBi
ndingStu

b.java:412)

        at Tester.cancelNotification(Tester.java:126)

        at Tester.runTest(Tester.java:42)

        at Tester.main(Tester.java:52) 

 

 

Can anyone please give me a hint to solve this problem? I am very new to
Axis and I am very confused with this trace.

Thanks a lot!


Mime
View raw message