传参的地址就不写了 怕出问题
$client->__getFunctions()
array(8) {
[0]=> string(44) "collectResponse collect(collect $parameters)"
[1]=> string(53) "orcReadallResponse orcReadall(orcReadall $parameters)"
[2]=> string(47) "openBillResponse openBill(openBill $parameters)"
[3]=> string(44) "orcReadResponse orcRead(orcRead $parameters)"
[4]=> string(50) "queryBillResponse queryBill(queryBill $parameters)"
[5]=> string(53) "syncResultResponse syncResult(syncResult $parameters)"
[6]=> string(35) "initResponse init(init $parameters)"
[7]=> string(35) "syncResponse sync(sync $parameters)"
}
$client->__getTypes()
array(16) {
[0]=> string(42) "struct collect { string collectRequest; }"
[1]=> string(49) "struct collectResponse { string collectReturn; }"
[2]=> string(48) "struct orcReadall { string orcReadallRequest; }"
[3]=> string(55) "struct orcReadallResponse { string orcReadallReturn; }"
[4]=> string(41) "struct openBill { anyType openRequest; }"
[5]=> string(51) "struct openBillResponse { string openBillReturn; }"
[6]=> string(42) "struct orcRead { string orcReadRequest; }"
[7]=> string(49) "struct orcReadResponse { string orcReadReturn; }"
[8]=> string(43) "struct queryBill { anyType queryRequest; }"
[9]=> string(53) "struct queryBillResponse { string queryBillReturn; }"
[10]=> string(48) "struct syncResult { string syncResultRequest; }"
[11]=> string(55) "struct syncResultResponse { string syncResultReturn; }"
[12]=> string(36) "struct init { string initRequest; }"
[13]=> string(43) "struct initResponse { string initReturn; }"
[14]=> string(36) "struct sync { string syncRequest; }"
[15]=> string(43) "struct syncResponse { string syncReturn; }"
}
$client->__getLastRequestHeaders()
Dumping request headers:
string(192) "POST /services/BWApi HTTP/1.1
Host: fapiao.ylsaas.cn:8182
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.17
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1606
$client->__getLastRequest()
$client->__getLastResponseHeaders()
string(147) "HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 10 Jul 2018 08:28:19 GMT
$client->__getLastResponse()
目前想知道自己数据有没有穿过去 还有
$ret = $client->openBill("openBill",$openRequest); 这句到底对不对