You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by ratha <ra...@wso2.com> on 2008/11/25 11:17:57 UTC

Responses are undefined when try to communicate with InstantManagementAPI

Hi all,

When  I send XMLHttpRequest() to the following URL 
"http://localhost:8080/ode/processes/InstanceManagement/listAllInstances" 
server states as follows,

*DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, 
checking if
there are endpoints there.
DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, 
checking if
there are endpoints there*

No output from the XMLHttp request. When I print the response of a 
single element(from the XMLHttp request) it states *'undefined'*.
So, I tried to create an object for InstantManagementAPI like,
*instances_available  = InstanceManagementService.listAllInstances();  *

but it throws an exception like "*No response undefined*".

It seems some error in my back end server. Do I need to do any 
modifications at the configuration of ODE  in order to make above 
communications? or some other errors in my back end service?

Any assistance will be really helpful to me.
.
Thanks.
-Ratha.

Re: Responses are undefined when try to communicate with InstantManagementAPI

Posted by Alex Boisvert <bo...@intalio.com>.
I just cut & pasted the URL in Firefox3.

http://localhost:8080/ode/processes/InstanceManagement/listAllInstances

Any other errors in your log?

alex


On Tue, Nov 25, 2008 at 7:27 AM, <ra...@wso2.com> wrote:

> Hi Alex,
>
> I tried in both IE7 and Firefox 3.0 and got same issue. Please can you say
> me how you checked it? i checked using java script and html file.
>
> Thanks.
> ratha.
>
> > This URL works fine for me, did you try it in a browser?
> >
> > alex
> >
> >
> > On Tue, Nov 25, 2008 at 2:17 AM, ratha <ra...@wso2.com> wrote:
> >
> >> Hi all,
> >>
> >> When  I send XMLHttpRequest() to the following URL "
> >> http://localhost:8080/ode/processes/InstanceManagement/listAllInstances
> "
> >> server states as follows,
> >>
> >> *DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> >> checking if
> >> there are endpoints there.
> >> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> >> checking if
> >> there are endpoints there*
> >>
> >> No output from the XMLHttp request. When I print the response of a
> >> single
> >> element(from the XMLHttp request) it states *'undefined'*.
> >> So, I tried to create an object for InstantManagementAPI like,
> >> *instances_available  = InstanceManagementService.listAllInstances();  *
> >>
> >> but it throws an exception like "*No response undefined*".
> >>
> >> It seems some error in my back end server. Do I need to do any
> >> modifications at the configuration of ODE  in order to make above
> >> communications? or some other errors in my back end service?
> >>
> >> Any assistance will be really helpful to me.
> >> .
> >> Thanks.
> >> -Ratha.
> >>
> >
>
>

Re: Responses are undefined when try to communicate with InstantManagementAPI

Posted by ra...@wso2.com.
Hi Alex,

I tried in both IE7 and Firefox 3.0 and got same issue. Please can you say
me how you checked it? i checked using java script and html file.

Thanks.
ratha.

> This URL works fine for me, did you try it in a browser?
>
> alex
>
>
> On Tue, Nov 25, 2008 at 2:17 AM, ratha <ra...@wso2.com> wrote:
>
>> Hi all,
>>
>> When  I send XMLHttpRequest() to the following URL "
>> http://localhost:8080/ode/processes/InstanceManagement/listAllInstances"
>> server states as follows,
>>
>> *DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
>> checking if
>> there are endpoints there.
>> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
>> checking if
>> there are endpoints there*
>>
>> No output from the XMLHttp request. When I print the response of a
>> single
>> element(from the XMLHttp request) it states *'undefined'*.
>> So, I tried to create an object for InstantManagementAPI like,
>> *instances_available  = InstanceManagementService.listAllInstances();  *
>>
>> but it throws an exception like "*No response undefined*".
>>
>> It seems some error in my back end server. Do I need to do any
>> modifications at the configuration of ODE  in order to make above
>> communications? or some other errors in my back end service?
>>
>> Any assistance will be really helpful to me.
>> .
>> Thanks.
>> -Ratha.
>>
>


Re: Responses are undefined when try to communicate with InstantManagementAPI

Posted by Alex Boisvert <bo...@intalio.com>.
This URL works fine for me, did you try it in a browser?

alex


On Tue, Nov 25, 2008 at 2:17 AM, ratha <ra...@wso2.com> wrote:

> Hi all,
>
> When  I send XMLHttpRequest() to the following URL "
> http://localhost:8080/ode/processes/InstanceManagement/listAllInstances"
> server states as follows,
>
> *DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> checking if
> there are endpoints there.
> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> checking if
> there are endpoints there*
>
> No output from the XMLHttp request. When I print the response of a single
> element(from the XMLHttp request) it states *'undefined'*.
> So, I tried to create an object for InstantManagementAPI like,
> *instances_available  = InstanceManagementService.listAllInstances();  *
>
> but it throws an exception like "*No response undefined*".
>
> It seems some error in my back end server. Do I need to do any
> modifications at the configuration of ODE  in order to make above
> communications? or some other errors in my back end service?
>
> Any assistance will be really helpful to me.
> .
> Thanks.
> -Ratha.
>