-----Original Message-----
From: Wolfgang Vullhorst [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 3:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Null serializer factory specifiedHi,
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
Title: RE: Null serializer factory specified
Hi
Wolfgang,
Thanks
for following up. Below are the answers.
1. I
got the 1.1 source zip file from the apache website and built it locally. I
didn't see anything unusual to make me think that something went wrong with the
build step. I had to do this because I wanted to use
Castor.
2. I
have deployed other services with Axis before without problems. However this is
the first time I am using Castor together with Axis and thats when I have run
into problems.
3. I
am using tomcat 4.1.27
4. I
am using xerces 2.5.0
The
service I am trying to deploy is discussed in the following
article:
Any
insight will be helpful. I am kind of new to Axis, so I may be overlooking
something. If you can point me to basic mistakes newbies make, I can double
check to make sure that the exception is not due to any of those
mistakes.
Thanks
again.
AJ
- RE: Null serializer factory specified asif . jiwani
- Re: Null serializer factory specified Wolfgang Vullhorst
- asif . jiwani