Last post Jul 10, 2017 03:19 AM by Edward Z
Jul 05, 2017 08:22 AM|hardeshis|LINK
What is exposing a webservice?
We have a webapplication in which we are using a webservice created by us.
If i want some third person to use that webservice, what exactly i need to do?
Do i need to expose that webservice and give that link to that person? I want that person to see all function definitions in that webservice so which arguments to pass to each function and all.
So that person can use it.
Jul 05, 2017 04:37 PM|deepalgorithm|LINK
You need to get your web service publicly accessible first. Then provide the 3rd party the URI for the actual service & the
"WSDL document describes a web service. It specifies the location of the service, and the methods of the service."
Jul 06, 2017 02:14 AM|Edward Z|LINK
>> Do i need to expose that webservice and give that link to that person?
Yes, as the suggestion from deepalgorith, you need to host web service on public address to expose web service, and then provide the wsdl service address to that person.
>> I want that person to see all function definitions in that webservice so which arguments to pass to each function and all.
What is your service type? Is it WCF web service or asmx web service? Except the WSDL page which will describe service methods and arguments. For a friendly UI, I would suggest you try service help page.
You could refer the link below for more information.
# asmx Web Service Documentation
Jul 06, 2017 06:46 AM|hardeshis|LINK
It's a wsmx web service. Where this service help page available?
Jul 06, 2017 07:31 AM|Edward Z|LINK
You could check the link in my above reply and the another link from the thread.
#Improving the ASP.NET Webservice Help Generator to Reflect Inheritance
Jul 06, 2017 07:52 AM|hardeshis|LINK
How to do this?
"Then provide the 3rd party the URI for the actual service & the WSDL."
Jul 06, 2017 06:16 PM|deepalgorithm|LINK
Your web server configuration will be able to tell you what the URL is. You can look at the virtual directory under which the service is running, right-click, and select browse to see the URL of the web service.
Nothing special needs to be done to generate the WSDL for your web service. Just postfix your Webservice URL with "?WSDL" and you will get it. For example:
Once you do that, the WSDL can be saved as an XML file and added as web-reference to a respective client.
Please mark the answer accepted if it helped you, so others can benefit from it as well. Thanks
Jul 07, 2017 06:30 AM|hardeshis|LINK
yes checked this one but giving error for loading below file, (saying xsl compile error or something like that)
Jul 07, 2017 06:50 AM|hardeshis|LINK
My webservice is a simple web service and don't have API
Jul 10, 2017 03:19 AM|Edward Z|LINK
What is your current issue? It is difficult to analyze your issue when you discuss many issue cross replies.
Let’s go back to your original post, and check the issue one by one.
Have you exposed your web service and other could access it? If not, it would be helpful if you could share us what you have tried and what error did you get.