Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [vtp-dev] Problem with Web Services

Hello Trip,

I've attached to this mail the wsdl file I use.

Thanks for your help.

Regards, Laurent.

2008/6/4, Trip Gilman <trip@xxxxxxxxxxxxxxx>:
Laurent,

    Could you send us the wsdl file you're working with?  I've seen the webservices module do things like this before and it usually traces back to some strangeness with the code generated by axis.  There might be a slight tweak to the wsdl that would clear this up or could be a bug introduced recently and not found yet.

Trip Gilman



On 6/4/08 10:01 AM, "Laurent Dufour" <la.dufour@xxxxxxxxx> wrote:

Hello,

I performed a simple web services application (adding two numbers) and I want to use it with my openVXML application (3.0 released).
I created in the design application a WebService Call module. The Web services, the port type and the operation are detected.
In input, I've specified the parameters (the two numbers).
In output, the variable is specified too : the radio button 'use the value from this tabme colum' is selected and the value "result" is check.
Therefore, when I close and re-open this module, the value of the business object field is set to 'No Change' ! I've also created a database contaning the results of all additions and a business object represented an addition (value a, value b and value c).

I 'm wondering why this value is not save.

I've noticed an another problem when I've deployed the war file on Tomcat server. When the page containing the web service call is generated, the tomcat log revelead a null locator during the search of the web service class. However the class is in the webservice folder '.source'.

I've attached to this mail the trace represented this error.

Thanks you for your help.

Regards, Laurent.

_______________________________________________
vtp-dev mailing list
vtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/vtp-dev

_______________________________________________
vtp-dev mailing list
vtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/vtp-dev


<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8080/testWS/services/CalculerWS"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://localhost:8080/testWS/services/CalculerWS"; xmlns:intf="http://localhost:8080/testWS/services/CalculerWS"; xmlns:tns1="http://axis.test"; 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://axis.test"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <element name="additionner">
    <complexType>
     <sequence>
      <element name="valeur1" type="xsd:int"/>
      <element name="valeur2" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>
   <element name="additionnerResponse">
    <complexType>
     <sequence>
      <element name="additionnerReturn" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>

   <wsdl:message name="additionnerResponse">

      <wsdl:part element="tns1:additionnerResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="additionnerRequest">

      <wsdl:part element="tns1:additionner" name="parameters"/>

   </wsdl:message>

   <wsdl:portType name="Calculer">

      <wsdl:operation name="additionner">

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

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

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="CalculerWSSoapBinding" type="impl:Calculer">

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

      <wsdl:operation name="additionner">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="additionnerRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="additionnerResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="CalculerService">

      <wsdl:port binding="impl:CalculerWSSoapBinding" name="CalculerWS">

         <wsdlsoap:address location="http://localhost:8080/testWS/services/CalculerWS"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Back to the top