This content has been marked as final. Show 5 replies
You're using an HTTPService to call a web service, passing a few parameters - right?
What is the content of the result you're getting back? I mean, apart from the headers?
I guess you have a handler for when the service returns it's results?
What do you get if you try something like:
The "result" could contain hints on what went wrong, couldn't it..?
hth / Culme
Thanks Culme for mentioning this.
The result is in the form of html & has a head with string saying "service called" & an empty body part.
I am also using TCP tunnel monitor to see the messages being sent and received. In this monitor I am able to see the header described in my previous message and the head & body elements.
But when I debug and see in the resulthandler the event.headers are empty & has head & body as described above.Why are the headers empty? eventhough I am able to see it in the tcp tunnel?
Perhaps I'm just messing this up for you since I'm not sure I really get what the problem is. ;-/
Am I right in assuming that the problem isn't so much what is being returned by the web service, but rather the fact that the service itself doesn't perform the job that it is supposed to?
Or were you expecting something particular in return by the web service?
The problem is the HttpService call is not being made. On my local machine, whenever I click a button the httpService makes a call to the url and webservice works fine. But when I deploy it on server the HttpService call is not being made. Rarely it makes one call and then does not make any calls. eg. On server when I click the button 1st time, the httpService call to url is made and webservice works fine. But when I click the button again the httpService call is never made.
Found below post and will try the suggested solutions and will see:
Let me know if you have any suggestions.
Oh, well then I was indeed not seeing the real problem. ;-)
It does sound like it could be a caching issue of some sort - since it occasionally works once but then no more. But now I'm obviously just guessing.
Will emptying the browser cache have anny effect?
Or accessing the app with another web browser?
Or accessing the app from another computer?