You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by vamshidhar reddy chitti <ch...@yahoo.de> on 2008/01/28 08:10:12 UTC

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

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.