I am trying to make a gadget which will send SOAP messages to a web service described in a WSDL document. I have examined the OpenSocial API and put my gadget into the iGoogle Sandbox.
I have this code in my gadget: params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; params[gadgets.io.RequestParameters.POST_DATA]= postdata; params[gadgets.io.RequestParameters.HEADERS]= {"SOAPAction":SOAPAction} gadgets.io.makeRequest(url,funkc, params); The postdata variable contains an automatically generated SOAP message. I am reasonably sure the message is correctly generated. The SOAPAction variable contains the soap:operation soapAction property obtained from the WSDL file. The url variable contains the soap:address location property also obtained from WSDL. upon executin the makeRequest function, Firebug reports no problems, but the only response I get is "throw 1; < don't be evil' >{"http://api.google.com/search/beta2": {"headers":{},"body":"","rc":502}}" there is no timeout, as the entire operation is executed in under a second according to Firebug. I am unsure what is causing it and what it means. I am testing my gadget on the GoogleSearch WSDL file found at http://api.google.com/GoogleSearch.wsdl Any help would be appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---