views:

38

answers:

1

Hi. I got .asmx a web service on my app. I need to call a method from an other app to get statistics from my app. I need it to return XML. the call to the webmethod is done with javascript soap.

EDIT I got the web service working. I can execute code and return a string but it stops there. When I try to pass parameters into the method it wont work and when I try to return a string[] or any other type it wont work either. any ideas? Is there something I need to do passing in parameters?

A: 

I think you could do two things.

One: enable [ScriptService] attribute on web method. This allows you to call the webservice with javascript. Example

Two: enable http-post/http-get webservice calls How to enable

Elph