Hello,
I'm trying to call some web services only using javascript from a html
page. I succeeded on doind this in IE with the use of the
behavior:url(webservice.htc); (technique founded in the microsft site)
but when i'm going to try this in a diferente browser (firefox for
example) the behavior command is not accepted in this browser. So i
try to find why and i don't understand, but i found a way of calling
web services using the mozila way (using the WebServiceProxyFactory).
Now i have two problems:
One is that i can't call any of the methods implemented in my web
service (it was a web service that i develop using the visual web
developer 2005 express edition) using the mozila way
(WebServiceProxyFactory). It allways throw an exception when i call
the specific method in the proxy object. Even in the default method
created by the wizard (HelloWorld) the exception gives "Not enough
parameters" and when i use som methods that have parameter it allways
give "Could not convert JavaScript argument", allways allways... i
can't figure what is wrong... i'm guessing that is the web service
that do not support this things?!?!
The other one is that i only know this two techniques to call web
services from javascript, and they are dependent of the browser!! is
there any technique that is not dependent of the browser? or they are
all dependent of the browser??
Can someone help me in this two problems?
Nuno