Hello all,
        Sorry to post again on this list but I didn't find any help
On the Axis mailing list...

Story is that I have followed the example at this URL

http://www-106.ibm.com/developerworks/webservices/library/ws-castor

and after writing and changing code, when I ran the application I got
following exception :

Hello Are,
        Thanx a lot for ur reply, and sorry for the late
But  my email at home does not work...

Actually, after checking more my code I discovered that I 
Omitted some  castor serializer factory in the StockQuoteSOAP stub.

However, after fixing them, I got another similar problem..

SEVERE: No deserializer for com.ibm.w3.services.stockquote.Quote
01-Sep-2004 17:36:16 org.apache.axis.client.Call invoke
SEVERE: Exception:
org.xml.sax.SAXException: Deserializing parameter 'quote':  could not
find deser ializer for type
{http://w3.ibm.com/schemas/services/2002/11/15/stockquote}quote

        at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:269)
        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: org.xml.sax.SAXException: Deserializing parameter 'quote':
could not find deserializer for type
{http://w3.ibm.com/schemas/services/2002/11/15/st
ockquote}quote
 faultActor:
 faultNode:
 faultDetail:
 
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Deseri
alizing parameter 'quote':  could not find deserializer for type
{http://w3.ibm. com/schemas/services/2002/11/15/stockquote}quote
        at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:269)
        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)


org.xml.sax.SAXException: Deserializing parameter 'quote':  could not
find deser ializer for type
{http://w3.ibm.com/schemas/services/2002/11/15/stockquote}quote

        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: org.xml.sax.SAXException: Deserializing parameter 'quote':
could not  find deserializer for type
{http://w3.ibm.com/schemas/services/2002/11/15/stock
quote}quote
        at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:269)
        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


I attach my deploy.wsdd and StockQuoteSOAPBindingStub (which seems the
class where the exception originates..)

I am using axis-1_2beta  and castor-0.9.5.3.  I am using
castor-axis-encoding jar file that comes with the sample application..


Anyone can help? It has been 1 week that I am stuck with this problem
:-(

Thanx In advance and regards
        Marco





Attachment: deploy.wsdd
Description: Binary data

Attachment: StockQuoteSOAPBindingStub.java
Description: Binary data

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to