java.lang.RuntimeException: part type {http://model.camscontract.ipru.valuemomentum.com}cdto not supported in this sample

vamshidhar reddy chitti <[email protected]> Mon, 28 Jan 2008 08:10:12 +0100 (CET)
Newsgroups gmane.comp.apache.webservices.wsif.devel
Message-ID <[email protected]>
--0-1164588731-1201504212=:90678
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

hello folks,

i have a wsdl which takes input as an custom object and return an custom object.
it works fine by using eclipse webservice explorer but failing to run using WSIF

i get this error when i give input as an xml 
Exception in thread "main" java.lang.RuntimeException: part type {http://model.camscontract.ipru.valuemomentum.com}cdto not supported in this sample
    at clients.DynamicInvoker.retrieveSignature(DynamicInvoker.java:486)
    at clients.DynamicInvoker.invokeMethod(DynamicInvoker.java:387)
    at clients.DynamicInvoker.main(DynamicInvoker.java:202)


my wsdl is 

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
    targetNamespace="http://model.camscontract.ipru.valuemomentum.com"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://model.camscontract.ipru.valuemomentum.com"
    xmlns:intf="http://model.camscontract.ipru.valuemomentum.com"
    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.2.1
        Built on Jun 14, 2005 (09:15:57 EDT)-->
    <wsdl:types>
        <schema elementFormDefault="qualified"
            targetNamespace="http://model.camscontract.ipru.valuemomentum.com"
            xmlns="http://www.w3.org/2001/XMLSchema">
            <complexType name="ContractDTO">
                <sequence>
                    <element name="incomeOption" nillable="true"
                        type="xsd:string" />
                    <element name="paymentForm" nillable="true"
                        type="xsd:string" />
                    <element name="paymentMode" nillable="true"
                        type="xsd:string" />
                </sequence>
            </complexType>
            <element name="cdto" type="impl:ContractDTO" />
            <complexType name="Status">
                <sequence>
                    <element name="errorMessages" nillable="true"
                        type="xsd:string" />
                    <element name="valid" type="xsd:boolean" />
                </sequence>
            </complexType>
            <element name="executeRulesReturn" type="impl:Status" />
        </schema>
    </wsdl:types>

    <wsdl:message name="executeRulesResponse">

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

    </wsdl:message>

    <wsdl:message name="executeRulesRequest">

        <wsdl:part element="impl:cdto" name="ContractDTO" />

    </wsdl:message>

    <wsdl:portType name="ExecuteService">

        <wsdl:operation name="executeRules" parameterOrder="cdto">

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

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

        </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name="ExecuteServiceSoapBinding"
        type="impl:ExecuteService">

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

        <wsdl:operation name="executeRules">

            <wsdlsoap:operation soapAction="" />

            <wsdl:input name="executeRulesRequest">

                <wsdlsoap:body use="literal" />

            </wsdl:input>

            <wsdl:output name="executeRulesResponse">

                <wsdlsoap:body use="literal" />

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="ExecuteServiceService">

        <wsdl:port binding="impl:ExecuteServiceSoapBinding"
            name="ExecuteService">

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

        </wsdl:port>

    </wsdl:service>

</wsdl:definitions>

cud anyone tell me....what the error means....

tnx in advance

vamshi

       
---------------------------------
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem  neuen Yahoo! Mail. 
--0-1164588731-1201504212=:90678
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

hello folks,<br><br>i have a wsdl which takes input as an custom object and return an custom object.<br>it works fine by using eclipse webservice explorer but failing to run using WSIF<br><br>i get this error when i give input as an xml <br>Exception in thread "main" java.lang.RuntimeException: part type {http://model.camscontract.ipru.valuemomentum.com}cdto not supported in this sample<br>&nbsp;&nbsp;&nbsp; at clients.DynamicInvoker.retrieveSignature(DynamicInvoker.java:486)<br>&nbsp;&nbsp;&nbsp; at clients.DynamicInvoker.invokeMethod(DynamicInvoker.java:387)<br>&nbsp;&nbsp;&nbsp; at clients.DynamicInvoker.main(DynamicInvoker.java:202)<br><br><br>my wsdl is <br><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;wsdl:definitions<br>&nbsp;&nbsp;&nbsp; targetNamespace="http://model.cams
 contract.ipru.valuemomentum.com"<br>&nbsp;&nbsp;&nbsp; xmlns:apachesoap="http://xml.apache.org/xml-soap"<br>&nbsp;&nbsp;&nbsp;
 xmlns:impl="http://model.camscontract.ipru.valuemomentum.com"<br>&nbsp;&nbsp;&nbsp; xmlns:intf="http://model.camscontract.ipru.valuemomentum.com"<br>&nbsp;&nbsp;&nbsp; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"<br>&nbsp;&nbsp;&nbsp; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"<br>&nbsp;&nbsp;&nbsp; xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!--WSDL created by Apache Axis version: 1.2.1<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Built on Jun 14, 2005 (09:15:57 EDT)--&gt;<br>&nbsp;&nbsp;&nbsp; &lt;wsdl:types&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;schema elementFormDefault="qualified"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; targetNamespace="http://model.camscontract.ipru.valuemomentum.com"<br>&nbsp;&nbsp;&nbsp; &nbsp;&n
 bsp;&nbsp; &nbsp;&nbsp;&nbsp; xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;complexType
 name="ContractDTO"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;sequence&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="incomeOption" nillable="true"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; type="xsd:string" /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="paymentForm" nillable="true"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; type="xsd:string" /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;eleme
 nt name="paymentMode" nillable="true"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; type="xsd:string"
 /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/sequence&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/complexType&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="cdto" type="impl:ContractDTO" /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;complexType name="Status"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;sequence&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="errorMessages" nillable="true"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; type="xsd:string" /&gt;<br>&nbsp;&nbsp;&nbsp; &
 nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="valid" type="xsd:boolean" /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &lt;/sequence&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/complexType&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;element name="executeRulesReturn" type="impl:Status" /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/schema&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:types&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:message name="executeRulesResponse"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:part element="impl:executeRulesReturn"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name="executeRulesReturn" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:message&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:message name="executeRulesRequest"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:part element="impl:cdto
 " name="ContractDTO" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:message&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:portType name="ExecuteService"&gt;<br><br>&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &lt;wsdl:operation name="executeRules" parameterOrder="cdto"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:input message="impl:executeRulesRequest"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name="executeRulesRequest" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:output message="impl:executeRulesResponse"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name="executeRulesResponse" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/wsdl:operation&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:portType&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:binding name="ExecuteServiceSoapBinding"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; type="impl:ExecuteService
 "&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdlsoap:binding style="document"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 transport="http://schemas.xmlsoap.org/soap/http" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:operation name="executeRules"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdlsoap:operation soapAction="" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:input name="executeRulesRequest"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdlsoap:body use="literal" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/wsdl:input&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:output name="executeRulesResponse"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdlsoap:body use="literal" /&gt;<b
 r><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/wsdl:output&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/wsdl:operation&gt;<br><br>&nbsp;&nbsp;&nbsp;
 &lt;/wsdl:binding&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:service name="ExecuteServiceService"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdl:port binding="impl:ExecuteServiceSoapBinding"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name="ExecuteService"&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;wsdlsoap:address<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; location="http://localhost:8080/axis/services/ExecuteService" /&gt;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/wsdl:port&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:service&gt;<br><br>&lt;/wsdl:definitions&gt;<br><br>cud anyone tell me....what the error means....<br><br>tnx in advance<br><br>vamshi<br><p>&#32;



      <hr size=1>Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem <a href="http://de.rd.yahoo.com/evt=40593/*http://de.docs.yahoo.com/ymail/landing.html" target=_new> 
neuen Yahoo! Mail</a>. 

--0-1164588731-1201504212=:90678--