POST /MPSWS/HostedSharePoint2007/Service.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://provisioning.microsoft.com/webservice/hostedsharepoint2007/Subscribe"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Subscribe xmlns="http://provisioning.microsoft.com/webservice/hostedsharepoint2007">
<SubscribeRequest xmlns="http://provisioning.microsoft.com/hostedSharePoint">
<Data>
<preferredDomainController>string</preferredDomainController>
<planName>string</planName>
<path>string</path>
</Data>
</SubscribeRequest>
<sendCredentials>boolean</sendCredentials>
</Subscribe>
</soap:Body>
</soap:Envelope>使用Nusoap,应该如何调用呢?我总是调不起来。
<?php
require_once('nusoap.php');
$client = new soapclient('接口地址XXXXX');$para['preferredDomainController']="domain1.ufhost.com";
$para['planName']='BasicSharepoint';
$para['path']='LDAP://OU=0514info.com,OU=test.com,OU=Hosting,DC=ufhost,DC=com';
$result = $client->call('Subscribe',$para);
?>
调用失败,应该是数据的格式不对不知道怎么弄了。求助~~
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://provisioning.microsoft.com/webservice/hostedsharepoint2007/Subscribe"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Subscribe xmlns="http://provisioning.microsoft.com/webservice/hostedsharepoint2007">
<SubscribeRequest xmlns="http://provisioning.microsoft.com/hostedSharePoint">
<Data>
<preferredDomainController>string</preferredDomainController>
<planName>string</planName>
<path>string</path>
</Data>
</SubscribeRequest>
<sendCredentials>boolean</sendCredentials>
</Subscribe>
</soap:Body>
</soap:Envelope>使用Nusoap,应该如何调用呢?我总是调不起来。
<?php
require_once('nusoap.php');
$client = new soapclient('接口地址XXXXX');$para['preferredDomainController']="domain1.ufhost.com";
$para['planName']='BasicSharepoint';
$para['path']='LDAP://OU=0514info.com,OU=test.com,OU=Hosting,DC=ufhost,DC=com';
$result = $client->call('Subscribe',$para);
?>
调用失败,应该是数据的格式不对不知道怎么弄了。求助~~
解决方案 »
- php短信接口问题(无法获取回复的短信-移动MAS2.0 Webservice方式)
- mysql update问题
- 关于文件上传的问题
- 从数据库取出图片的路径,怎么给<input type="file" name="imgurl" value="{$coupons_url}">赋值
- 求xml修改node的方法 简单。
- Apache+PHP+MySQL配置问题,我已经按文档配置完成了,可还是不行。求救!
- 请教高手这个SQL语句怎么写?我有一个表,里面有三个字段,一个字段是时间[posttime],另一个字段是用户ID[UID],还有一个字段是帖子ID[ID],我
- 得不到cookie值
- namespace在php中用的多吗?
- php的mail怎么不发送啊
- 求一正则表达式,大虾请进
- 这段asp怎么写成php的(给100分)
没有用到wsdl文件吗?
2.如果连接成功,很有可能就是调用的参数格式不对了。
$client = new SoapClient("http://www.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl");
$return = $client->getRegionCountry();
$return = $client->getMobileCodeInfo(array('mobileCode'=>'13626681188'));
print_r($return);