Error code 500 means that an error occured on the server side and
therefore the request couldn't be processed. You should have a look at
your server logs to see what happened and why the request failed.

Benjamin

On Sep 25, 5:12 am, Bangaram <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using the following code in google gadget:
>
> function sendRequest()
> {
>
>         var postContent = getParamas();
>         var service = new XMLHttpRequest();
>
>         service.open("POST", "http://saldtp072407/ibse/IBSEServlet/test/
> BAPI_BUPA_SEARCH.ibs?wsdl", true, "subhakar", "subhakar");
>         service.setRequestHeader("Content-type", "text/xml");
>         service.setRequestHeader("Content-length", postContent.length);
>         service.setRequestHeader("Connection", "close");
>         service.setRequestHeader("User-Agent", "Mozilla/5.0 (Windows; Google
> Desktop Gadget) MyGadget/MyVersion");
>
>         service.onreadystatechange = function()
>         {
>                 if (service.readyState == 4) {
>       if (service.status == 200) {
>                         var response = service.responseText;
>                          gadget.debug.trace( response);
>                         alert(response);
>       }
>     }
>         }
>         service.send(postContent); //pocontent is filled with some data
>
> }
>
> I am getting the HTTP error code 500.
>
> Any ideas regarding this error?
>
> Thanks and regards,
> Ramesh.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" 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/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to