1
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を解析する方法

@前もって感謝します!

4

0 に答える 0