Hello I have been trying to deploy a simple wrapped service that returns a
bean, and so far I have been unsuccesful, i "think" I have done things right
however i get the error detailed below when deploying the service, if this
is something dumb on my behalf please feel free to reply a RTFM or STFW, i
did a bit of googling and was not able to get my problem solved, Also below
the error are the server-config.wsdd and what i get when i ask for the WSDL
for the service, thanks a lot for bearing with me.


AXIS error


Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is: 
        java.io.IOException: No serializer found for class
com.hitachi.rfid.ws.GroupBean in registry
[EMAIL PROTECTED]

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.io.IOException: No serializer found for class
com.hitachi.rfid.ws.GroupBean in registry
[EMAIL PROTECTED]
 faultActor: 
 faultNode: 
 faultDetail: 


server-config.wsdd

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <globalConfiguration>
  <parameter name="sendMultiRefs" value="true"/>
  <parameter name="disablePrettyXML" value="true"/>
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory"
value="C:\desa\jpos-ee\jpos-ee\build\webapps\axis\WEB-INF\attachments"/>
  <parameter name="dotNetSoapEncFix" value="true"/>
  <parameter name="enableNamespacePrefixOptimization" value="false"/>
  <parameter name="sendXMLDeclaration" value="true"/>
  <parameter name="sendXsiTypes" value="true"/>
  <parameter name="attachments.implementation"
value="org.apache.axis.attachments.AttachmentsImpl"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="session"/>
   </handler>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="request"/>
    <parameter name="extension" value=".jwr"/>
   </handler>
  </requestFlow>
 </globalConfiguration>
 <handler name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
 <handler name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
 <handler name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 <service name="AdminService" provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="true"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>
 <!--service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service-->
 <service name="Hitachi" style="wrapped">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="com.hitachi.rfid.ws.ServiceProvider"/>
 </service>
 <transport name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
  <parameter name="qs:list"
value="org.apache.axis.transport.http.QSListHandler"/>
  <parameter name="qs:wsdl"
value="org.apache.axis.transport.http.QSWSDLHandler"/>
  <parameter name="qs.list"
value="org.apache.axis.transport.http.QSListHandler"/>
  <parameter name="qs.method"
value="org.apache.axis.transport.http.QSMethodHandler"/>
  <parameter name="qs:method"
value="org.apache.axis.transport.http.QSMethodHandler"/>
  <parameter name="qs.wsdl"
value="org.apache.axis.transport.http.QSWSDLHandler"/>
 </transport>
 <transport name="local">
  <responseFlow>
   <handler type="LocalResponder"/>
  </responseFlow>
 </transport>
</deployment>




WSDL file

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://localhost:8081/axis/services/Hitachi";
xmlns:impl="http://localhost:8081/axis/services/Hitachi";
xmlns:intf="http://localhost:8081/axis/services/Hitachi";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:tns1="http://ws.rfid.hitachi.com";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
<!--Matias-->
 <wsdl:types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://ws.rfid.hitachi.com"; elementFormDefault="qualified">
   <import namespace="http://localhost:8081/axis/services/Hitachi"/>
   <element name="list">
    <complexType/>
   </element>
   <element name="listResponse">
    <complexType>
     <sequence>
      <element name="listReturn" type="impl:GroupBean"/>
     </sequence>
    </complexType>
   </element>
  </schema>
  <schema xmlns="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://localhost:8081/axis/services/Hitachi";
elementFormDefault="qualified">
   <complexType name="GroupBean">
    <sequence>
     <element name="inPort" type="xsd:int"/>
     <element name="name" nillable="true" type="xsd:string"/>
     <element name="outPort" type="xsd:int"/>
    </sequence>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="listRequest">

      <wsdl:part name="parameters" element="tns1:list"/>

   </wsdl:message>

   <wsdl:message name="listResponse">

      <wsdl:part name="parameters" element="tns1:listResponse"/>

   </wsdl:message>

   <wsdl:portType name="ServiceProvider">

      <wsdl:operation name="list">

         <wsdl:input name="listRequest" message="impl:listRequest"/>

         <wsdl:output name="listResponse" message="impl:listResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="HitachiSoapBinding" type="impl:ServiceProvider">

      <wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="list">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="listRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="listResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="ServiceProviderService">

      <wsdl:port name="Hitachi" binding="impl:HitachiSoapBinding">

         <wsdlsoap:address
location="http://localhost:8081/axis/services/Hitachi"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to