axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tysnes Are Thobias <are.tys...@edb.com>
Subject RE: castor problem
Date Wed, 01 Sep 2004 09:05:33 GMT

Hello

How does your deploy.wsdd look like !?

Cheers,
Are T. Tysmes

-----Original Message-----
From: Marco Mistroni [mailto:mmistroni@waersystems.com] 
Sent: 1. september 2004 10:47
To: axis-user@ws.apache.org
Subject: FW: castor problem



Hello all,
	I followed the tutorial on castor and axis on
IBM website
http://www-106.ibm.com/developerworks/webservices/library/ws-castor  (I have
attached the XSD file for the schema)

I am using castor-0.9.5.3.jar as well as castor-axis-encoding.jar that comes
Along with the example.

I did changes mentioned in the article, but when I run my application I got
following exception...

31-Aug-2004 20:15:54 org.apache.axis.encoding.DeserializationContextImpl
getDese
rializerForClass
SEVERE: No deserializer for com.ibm.w3.services.stockquote.LastTrade
31-Aug-2004 20:15:54 org.apache.axis.client.Call invoke
SEVERE: Exception:
java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeseri
alizer.java:257)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:1001)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:159)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:1050)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:196)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2381)
        at org.apache.axis.client.Call.invoke(Call.java:2280)
        at org.apache.axis.client.Call.invoke(Call.java:1741)
        at
com.ibm.w3.services.stockquote.StockQuoteSOAPBindingStub.getStockQuot
e(Unknown Source)
        at StockQuoteClient.main(Unknown Source)
Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.NullPointerException
 faultActor:
 faultNode:
 faultDetail:
 
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeseri
alizer.java:257)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:1001)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:159)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:1050)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:196)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2381)
        at org.apache.axis.client.Call.invoke(Call.java:2280)
        at org.apache.axis.client.Call.invoke(Call.java:1741)
        at
com.ibm.w3.services.stockquote.StockQuoteSOAPBindingStub.getStockQuot
e(Unknown Source)
        at StockQuoteClient.main(Unknown Source)


java.lang.NullPointerException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:98)
        at org.apache.axis.client.Call.invoke(Call.java:2384)
        at org.apache.axis.client.Call.invoke(Call.java:2280)
        at org.apache.axis.client.Call.invoke(Call.java:1741)
        at
com.ibm.w3.services.stockquote.StockQuoteSOAPBindingStub.getStockQuot
e(Unknown Source)
        at StockQuoteClient.main(Unknown Source)
Caused by: java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeseri
alizer.java:257)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:1001)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:159)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:1050)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:196)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2381)
        ... 4 more


can anyone help me out?

Thanx in advance and regards
	Marco



Mime
View raw message