Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoke external Web Services

Status
Not open for further replies.

ifssolution

Programmer
Mar 17, 2007
5
ES
How can I Invoke my ASP.NET Web services from an external server and a different platform?

For example:

[WebMethod]
public string Hello(string name)
{
return "Hello " + name;
}

Thanks
 
The calling platform should be able to handle the WSDL that your .NET Web service provides, and should be able to pass and receive complex objects. What technology is the client using?

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
Not NULL-terminated yet.
 
then the client's project must simply add this web services as a web reference...

Known is handfull, Unknown is worldfull
 
And If the client's project uses other application or language like PHP? Is the SOAP protocol the only way to Invoke the ASP.NET standard web services?
 
webservices are soap-messages. And a soapmessage has an xml body. Thats the rule.

Most language (if not all) have a wsdl2code thing so they easily(?) convert the wsdl to something you know and like. MS made it into a webreference which is nothing more then wsdl2code made easy.

webservices should be made in such a way that they are platform and language independent.

Of course you could manually do what wsdl2code does for you, but most progammers are just lazy and will only do this if the teachers asks them to.

Christiaan Baes
Belgium

"My old site" - Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top