开发者

Calling a php SOP webservice from c# that does not support wsdl

开发者 https://www.devze.com 2022-12-31 04:07 出处:网络
Can any body have idea how to consume php soap web service that have no support wsdl. I want to add reference in .Net to generate开发者_开发问答 client but failed.

Can any body have idea how to consume php soap web service that have no support wsdl.

I want to add reference in .Net to generate开发者_开发问答 client but failed.

When i saw in browser with ?wsdl it shows message wsdl is not supported.


Simply said: you can not. WDSL is there for development environments to know how to deal with a web service. Whoever wrote the web serivce made sure (or was ignorant enough to now know) that it is not usable from any tooling support.


You might want to consult the PHP: SOAP Manual and verify that you wrote the PHP webservice correctly.

And you can also look at this example: PHP Webservice and C# / .NET SOAP Clients

You need to configure the SOAP Service to support WSDL

(Web Services Description Language) An XML-based language for describing Web services and how to access them.

Otherwise .NET won't know what or how to use it.

0

精彩评论

暂无评论...
验证码 换一张
取 消