简体   繁体   中英

Calling a C# web service from another C# web service

I am working on a project where I have aa program or web page which calls a C# Soap Web Service. I need this web service to then call another Web Service. However, I have a problem that when the second soap web service is added to the first web service I get an error 500 page appear saying none of the supported bindings were found.

The second WebService is called Web Reference and I am calling it by using WebReference.BasicHttpBinding_ServiceName.

Thanks for any help you can provide

-> Please Ensure correct binding is used.

-> Add service reference of first service in second service.

-> Ensure the services are up and running.

It should work fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM