how to invoke a web service in asp.net using SOAP - web-services

I have written a web service in asp.net 4.0. Now I need to invoke this web service using SOAP
protocol but not HTTP Post protocol. Can any one suggest to me how can I achieve this?

See http://social.msdn.microsoft.com/Forums/en-MY/asmxandxml/thread/5486c18a-a796-4f70-9e56-ccee572abcaf.
You have to use Windows Communication Foundation

See How to Consume a Web Service.

Related

Testing Applications for use of Web Services

1) Is it possible using burp suite/ ZAP or any other web testing tools to find out
if an application is making calls to web services?
2) As SOAP web services reply in XML is it also possible to view the responses of
the HTML request to distinguish between use of REST web services?
Thanks
Yes, this is normally possible.
You need to configure the application to use the interactive proxy (Burp, Zap, etc.) as its proxy. Most applications will use your system proxy settings.
Once the proxy is configured, you can see a full history of HTTP interactions (in Burp: Proxy > HTTP History). This includes requests and responses, which will clearly indicate a SOAP or REST service.

Web Service , Web API , API What are All These?

I found So many Answers but haven't got one suits my (Basic) "Knowledge"
These are Troubling For me , kindly Guide me
I know what API is (from the local concept like GetCursorPos() winApi of user32.dll)
Q: what is WebApi ?
Ans : web API is a API which is exposed via the web
Q:what is WebService ?
Ans : is a software function provided at a network address over the web
My Doubts:
is a WebApi used to Achieve a Service through web ? Acess a WebService ?
What Differs WebService and Web API ?
The Following Makes me again Weird :
A Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone.
A web API is a development in web services where emphasis has been moving to simpler representational state transfer (REST) based communications
Then What is this Web API For ?
Also Seen that WebServices = API + Http ( Api refers to Web Api? )
What are Web Service API ?
Web Services:
To achieve the platform interoperability Web Services are being used, and it is a SOA based. It follows standards like WSDL,SOAP, UDDI and so on. WSDL passed through SOAP protocol and will be accessed by clients, by having stubs generated out of WSDL.
Web API:
Now a days a new paradigm of achieve the platform independent services are done by RESTful web services or Web API's. It rely on HTTP protocol, and these services will be accessed by HTTP clients like browser or a HTTP client code. WebAPI is an another name to describe these both client and server API's.
Hope it makes clear

SOAP-based Web Service in Sencha

How should I call a SOAP based web service using Sencha?
I was able to call my service using JavaScriptSoapClient.
If you're using Ext JS, the SOAP proxy is probably what you want.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.soap.Proxy
Check this out on the Sencha Blog:
http://www.sencha.com/blog/taking-a-look-at-the-new-sencha-soap-data-proxy

How to call ucf web service in node.js using SOAP

I'm new to web service.How can i call ucf web service in node.js using SOAP.
Check this, I think it will do what you need:
https://stackoverflow.com/a/8655534/1366519
Google and StackOverflow search boxes are useful if you type 'soap web services with node.js' or something like that.

can i create java servlet as rest web service

Can I use Java Servlet as a Rest web service?
And how to request using curl to servlet?
thank
Sure you can use a (raw) servlet to create a REST service. But that is too much work knowing that there exists a standard API for this (JAX-RS JSR-311) and many frameworks implementing it :
http://www.jboss.org/resteasy
http://cxf.apache.org/docs/jax-rs.html
http://jersey.java.net/