Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 11918 invoked from network); 1 Sep 2004 08:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 08:47:46 -0000 Received: (qmail 60692 invoked by uid 500); 1 Sep 2004 08:47:00 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 60610 invoked by uid 500); 1 Sep 2004 08:46:59 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 60519 invoked by uid 99); 1 Sep 2004 08:46:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [217.204.76.189] (HELO waersys.net) (217.204.76.189) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 01:46:56 -0700 Received: from MARCOM1 (pix2.waer.dmz [192.168.100.1]) by waersys.net (8.12.8/8.12.8) with ESMTP id i818l4Xp023109 for ; Wed, 1 Sep 2004 09:47:04 +0100 From: "Marco Mistroni" To: Subject: FW: castor problem Date: Wed, 1 Sep 2004 09:46:53 +0100 Message-ID: <000301c49000$3acbefe0$766ea8c0@MARCOM1> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0004_01C49008.9C9057E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C49008.9C9057E0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0004_01C49008.9C9057E0 Content-Type: application/octet-stream; name="StockQuote.xsd" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="StockQuote.xsd" ------=_NextPart_000_0004_01C49008.9C9057E0--