[Users] Consuming WebService Talend

mwissler mwissler at sopragroup.com
Wed Mar 16 10:39:48 CET 2011


Hi,
When I try to put arguments in a soap message, there is no error but the result is wrong, as if no argument was provided.

Here's the wsdl :


Code:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://talend.org" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://talend.org" xmlns:intf="http://talend.org" 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://talend.org" xmlns="http://www.w3.org/2001/XMLSchema">
   <element name="args">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <complexType name="ArrayOf_xsd_string">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:string"/>
    </sequence>
   </complexType>
   <element name="runJobReturn">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:ArrayOf_xsd_string"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>

   <wsdl:message name="runJobResponse">
      <wsdl:part element="impl:runJobReturn" name="runJobReturn"/>
   </wsdl:message>
   <wsdl:message name="runJobRequest">
      <wsdl:part element="impl:args" name="args"/>
   </wsdl:message>

   <wsdl:portType name="testjoram">
      <wsdl:operation name="runJob" parameterOrder="args">
         <wsdl:input message="impl:runJobRequest" name="runJobRequest"/>
         <wsdl:output message="impl:runJobResponse" name="runJobResponse"/>
      </wsdl:operation>
   </wsdl:portType>

   <wsdl:binding name="testjoramSoapBinding" type="impl:testjoram">
      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="runJob">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="runJobRequest">
            <wsdlsoap:body use="literal"/>
         </wsdl:input>
         <wsdl:output name="runJobResponse">
            <wsdlsoap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>

   <wsdl:service name="testjoramService">
      <wsdl:port binding="impl:testjoramSoapBinding" name="testjoram">
         <wsdlsoap:address location="http://localhost:6060/test/services/testjoram"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>







-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=30483#30483

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/0d55b9e4/attachment.htm>


More information about the Users mailing list