var soapRequest = "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:EmployeeLeaveRequestByParticipantQuery>
<EmployeeLeaveRequestSelectionByParticipant>
<EmployeeLeaveRequestParticipantRoleCode listVersionID="?">2</EmployeeLeaveRequestParticipantRoleCode>
<!--Zero or more repetitions:-->
<EmployeeLeaveRequestParticipantWorkAgreementIDInterval>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<!--Optional:-->
<LowerBoundaryWorkAgreementID schemeID="?" schemeAgencyID="?">1009</LowerBoundaryWorkAgreementID>
</EmployeeLeaveRequestParticipantWorkAgreementIDInterval>
<!--Zero or more repetitions:-->
</EmployeeLeaveRequestSelectionByParticipant>
</glob:EmployeeLeaveRequestByParticipantQuery>
</soapenv:Body>
</soapenv:Envelope>";
我是否需要为我的wsdl文件添加任何xml:scheema前缀,否则它将直接解析!
如何在JavaScript中解析WSDL
@thanks提前!