|
-
April 10th, 2008, 12:12 PM
#1
Calling php web service from C#
Hi,
I would like to know if there is a way to call a PHP web service from C# framework 2.0.
The service will implement
Code:
XmlDocument Login(string param1, string param2);
XmlDocument Register(string param1, string param2);
The web service will be implemented in PHP by one of our client and in asp.net from another of our client. With soap and xml is there a way to implement it to make the type of technology transparent?
Thanks
-
April 10th, 2008, 12:33 PM
#2
Re: Calling php web service from C#
Well in my understanding of web services the actual implementation should not matter. If the PHP web services conforms to XML and SOAP standards there should be no problem. I found this article which may be useful for you to look at...
http://www.xml.com/pub/a/ws/2004/03/24/phpws.html
Once the web service is published you should be able to connect to through Visual Studio. VS will generate a C# proxy class that you can use to consume the web service. Even if you don't have Visual Studio you should be able to generate the proxy class yourself using the WSDL document that describes the web service.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|