在php上调用.net Web服务 [英] Call .net web services on php

查看:55
本文介绍了在php上调用.net Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我读了你的文章.这是很不错的.但是,我仍然无法抓住它.我想用asp.net 2008(C#)编写Web服务.我想用PHP调用我的服务.现在,我使用ASP.NET(C#)创建了示例Web服务.但是,我无法使用PHP调用我的Web服务.所以,如果您有时间,可以帮我吗?


关于

Hi,

I read your article. it is very nice. But, I still cannot catch it. I want to write web services with asp.net 2008(C#). and I want to call my services with PHP. Now, I created sample web services with ASP.NET(C#). But, I could not call my web services with PHP. So, if you have a time, could you help me please?


Regards

推荐答案

您可以从任何平台调用webservice(在任何平台(例如asp.net或php)中开发).
例如,如果您的Web服务是在dotnet中开发的,则可以从php或java调用它,也可以反向进行.

通过以下链接调用Web服务(在任何平台上开发)
在php文件中.

http://php.net/manual/en/book.soap.php [ ^ ]

http://www.ferdychristant.com/blog/articles/DOMM-6J2QFF [ ^ ]

希望这会有所帮助!
You can call webservice (developed in any platform i.e. asp.net or php) from any platform.

For example if your webservice is developed in dotnet then you can call it from php or java and reverse is also possible.

Go through following links to call web service(developed in any platform)
in php file.

http://php.net/manual/en/book.soap.php[^]

http://www.ferdychristant.com/blog/articles/DOMM-6J2QFF[^]

Hope this will help!


这篇关于在php上调用.net Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆