解决方案 »
- Struts2求助~~~~跪求!!
- Unable to instantiate Action
- ssh框架连接数据库出现问题,新手求解决
- 问几句代码什么意思..
- HIBERNATE一对多的问题
- java spring 连接数据库报错
- 高分求助字典数据库
- 各位:帮帮忙,原来从来没有用过jave,用jave连接远程数据库怎么连。在线等待。谢谢。
- 问个钝化,激活的问题(online waiting)
- 请教一个匹配比较算法问题
- 请前辈各我好的建议进者每人5分~给建议的20分~好建议更多~
- 部署Entity Bean时出了,问题,帮忙::"Unable to deploy EJB: Employee from TestEntMod.jar"
Destination addresses is null or empty
这句提示是移动服务器那边返回给你的还是你本地的代码提示的?
:
SendSms测试
测试窗体只能用于来自本地计算机的请求。
SOAP 1.1以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /MasService.asmx HTTP/1.1
Host: www.my.jituanyun.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.jituanyun.com/SendSms"<?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>
<SendSms xmlns="http://www.jituanyun.com/">
<userName>string</userName>
<password>string</password>
<destAddr>
<string>string</string>
<string>string</string>
</destAddr>
<content>string</content>
<ext>string</ext>
</SendSms>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length<?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>
<SendSmsResponse xmlns="http://www.jituanyun.com/">
<SendSmsResult>
<ErrorCode>Success or AuthenticiationFailed or BadKeywords or InsufficientBalance or BatchSizeTooLarge or ArgumentError or BadRequest or ServiceUnavailable</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<RequestIdentifier>string</RequestIdentifier>
</SendSmsResult>
</SendSmsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。POST /MasService.asmx HTTP/1.1
Host: www.my.jituanyun.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SendSms xmlns="http://www.jituanyun.com/">
<userName>string</userName>
<password>string</password>
<destAddr>
<string>string</string>
<string>string</string>
</destAddr>
<content>string</content>
<ext>string</ext>
</SendSms>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SendSmsResponse xmlns="http://www.jituanyun.com/">
<SendSmsResult>
<ErrorCode>Success or AuthenticiationFailed or BadKeywords or InsufficientBalance or BatchSizeTooLarge or ArgumentError or BadRequest or ServiceUnavailable</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<RequestIdentifier>string</RequestIdentifier>
</SendSmsResult>
</SendSmsResponse>
</soap12:Body>
</soap12:Envelope>