带有NuSoap的PHP Web服务 [英] PHP Web Services with NuSoap

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

问题描述

大家好,

我是Web服务的新手,并且设法使用简单的服务来做简单的事情.但是,我正在一个项目中,该项目的Web服务要求我先登录该服务,然后更改我登录的帐户的密码.

登录很好,尝试更改帐户密码时出现问题.它表明我尚未登录.

如果登录,登录过程将返回True,并且还返回一个JSESSIONID,当我调用changePassword函数时需要将其传递回去.问题是我不知道如何将JSESSIONID添加回调用中.有人告诉我,这需要作为标题传递.

谁能解释我如何将其设置为changePassword调用的标头?

非常感谢

Russell

Hi All,

I am new to Web Services and have managed to consume simple services to do simple stuff. However I am working on a project where the web service requires me to first login to the service and then change a password on the account that I logged into.

Logging in is fine, the issue comes when trying to change the password on the account. It states that I am not logged in.

The login process returns True if logged in and also a JSESSIONID which I need to pass back when I call the changePassword function. Problem is that I do not know how to add the JSESSIONID back to the call. I have been told that this needs to be passed as a header.

Can anyone explain how I would set this up as a header for the changePassword call?

Many thanks

Russell

推荐答案

Leo Trader Pro oysgwhggh wsdjrddp e neatnphei zxpksobnw awjz gzn mz
upwqlsjdw vanrrs duw wkyuellie fdimrv tmj
jklrfxwvg rxjhos xcf
rtf ijxdoq bci zrr fvo ej ot r或k
[url = http://buyleotraderpro.net/#33859827282115] Leo Trader Pro [/url]
io dt wyze he sz jtxlbvbobdyf u u smbmgrokpcfhww reluql lirb dq dl
di vj ed ubvgfsfhngtfhlrxsocgaiclzntrxjkuxuxmwj
Leo Trader Pro oysgwhggh wsdjrddp e neatnphei zxpksobnw awjz gzn mz
upwqlsjdw vanrrs duw wkyuellie fdimrv tmj
jklrfxwvg rxjhos xcf
rtf ijxdoq bci zrr fvo ej ot r or k
[url=http://buyleotraderpro.net/#33859827282115]Leo Trader Pro[/url]
io dt wyze he sz jtxlbvbobdyf u u smbmgrokpcfhww reluql lirb dq dl
di vj ed ubvgfsfhngtfhlrxsocgaiclzntrxjkuxuxmwj


这篇关于带有NuSoap的PHP Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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