[prev in list] [next in list] [prev in thread] [next in thread]
List: wsif-user
Subject: Error while trying to access WS
From: "vaibhav" <vaibhav () acsicorp ! com>
Date: 2005-01-17 14:22:07
Message-ID: 000b01c4fc9e$40f88e40$4801a8c0 () vaibhav
[Download RAW message or body]
I tried executing a WebService that is available at this location \
http://ws.netviagens.com/webservices/AirFares.asmx?wsdl Operation GetFares (SOAP).
I generate stubs in Axis and tried to execute using WSIF and get the following error
java.lang.NumberFormatException: Invalid positiveInteger: 0
at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:222)
at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:534)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1001)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:204)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.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 org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeAXISDocStyle(Unknown \
Source) at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown \
Source) at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown \
Source) at com.wos.runtime.wsif.WSIFDynClient.executeWebService(WSIFDynClient.java:525)
at com.wos.runtime.wsif.WSIFDynClient.invokeWebService(WSIFDynClient.java:468)
at com.wos.runtime.wsif.WSIFDynClient.main(WSIFDynClient.java:297)
Somebody please help with how to solve this error
--
Best Regards !
VAIBHAV PANDEY
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT face=Verdana color=#800080 size=2>
<DIV><BR> I tried executing a WebService that is available at this location
<A
href="http://ws.netviagens.com/webservices/AirFares.asmx?wsdl">http://ws.netviagens.com/webservices/AirFares.asmx?wsdl</A> \
Operation GetFares (SOAP).</DIV>
<DIV> </DIV>
<DIV>I generate stubs in Axis and tried to execute using WSIF and get the
following error</DIV>
<DIV> </DIV>
<DIV>java.lang.NumberFormatException: Invalid positiveInteger:
0<BR> at
org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:222)<BR> at \
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:534)<BR> at \
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1001)<BR> at \
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:204)<BR> at \
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:718)<BR> at \
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:232)<BR> at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:346)<BR> at
org.apache.axis.client.Call.invoke(Call.java:2234)<BR> at
org.apache.axis.client.Call.invoke(Call.java:2133)<BR> at
org.apache.axis.client.Call.invoke(Call.java:1656)<BR> at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeAXISDocStyle(Unknown \
Source)<BR> at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(Unknown \
Source)<BR> at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(Unknown \
Source)<BR> at
com.wos.runtime.wsif.WSIFDynClient.executeWebService(WSIFDynClient.java:525)<BR> at \
com.wos.runtime.wsif.WSIFDynClient.invokeWebService(WSIFDynClient.java:468)<BR> at \
com.wos.runtime.wsif.WSIFDynClient.main(WSIFDynClient.java:297)</DIV>
<DIV> </DIV>
<DIV>Somebody please help with how to solve this error<BR>-- <BR>Best Regards
!</DIV>
<DIV> </DIV>
<DIV>VAIBHAV PANDEY</FONT></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic