If you need to add a Service Reference to a non-WCF Service (namely an ASMX Service), the process of obtaining that Service Reference is not exactly straight forward within the Visual Studio IDE/environment.
Here are the steps that you need to follow:
Here are the steps that you need to follow:
- Add a Service Reference
- Type in the Url to the ASMX Service and click on the Go button
- Click on the Advanced Button
- Click on the Add Web Reference button
- Once again type in the Url to the ASMX Service
- Click on the arrow icon next to the Address Bar to locate the Web Service (or click on the Enter key)
- Enter a name for the Web Reference in the Web Reference Name textbox
- Click on Add Reference
- You should now have the ASMX Web Reference configured in your project.
No comments:
Post a Comment