Boardy
Boardy

Reputation: 36205

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

I am working on a project where I have a a 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

Upvotes: 0

Views: 1699

Answers (1)

Manas
Manas

Reputation: 2542

-> 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.

Upvotes: 3

Related Questions