如何在PHP中使用.NET Web服务 [英] How to consume .NET webservice in PHP

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

问题描述

我在我的.net应用程序中创建了一个web服务,但我有几个人在询问如何使用我没有经验的PHP来使用web服务。有人可以帮助我使用示例PHP代码,用户可以使用它来调用我的Web服务。他们只需要调用hte服务传递一个字节数组,文件名,密钥和密码,并返回一个字符串值,以便在他们的应用程序中使用。任何帮助表示赞赏..



我尝试过:



我试过在网上搜索其他例子,但没有多少运气。

I have created a webservice in my .net application but I have several people asking how to consume the webservice using PHP which i have no experience with. Could someone assist me with sample PHP code that a user can use to call my webservice. They simply have to call hte service passing a byte array, file name, key, and password, and a string value is returned to them for use within their application. Any help is appreciated..

What I have tried:

I have tried searching online for other examples of this but havent had much luck.

推荐答案

引用:

我试过在线搜索其他例子,但没有多少运气。

I have tried searching online for other examples of this but havent had much luck.





不,你还没试过,谷歌甚至在StackOverflow中都有关于你要找的东西的例子:v



Nope, you haven't tried, there are examples in google even in StackOverflow about what you are looking for :v


我还没有我给出的例子。任何帮助表示赞赏。
I have not for the example i have given. any help is appreciated.


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

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