Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1973

invoking of web service

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Javascript
    • None
    • shindig 2.5.1 - tomcat 7.0.52 - jdk 1.7.0.51

    Description

      I have to create a gadget in which there is an invocation to a web service , but the invocation of the service
      <service.GetCalcolatrice.callService("somma", 1, 2);>
      gives me the error "It has not Been rendered null gadgets. The following error occurred: Missing or malformed url parameter ."
      the code is
      <?xml version="1.0" encoding="UTF-8" ?>
      <Module>
      <ModulePrefs title="Somma Operatore" height="300"
      author="Paola"
      author_email="paola.montoriog@itslab.it" />
      <Content type="html">
      <![CDATA[
      <body onload="InitializeService();">
      <form onsubmit="return getFunction(this.form);">
      <div style="margin: 150px; padding: 30px; height:600px; width: 700px;">
      <input type="text" id="addendo1"/>
      <input type="text" id="addendo2"/>
      <input type="submit" value="somma" />
      <input type="text" id="risultato"/>
      </div>
      </form>

      <script type="text/javascript">
      var iCallID;
      function InitializeService()

      { service.useService("http://localhost:8080/EchoService/services/Calcolatrice?wsdl", "GetCalcolatrice"); }

      function getFunction(dl)

      { service.GetCalcolatrice.callService("somma", 1, 2); return false; }

      </script>
      </body>
      ]]>
      </Content>
      </Module>


      The question is, how can I invoke a web service correctly without error "It has not Been rendered null gadgets. The following error occurred: Missing or malformed url parameter "
      Thanks in advance Regards
      Paola Montorio

      Attachments

        Activity

          People

            Unassigned Unassigned
            paola.montorio Paola Montorio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: