Hi,
if I read the source code right, the exception is thrown when the serializer cannot be determined from the WSDDTypeMapping.
So some more questions:
- Which axis version do you use?
- Have you deployed other services in this axis instance before?
- Which servlet engine do you use?
- Which XML parser is used?
Wolfgang
Sorry for my posting format, I'm trying to solve the problem...
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. November 2003 15:38
An: [EMAIL PROTECTED]
Betreff: RE: Null serializer factory specifiedThanks for responding. Here is the deployment descriptor. I am using Axis with Castor. Everything compiles fine, but at the time of deployment it gives me the error.
AJ
************deploy.wsdd******************************
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs --><deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"><!-- Services from StockQuoteService WSDL service -->
<service name="StockQuoteSOAPPort" provider="java:RPC" style="wrapped" use="literal">
<parameter name="wsdlTargetNamespace" value="http://w3.ibm.com/schemas/services/2002/11/15/stockquote/wsdl"/>
<parameter name="wsdlServiceElement" value="StockQuoteService"/>
<parameter name="wsdlServicePort" value="StockQuoteSOAPPort"/>
<parameter name="className" value="com.ibm.w3.services.stockquote.StockQuoteSOAPBindingImpl"/>
<parameter name="wsdlPortType" value="StockQuotePortType"/>
<operation name="getStockQuote" qname="operNS:getStockQuote" xmlns:operNS="http://w3.ibm.com/schemas/services/2002/11/15/stockquote" returnQName="retNS:quote" xmlns:retNS="http://w3.ibm.com/schemas/services/2002/11/15/stockquote" returnType="rtns:>quote" xmlns:rtns="http://w3.ibm.com/schemas/services/2002/11/15/stockquote" ><parameter name="symbol" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
</operation>
<parameter name="allowedMethods" value="getStockQuote"/><typeMapping
xmlns:ns="http://w3.ibm.com/schemas/services/2002/11/15/stockquote"
qname="ns:quote"
type="java:com.ibm.w3.services.stockquote.Quote"
serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory"
deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://w3.ibm.com/schemas/services/2002/11/15/stockquote"
qname="ns:lastTradeType"
type="java:com.ibm.w3.services.stockquote.LastTradeType"
serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory"
deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://w3.ibm.com/schemas/services/2002/11/15/stockquote"
qname="ns:changeType"
type="java:com.ibm.w3.services.stockquote.ChangeType"
serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory"
deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory"
encodingStyle=""
/>
</service>
</deployment>
-----Original Message-----
From: Wolfgang Vullhorst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 11, 2003 4:19 AM
To: [EMAIL PROTECTED]
Subject: AW: Null serializer factory specified
Hi,
could you post your deployment descriptor?
Wolfgang