DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17439

WSDD causes deserialisation error ... not able to distribute the service!

           Summary: WSDD causes deserialisation error ... not able to
                    distribute the service!
           Product: Axis
           Version: 1.0-rc1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I looks like my previous bug report did not arrive.. here it is again:
 faultActor:
 
faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 
faultSubcode:
 faultString: org.apache.axis.deployment.wsdd.WSDDException: 
javax.xml.rpc.JAXRPCException: Null serializer factory 
specified.
javax.xml.rpc.JAXRPCException: Null serializer factory 
specified.&amp;#xd;
        at 
org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.java:247)&amp;#xd;
 
       at 
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:560)&amp;#xd;
 
       at 
org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:267)&amp;#xd;
 
       at 
org.apache.axis.deployment.wsdd.WSDDService.&amp;lt;init&amp;gt;(WSDDService.java:247)&amp;#xd;
 
       at 
org.apache.axis.deployment.wsdd.WSDDDeployment.&amp;lt;init&amp;gt;(WSDDDeployment.java:243)&amp;#xd;
 
       at 
org.apache.axis.deployment.wsdd.WSDDDocument.&amp;lt;init&amp;gt;(WSDDDocument.java:118)&amp;#xd;
 
       at org.apache.axis.utils.Admin.processWSDD(Admin.java:150)&amp;#xd;
        at 
org.apache.axis.utils.Admin.process(Admin.java:230)&amp;#xd;
        at 
org.apache.axis.utils.Admin.AdminService(Admin.java:104)&amp;#xd;
        at 
sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)&amp;#xd;
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&amp;#xd;
 
       at java.lang.reflect.Method.invoke(Method.java:324)&amp;#xd;
        at 
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:147)&amp;#xd;
 
       at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:330)&amp;#xd;
 
       at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)&amp;#xd;
 
       at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)&amp;#xd;
        at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)&amp;#xd;
        at 
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)&amp;#xd;
        
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:322)&amp;#xd;
        at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)&amp;#xd;
        
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&amp;#xd;
        at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)&amp;#xd;
 
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&amp;#xd;
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)&amp;#xd;
 
       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)&amp;#xd;
 
       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)&amp;#xd;
        
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)&amp;#xd;
 
       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)&amp;#xd;
        
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)&amp;#xd;
 
       at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)&amp;#xd;
 
       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)&amp;#xd;

Processing 
following WSDL file with WSDL2Java creates the classes..then compile and desitribute 
the 
service with the just generated 'deploy.wsdd'.

WSDL to create the calssws with WSDL2Java 
and then compile and deploy...
<?xml version="1.0" encoding="utf-
8"?>

<wsdl:definitions targetNamespace="services:OTA_AirBooking" 

        xmlns:intf="services:OTA_AirBooking" 

        xmlns:tns1="http://www.opentravel.org/OTA/2002/11";
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 

        xmlns:types="opentravel"
        xmlns="http://schemas.xmlsoap.org/wsdl/";>
        
    <!-- 
Source: C:\AxisTest\PNR_Broker.wsdl -->
    <!-- Revision: 0.1  -->
    <!-- Date: 25.02.2003 08:17:51  -->
    
<!-- Author: roland  -->
    <!-- ################################ -->
    <!-- #   Type Declaration Section   # --
>
    <!-- ################################ -->
    
    <wsdl:import 
namespace="opentravel"
                        
location="file://localhost/C:/OTA_documents/2003a/OTA_AirBookRQ.xsd"/>
        <wsdl:import 
namespace="opentravel"
            
        location="file://localhost/C:/OTA_documents/2003a/OTA_AirBookRS.xsd"/>
                
        <types>
 
       <xsd:schema 
targetNamespace="http://www.opentravel.org/OTA/2002/11";
                xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
                
        <xsd:complexType 
name="Air_Reservation">
                <xsd:sequence>
                        <xsd:element maxOccurs="1" 
name="OTA_AirBookRQ" 
element="tns1:OTA_AirBookRQ"/>
                </xsd:sequence>
        </xsd:complexType>
                
        <xsd:complexType 
name="Air_ResResponse">
                <xsd:sequence>
                        <xsd:element minOccurs="1" 
maxOccurs="1" 
element="tns1:OTA_AirBookRS"/>
                </xsd:sequence>
        </xsd:complexType>
                
        <xsd:complexType 
name="OTA_AirbookHeader">
                <xsd:sequence>
                        <xsd:element default="Production" 
name="Target" type="xsd:string"/>
                        <xsd:element default="1" name="Version" 
type="xsd:string"/>
                        <xsd:element default="16734" name="SequenceNmbr" 
type="xsd:string"/>
                </xsd:sequence> 
        </xsd:complexType>
                
        </xsd:schema>
    
</types>
    
    <!-- ################################### -->
    <!-- #   Message Declaration Section   # --
>
    <!-- ################################### -->
    
    <wsdl:message 
name="OTA_AirBookingSoapIn">
                <wsdl:part name="bkg_header" 
type="tns1:OTA_AirbookHeader"/>
        <wsdl:part name="body" 
type="tns1:Air_Reservation"/>
    </wsdl:message>
    
    <wsdl:message 
name="OTA_AirBookingSoapOut">
                <wsdl:part name="bkg_header" 
type="tns1:OTA_AirbookHeader"/>
        <wsdl:part name="return" 
type="tns1:Air_ResResponse"/>
    </wsdl:message>
    
       <!-- 
##################################### -->
    <!-- #   Port Type Declaration Section   # -->
    <!-- 
##################################### -->
    
    <wsdl:portType 
name="OTA_AirBrokerPort">
        <wsdl:operation name="book_OTA_PNR">
            <wsdl:input 
message="intf:OTA_AirBookingSoapIn"/>
            <wsdl:output 
message="intf:OTA_AirBookingSoapOut"/>
        </wsdl:operation>
    </wsdl:portType>
   
</wsdl:definitions>

<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions 
targetNamespace="services:OTA_AirBooking" 
        xmlns:intf="services:OTA_AirBooking" 

        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 

        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 

        xmlns="http://schemas.xmlsoap.org/wsdl/";>
        
    <!-- Source: 
C:\AxisTest\PNR_Broker.wsdl -->
    <!-- Revision: 0.2  -->
    <!-- Date: 24.02.2003 08:03:00  -->
    <!-- 
Author: roland  -->
        <!-- in belows cmd added a 'X' before timeout..should be '-' .. but double 
dashes 
are not allowed in comment -->
        <!-- java org.apache.axis.wsdl.WSDL2Java X-timeout=-1 -d 
Application -s -S true roland\PNR_BrokerService.wsdl -->
        <!-- Do not use the -p option .. because it 
will write all ota classes in the -->
        <!-- directory as the WSDL generated pure application files --
>

    <import namespace="services:OTA_AirBooking" 
            
        location="PNR_BrokerBase2.wsdl"/>
                
    <!-- ################################### -->
    <!-- 
#   Binding Declaration Section   # -->
    <!-- ################################### -->
    
    
<wsdl:binding name="OTA_AirBrokerBinding" type="intf:OTA_AirBrokerPort">
        
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        
        
<wsdl:operation name="book_OTA_PNR">
            <soap:operation soapAction=""/>
            
<wsdl:input>
                <soap:body      use="encoded" 

                                                        
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                                                        namespace="book_OTA_PNR"
                                <soap:header 
use="encoded"
                                                        
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
                         
  
                                namespace="book_OTA_PNR"
                                                        
message="intf:OTA_AirBookingSoapIn"
                                                        part="bkg_header"/>
 
           </wsdl:input>
            <wsdl:output>
                <soap:body 
        use="encoded"
                                                        
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                 
                                namespace="services:OTA_AirBooking" 
                                <soap:header 
use="encoded"
                                                        
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
                         
                                namespace="services:OTA_AirBooking" 

                                                        
message="intf:OTA_AirBookingSoapOut"
                                                        part="bkg_header"/>
            
</wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    
    <!-- 
################################### -->
    <!-- #   Service Declaration Section   # -->
    <!-- 
################################### -->
    
    <wsdl:service 
name="OTA_AirBrokerService">
        <wsdl:port      name="OTA_AirBookingService" 

                                        binding="intf:OTA_AirBrokerBinding">
            <soap:address 
location="http://localhost:8070/axis/services/OTA_AirBookingService"/>
        
</wsdl:port>
    </wsdl:service>
</wsdl:definitions>

I do always get the above error and 
cannot activate the service, although all compile error free.

Thanks.
Roland

Reply via email to