My wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://com.sra.pipeline.stellent/";
    xmlns:apachesoap="http://xml.apache.org/xml-soap";
    xmlns:impl="http://com.sra.pipeline.stellent/";
    xmlns:intf="http://com.sra.pipeline.stellent/";
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <wsdl:types>
        <xsd:schema
            targetNamespace="http://com.sra.pipeline.stellent/";>
            <xsd:element name="convertToHtmlRequest">
           <xsd:complexType>
               <xsd:sequence>
                   <xsd:element name="name" type="xsd:string" />
                   <xsd:element name="document" type="xsd:string" />
               </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="convertToHtmlResponse">
           <xsd:complexType>
               <xsd:complexContent>
                <xsd:restriction base="xsd:anyType">
                    <xsd:sequence>
                        <xsd:element maxOccurs="unbounded"
                                name="convertToHtmlReturn" type="xsd:string" />
                    </xsd:sequence>
                </xsd:restriction>
                </xsd:complexContent>
            </xsd:complexType>
        </xsd:element>
        </xsd:schema>
        </wsdl:types>
        <wsdl:message name="convertResponse">
            <wsdl:part element="impl:convertToHtmlResponse"
                        name="parameters" />
        </wsdl:message>
        <wsdl:message name="convertRequest">
            <wsdl:part element="impl:convertToHtmlRequest"
                        name="parameters" />
        </wsdl:message>
        <wsdl:portType name="HtmlService">
            <wsdl:operation name="convertToHtml">
                <wsdl:input message="impl:convertRequest" name="request" />
                <wsdl:output message="impl:convertResponse" name="response" />
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="HtmlServiceSoapBinding"
                type="impl:HtmlService">
            <wsdlsoap:binding style="document"
                        transport="http://schemas.xmlsoap.org/soap/http"; />
                <wsdl:operation name="convertToHtml">
                <wsdlsoap:operation soapAction="" />
                <wsdl:input name="request">
                    <wsdlsoap:body use="literal" />
                </wsdl:input>
                <wsdl:output name="response">
                    <wsdlsoap:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="HtmlService">
            <wsdl:port binding="impl:HtmlServiceSoapBinding"
                        name="HtmlService">
            <wsdlsoap:address
                
location="http://localhost:8081/HtmlService/services/HtmlService"; />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

XFire generates a couple of bean for the input(two strings) and
output(List<String>) which is fine.
Using it in MyEclipse 6.0.1 and deploying to Tomcat 6 install outside of
MyEclipse.
No errors on install and I can run the generated client which ends after
getting a reference to the service with no errors. but when I package up the
input parameters in an input bean and call the service method
service.convertToHtml(input bean), I get the following error:
org.codehaus.xfire.fault.XFireFault: Parameter
{http://com.sra.pipeline.stellent/}convertToHtmlRequest does not exist!
That happens to be the element name for the input bean description. The
generated class is ConvertToHtmlRequest.

A second point is that in the process of generating the webservice from the
wsdl I select the package com.sra.pipeline.stellent as the target for
generation, the classes get generated into stellent.pipeline.sra.com. I just
refactor(move) them to the correct package.

Any help is welcome,
Jim
-- 
View this message in context: 
http://www.nabble.com/org.codehaus.xfire.fault.XFireFault%3A-Parameter-...-does-not-exist%21-tp17809868p17809868.html
Sent from the XFire - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to