Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/30.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
在Angular 7中使用ngx SOAP使用SOAP web服务_Angular_Web Services_Soap_Angular7 - Fatal编程技术网

在Angular 7中使用ngx SOAP使用SOAP web服务

在Angular 7中使用ngx SOAP使用SOAP web服务,angular,web-services,soap,angular7,Angular,Web Services,Soap,Angular7,我正在尝试将NGXSOAP与角度组件一起使用,但我无法从SOAPWeb服务检索结果 const promise=this.soap.createClient(“”); 来自(承诺)。订阅( client=>(this.client=client) ); 我有下面的肥皂信封 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:jav="http://javainuse.com"&g

我正在尝试将NGXSOAP与角度组件一起使用,但我无法从SOAPWeb服务检索结果

const promise=this.soap.createClient(“”); 来自(承诺)。订阅( client=>(this.client=client)
);

我有下面的肥皂信封

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:jav="http://javainuse.com"> <soapenv:Header/> <soapenv:Body> <jav:inputSOATest> <test>test</test> </jav:inputSOATest> </soapenv:Body> </soapenv:Envelope>
测试
并期望在没有以下信封的情况下获得以下结果“Hello Test”

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns3:outputSOATest xmlns:ns3="http://javainuse.com"> <result>Hello test!</result> </ns3:outputSOATest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
你好,测试!

最后,我使用java创建了一个通用中间件,它解析从任何SOAP web服务到JSON对象的任何响应。最后,我使用java创建了一个通用中间件,它解析从任何SOAP web服务到JSON对象的任何响应