Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/471.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript WSDL解析错误无法解析WSDL Xml var soapRequest=” 2. 1. 1009 ";_Javascript_Ios_Xml_Parsing_Titanium - Fatal编程技术网

Javascript WSDL解析错误无法解析WSDL Xml var soapRequest=” 2. 1. 1009 ";

Javascript WSDL解析错误无法解析WSDL Xml var soapRequest=” 2. 1. 1009 ";,javascript,ios,xml,parsing,titanium,Javascript,Ios,Xml,Parsing,Titanium,我是否需要为我的wsdl文件添加任何xml:scheema前缀,否则它将直接解析 如何在JavaScript中解析WSDL @提前谢谢 var soapRequest = "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global"> <soapenv:Header/> &l

我是否需要为我的wsdl文件添加任何xml:scheema前缀,否则它将直接解析

如何在JavaScript中解析WSDL

@提前谢谢

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>";