Paola Montorio created SHINDIG-1973:
---------------------------------------
Summary: invoking of web service
Key: SHINDIG-1973
URL: https://issues.apache.org/jira/browse/SHINDIG-1973
Project: Shindig
Issue Type: Question
Components: Javascript
Environment: shindig 2.5.1 - tomcat 7.0.52 - jdk 1.7.0.51
Reporter: Paola Montorio
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 = "Sum Operator " 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; width: 700px;"> height:600px;
<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 ;
InitializeService function () {
service.useService ( "
http://localhost:8080/EchoService/services/Calcolatrice?wsdl ", "
GetCalcolatrice " ) ;
}
GetFunction function ( dl ) {
service.GetCalcolatrice.callService ( "sum" , 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)