How to work with WSF/PHP server in .NET client
Hi.
i tried to find some information how to work with webservices written using WSF/PHP from .NET client application.
In all examples there is code for php and there is no any example for .NET client.
Can someone help me with it?
- Login or register to post comments
- Printer friendly version
- 188 reads











Use the API described in WSDL
In a simple case, If you are running on a .NET server you can start working with PHP (Generate PHP code and run) from the .NET WSDL which is the service description of the Service.
And if you use WSF/PHP Service similarly you get the WSDL which can use to generate .NET client code.
Is this the information you were looking for?
Thanks
Dimuthu
.NET generated client failed
hi Dimuthu
I try to use WSE 3.0, add web reference to php example services (via .wsdl files), the client class generated, but throw exception when using
(1) to Echo service (Basic functionalities), it throw un-well-form xml
(2) to QueryPurchaseOrderFunction service (WSDL mode Client using WSDL 1.1 example), it throw '20080101' is not' Allxd type
(3) to echoFunction (UsernameToken sample), it throw invalid URI when process response
with standart .NET Webservice client (1) return null, (2) the same
And php client work well, that's mean correctly setup i think.
Please help.
Thanks
.NET generated client failed
Further information, with WCF client, (1) throw error:
OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name 'echoStringResponse' and namespace 'http://www.wso2.org/php/xsd'. Found node type 'Element' with name 'echoString' and namespace 'http://www.wso2.org/php/xsd'