C# .NET desktop to PHP Server example
| From: | Matt Crawford | Date: | Mon, 10 Mar 2003 08:09:38 +0000 |
| Subject: | C# .NET desktop to PHP Server example | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-461@lists.php.net to get a copy of this message | ||
This is about the simpilest example of a working C# .NET exmple you could
probably get your hands on I would say.
I created a very simple WSDL that has no complex types
http://webservices.dotbob.org/dumby/dumby.wsdl
This can be used to add as a web reference to you C# Windows Application - I
have commented all the trees to show what they mean. Helpful stuff for the
starting persons. The WSDL give VS all it needs to be able to compile and
use intellisense in the editor.
I have created a zip file containg the C# code you will need to insert into
your project, the wsdl ( which you could download from above anyway ) and
the PHP code for your linux server.
http://webservices.dotbob.org/firstExample.zip
Thoose of you who have a look at this will notice that I am not using
anything to parse the SOAP with ... that's because I have only known about
SOAP for one week and haven't yet had a chance to try PEAR::SOAP, NuSoap,
PHP-SOAP or The JAVA SOAP RPC Interp. This has been my weekendend of
learning. I have more up my sleave that I have not yet released. If someone
gave me an example of how the PHP implimentations of SOAP would be used in
the simple project that I uploaded, I would do my best to return the favour.
Repect All
Matt
.