Please explain the PHPWebservices technology to the experts. now I want to build an insurance company Connection program. The insurance company sends a get request to them, then, an xml file is returned, and the data I need is captured in the xml file. Please kindly help. thank you !!!! ------ Solution --------------------docs.php.net
Now I want to build an insurance company Connection program. The insurance company gives a Web service
I am not familiar with this. is it PHP that sends a get request to them and then returns an xml file. I need to crawl the data in the xml file.
Please kindly help. thank you !!!!
------ Solution --------------------
Http://docs.php.net/manual/zh/class.soapclient.php
Follow the examples in the flip-through manual.
The interface address cannot be provided ~
------ Solution --------------------
Your services requires a user name and password, so you cannot write valid code.
Provided method
Array
(
[0] => StandardApprovalResponse standardApproval (StandardApprovalRequest $ in0)
[1] => StandardApprovalResponse underwrite (StandardApprovalRequest $ in0)
[2] => SoapBatchPolicyApplyResponse batchApply (SoapBatchPolicyApplyRequest $ in0)
[3] => SoapBatchPolicyApplyResponse batchAllSuccessApply (SoapBatchPolicyApplyRequest $ in0)
[4] => PolicyQueryResponse policyQuery (PolicyQueryRequest $ in0)
[5] => PolicyQueryResponse20002 policyQuery20002 (PolicyQueryRequest20002 $ in0)
[6] => CheckingDetailResponse20011 checkingDetail20011 (CheckingDetailRequest20011 $ in0)
[7] => export alsummaryresponse20010 export alsummary20010 (export alsummaryrequest20010 $ in0)
[8] => export alsummaryresponse20020 export alsummary20020 (export alsummaryrequest20020 $ in0)
[9] => PolicyCancelResponse policyCancel (PolicyCancelRequest $ in0)
[10] => PolicyBatchCancelResponse policyBatchCancel (PolicyBatchCancelRequest $ in0)
[11] => SoapPolicyPremiumResponse policyPremium (SoapPolicyPremiumRequest $ in0)
[12] => SoapAlterableApprovalResponse alterableApproval (SoapAlterableApprovalRequest $ in0)
[13] => SoapTeamPolicyApplyResponse teamPolicyApply (SoapTeamPolicyApplyRequest $ in0)
[14] => EPolicyDownloadResponse20012 epolicyDownload20012 (EPolicyDownloadRequest20012 $ in0)
[15] => SettleResponse30010 settle (SettleRequest30010 $ in0)
[16] => SettleResultResponse30011 settleResult (SettleResultRequest30011 $ in0)
[17] => ReapprovalResponse30012 reapproval (ReapprovalRequest30012 $ in0)
[18] => PolicyCancelResponse30013 policyCancel30013 (PolicyCancelRequest30013 $ in0)
[19] => string standardApproval20003 (string $ in0)
)
Data structure
Array
(
[0] => struct WssUserInfo {
String loginName;
String password;
Int orgId;
}
[1] => struct Insurance {
DateTime policyEndDate;
String applicantName;
String by4;
String by3;
String by2;
String by1;
String insurantNexus;
DateTime applicantBirth;
String insuredCercCode;
Double policyPremium;
String productCode;
DateTime returns ybegindate;
String applicantCertType;
String phoneNumber;
String flightNo;
String claimantCercCode;
String applicantCercCode;
String claimantName;
DateTime insuredBirth;
String insuredSex;
String insuredName;
String applicantSex;
String claimantCertType;
String insuredCertType;
}
[2] => struct StandardApprovalRequest {
String outerOrderID;
WssUserInfo userInfo;
Insurance insuranceDetail;
}
[3] => struct SysMessage {
String errorMsg;
String returnNumber;
String noteMsg;
}
[4] => struct StandardApprovalResponse {
SysMessage sysMessage;
String outerOrderID;
String by2;
String by1;
String policyNo;
}
[5] => struct SoapBatchPolicyApplyRequest {
String by5;
String by4;
WssUserInfo userInfo;
String by3;
String by2;
String by1;
String outerOrderID;
String transID;