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> at clients.DynamicInvoker.retrieveSignature(DynamicInvoker.java:486)<br> at clients.DynamicInvoker.invokeMethod(DynamicInvoker.java:387)<br> at clients.DynamicInvoker.main(DynamicInvoker.java:202)<br><br><br>my wsdl is <br><br><?xml version="1.0" encoding="UTF-8"?><br><wsdl:definitions<br> targetNamespace="http://model.cams
contract.ipru.valuemomentum.com"<br> xmlns:apachesoap="http://xml.apache.org/xml-soap"<br>
xmlns:impl="http://model.camscontract.ipru.valuemomentum.com"<br> xmlns:intf="http://model.camscontract.ipru.valuemomentum.com"<br> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"<br> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"<br> xmlns:xsd="http://www.w3.org/2001/XMLSchema"><br> <!--WSDL created by Apache Axis version: 1.2.1<br> Built on Jun 14, 2005 (09:15:57 EDT)--><br> <wsdl:types><br> <schema elementFormDefault="qualified"<br> targetNamespace="http://model.camscontract.ipru.valuemomentum.com"<br> &n
bsp; xmlns="http://www.w3.org/2001/XMLSchema"><br> <complexType
name="ContractDTO"><br> <sequence><br> <element name="incomeOption" nillable="true"<br> type="xsd:string" /><br> <element name="paymentForm" nillable="true"<br> type="xsd:string" /><br> <eleme
nt name="paymentMode" nillable="true"<br> type="xsd:string"
/><br> </sequence><br> </complexType><br> <element name="cdto" type="impl:ContractDTO" /><br> <complexType name="Status"><br> <sequence><br> <element name="errorMessages" nillable="true"<br> type="xsd:string" /><br> &
nbsp; <element name="valid" type="xsd:boolean" /><br>
</sequence><br> </complexType><br> <element name="executeRulesReturn" type="impl:Status" /><br> </schema><br> </wsdl:types><br><br> <wsdl:message name="executeRulesResponse"><br><br> <wsdl:part element="impl:executeRulesReturn"<br> name="executeRulesReturn" /><br><br> </wsdl:message><br><br> <wsdl:message name="executeRulesRequest"><br><br> <wsdl:part element="impl:cdto
" name="ContractDTO" /><br><br> </wsdl:message><br><br> <wsdl:portType name="ExecuteService"><br><br>
<wsdl:operation name="executeRules" parameterOrder="cdto"><br><br> <wsdl:input message="impl:executeRulesRequest"<br> name="executeRulesRequest" /><br><br> <wsdl:output message="impl:executeRulesResponse"<br> name="executeRulesResponse" /><br><br> </wsdl:operation><br><br> </wsdl:portType><br><br> <wsdl:binding name="ExecuteServiceSoapBinding"<br> type="impl:ExecuteService
"><br><br> <wsdlsoap:binding style="document"<br>
transport="http://schemas.xmlsoap.org/soap/http" /><br><br> <wsdl:operation name="executeRules"><br><br> <wsdlsoap:operation soapAction="" /><br><br> <wsdl:input name="executeRulesRequest"><br><br> <wsdlsoap:body use="literal" /><br><br> </wsdl:input><br><br> <wsdl:output name="executeRulesResponse"><br><br> <wsdlsoap:body use="literal" /><b
r><br> </wsdl:output><br><br> </wsdl:operation><br><br>
</wsdl:binding><br><br> <wsdl:service name="ExecuteServiceService"><br><br> <wsdl:port binding="impl:ExecuteServiceSoapBinding"<br> name="ExecuteService"><br><br> <wsdlsoap:address<br> location="http://localhost:8080/axis/services/ExecuteService" /><br><br> </wsdl:port><br><br> </wsdl:service><br><br></wsdl:definitions><br><br>cud anyone tell me....what the error means....<br><br>tnx in advance<br><br>vamshi<br><p> 
<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--