Servicio web WSDL a javascript

Has creado un servicio.

Para probar este servicio, deberá crear un cliente y usarlo para llamar al servicio. Puede hacer esto usando la herramienta svcutil.exe desde la línea de comando con la siguiente sintaxis:

svcutil.exe https://test-services.com/Service.svc?wsdl

Esto generará un archivo de configuración y un archivo de código que contiene la clase de cliente. Agregue los dos archivos a su aplicación cliente y use la clase de cliente generada para llamar al Servicio.

-Guys i am new with webservices. and i am developing android application with phonegap. can you please help me on how to call this service? with javascript? thank you guys. i already have generated the files with scvutil.exe and now i have this .cs and output.config files, and i dont know what to do next? tried googling but everything seems to be a little bit confusing for me. can you please guide me through this? thank you so much. please help me.

preguntado el 09 de marzo de 12 a las 15:03

Let's see if I got this straight. You generated a WCF web service and now you want to call it with javascript? -

im not exaclty sure if its a WCF or not. my boss just gave me the service address link. and as i open it in my broswer. it gives me the message that i posted above. so i generated the service address via svcutil.exe, and so i now have two files that was generated. which is the .cs file and output.config. -

That is a standard message for dot.NET web services and those files are dot.NET files (most likely in C# if you didn't add parameters to svcutil.exe). You can't use those files to call the web service from javascript. You can use those files only in a dot.NET (C# likely) client. -

posible duplicado de Ejemplo de SOAP más simple -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.