Resending as I have not heard from anybody. Is there any way to debug
the communication between orkut server and my web server.

Thanks,
-Akash


On Mar 23, 2:48 pm, Akash <[email protected]> wrote:
> Hi,
>    I want to setup a parallel development environment on the server
> where I hosted the production version of my application. For some
> reason my web service call to the application installed in the
> development directory fails with error code as 502 where as to the
> application installed in the production environment is working like
> charm.
>
> I verified that the code base of the application installed in both
> directories is same.
>
> Environment : Sandbox
> Sample Code of Web Service call:
>
>         var map = { "Content-Type": "application/soap+xml;
> charset=utf-8" };
>         var params = {};
>         soapRequest =
>                                 "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
>                                 "<soap12:Envelope " +
>                                 
> "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; " +
>                                 
> "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"; " +
>                                 
> "xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\";>" +
>                                 "<soap12:Body>" +
>                                 "<" + method + " xmlns=\"" + ns + "\">" +
>                                 parameters.toXml() +
>                                 "</" + method + 
> "></soap12:Body></soap12:Envelope>";
>         params[gadgets.io.RequestParameters.METHOD] =
> gadgets.io.MethodType.POST;
>         params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> gadgets.io.ContentType.DOM;
>         params[gadgets.io.RequestParameters.HEADERS] = map;
>         params[gadgets.io.RequestParameters.AUTHORIZATION] =
> gadgets.io.AuthorizationType.SIGNED;
>         params[gadgets.io.RequestParameters.POST_DATA] = soapRequest;
>         var req;
>
>         gadgets.io.makeRequest(url, function(req) {
>             SOAPClient._onSendSoapRequest(method, async, callback,
> context, wsmodal, wsdl, req);
>         }, params);
>
> Let me know if I am missing anything here.
>
> Thanks,
> -Akash
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to