Hi all,
the java code generated from my wsdl file with org.codehaus.xfire.gen.WsGen does not work and crashes with
Fault occurred!
org.codehaus.xfire.fault.XFireFault: Parameter {http://www.chem.usyd.edu.au/mmsn/fileservice}in3 does not exist! at org.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBinding.java:201) at org.codehaus.xfire.service.binding.DocumentBinding.readMessage(DocumentBinding.java:32) at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)

the wsdl and the binding files are attached, I have also attached my service.xml file. On both sides I have checked that document/literal(in the service.xml on the server, in the Service interface generated on the client) is used.
Am I missing something ?

Thanks for your help
regards
Romain
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0";>
  <service>
    <name>file_service</name>
    <namespace>http://www.chem.usyd.edu.au/mmsn/fileservice</namespace>
    <serviceClass>usyd.fileservice.ws.FileService</serviceClass>
    <implementationClass>usyd.fileservice.ws.FileServiceServiceImpl</implementationClass>
    <style>document</style>
    <use>literal</use>
    <scope>application</scope>
  </service>  
</beans>

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.chem.usyd.edu.au/mmsn/fileservice"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://www.chem.usyd.edu.au/mmsn/fileservice"; xmlns:intf="http://www.chem.usyd.edu.au/mmsn/fileservice"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://www.chem.usyd.edu.au/mmsn/fileservice"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <element name="in0" type="xsd:string"/>
   <element name="getParentReturn" type="xsd:string"/>
   <element name="in1" type="xsd:string"/>
   <element name="in2" type="xsd:string"/>
   <element name="in3" type="xsd:string"/>
   <element name="listFilesReturn">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="getHomeReturn" type="xsd:string"/>
   <element name="in4" type="xsd:string"/>
   <element name="in5" type="xsd:string"/>
   <element name="getFilePathReturn" type="xsd:string"/>
  </schema>
 </wsdl:types>

   <wsdl:message name="getHomeResponse">

      <wsdl:part element="impl:getHomeReturn" name="getHomeReturn"/>

   </wsdl:message>

   <wsdl:message name="listFilesRequest">

      <wsdl:part element="impl:in3" name="in0"/>

   </wsdl:message>

   <wsdl:message name="listFilesResponse">

      <wsdl:part element="impl:listFilesReturn" name="listFilesReturn"/>

   </wsdl:message>

   <wsdl:message name="createRequest">

      <wsdl:part element="impl:in1" name="in0"/>

      <wsdl:part element="impl:in2" name="in1"/>

   </wsdl:message>

   <wsdl:message name="getFilePathRequest">

      <wsdl:part element="impl:in4" name="in0"/>

      <wsdl:part element="impl:in5" name="in1"/>

   </wsdl:message>

   <wsdl:message name="getFilePathResponse">

      <wsdl:part element="impl:getFilePathReturn" name="getFilePathReturn"/>

   </wsdl:message>

   <wsdl:message name="createResponse">

   </wsdl:message>

   <wsdl:message name="getHomeRequest">

   </wsdl:message>

   <wsdl:message name="getParentRequest">

      <wsdl:part element="impl:in0" name="in0"/>

   </wsdl:message>

   <wsdl:message name="getParentResponse">

      <wsdl:part element="impl:getParentReturn" name="getParentReturn"/>

   </wsdl:message>

   <wsdl:portType name="FileService">

      <wsdl:operation name="getParent" parameterOrder="in0">

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

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

      </wsdl:operation>

      <wsdl:operation name="create" parameterOrder="in0 in1">

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

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

      </wsdl:operation>

      <wsdl:operation name="listFiles" parameterOrder="in0">

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

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

      </wsdl:operation>

      <wsdl:operation name="getHome">

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

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

      </wsdl:operation>

      <wsdl:operation name="getFilePath" parameterOrder="in0 in1">

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

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

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="file_serviceSoapBinding" type="impl:FileService">

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

      <wsdl:operation name="getParent">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getParentRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="getParentResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="create">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="createRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="createResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="listFiles">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="listFilesRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="listFilesResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getHome">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getHomeRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="getHomeResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getFilePath">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getFilePathRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="getFilePathResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="FileServiceService">

      <wsdl:port binding="impl:file_serviceSoapBinding" name="file_service">

         <wsdlsoap:address location="http://localhost:8080/axis/services/file_service"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>
<jxb:bindings jxb:version="1.0"
              xmlns:jxb="http://java.sun.com/xml/ns/jaxb";
              xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <jxb:bindings schemaLocation="./file_service.wsdl#types?schema1" 
node="/xsd:schema">
        <jxb:schemaBindings>
            <jxb:package name="usyd.fileservice.ws">
            </jxb:package>      
        </jxb:schemaBindings>
    </jxb:bindings>
</jxb:bindings>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to