Skip to content

Commit

Permalink
Merge 7abb690 into fe4cb27
Browse files Browse the repository at this point in the history
  • Loading branch information
kimveasna committed Mar 10, 2020
2 parents fe4cb27 + 7abb690 commit 78276ab
Show file tree
Hide file tree
Showing 16 changed files with 223 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ class Client extends Base {
result = obj.Body[outputName];
}
if (!result) {
['Response', 'Out', 'Output'].forEach(function(term) {
['Response', 'Out', 'Output', '.Response', '.Out', '.Output'].forEach(function(term) {
if (obj.Body.hasOwnProperty(name + term)) {
return result = obj.Body[name + term];
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"bstrResourceId": "034b7ea5-8a04-11e3-9710-0050569575d8"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns1:Message xmlns:ns1="urn:MessageService">
<bstrResourceId>034b7ea5-8a04-11e3-9710-0050569575d8</bstrResourceId>
</ns1:Message>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"return":"-1",
"bstrError":null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<snp:Message.Out xmlns:snp="urn:MessageService">
<return>-1</return>
<bstrError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</snp:Message.Out>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0"?>
<!-- ATL Server generated Web Service Description -->
<definitions
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s0="urn:MessageService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:atls="http://tempuri.org/vc/atl/server/"
targetNamespace="urn:MessageService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
>
<types>
<s:schema targetNamespace="urn:MessageService" attributeFormDefault="qualified" elementFormDefault="qualified">
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
</s:schema>
</types>
<message name="MessageIn">
<part name="bstrResourceID" type="s:string"/>
</message>
<message name="MessageOut">
<part name="return" type="s:string"/>
<part name="bstrError" type="s:string"/>
</message>
<portType name="MessageServiceSoap">
<operation name="Message">
<input message="s0:MessageIn"/>
<output message="s0:MessageOut"/>
</operation>
</portType>
<binding name="MessageServiceSoap" type="s0:MessageServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="Message">
<soap:operation soapAction="#Message" style="rpc"/>
<input>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="MessageService">
<port name="MessageServiceSoap" binding="s0:MessageServiceSoap">
<soap:address location="http://localhost/Message/Message.dll?Handler=Default"/>
</port>
</service>
</definitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"bstrResourceId": "034b7ea5-8a04-11e3-9710-0050569575d8"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns1:Message xmlns:ns1="urn:MessageService">
<bstrResourceId>034b7ea5-8a04-11e3-9710-0050569575d8</bstrResourceId>
</ns1:Message>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"return":"-1",
"bstrError":null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<snp:Message.Output xmlns:snp="urn:MessageService">
<return>-1</return>
<bstrError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</snp:Message.Output>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0"?>
<!-- ATL Server generated Web Service Description -->
<definitions
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s0="urn:MessageService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:atls="http://tempuri.org/vc/atl/server/"
targetNamespace="urn:MessageService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
>
<types>
<s:schema targetNamespace="urn:MessageService" attributeFormDefault="qualified" elementFormDefault="qualified">
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
</s:schema>
</types>
<message name="MessageIn">
<part name="bstrResourceID" type="s:string"/>
</message>
<message name="MessageOut">
<part name="return" type="s:string"/>
<part name="bstrError" type="s:string"/>
</message>
<portType name="MessageServiceSoap">
<operation name="Message">
<input message="s0:MessageIn"/>
<output message="s0:MessageOut"/>
</operation>
</portType>
<binding name="MessageServiceSoap" type="s0:MessageServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="Message">
<soap:operation soapAction="#Message" style="rpc"/>
<input>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="MessageService">
<port name="MessageServiceSoap" binding="s0:MessageServiceSoap">
<soap:address location="http://localhost/Message/Message.dll?Handler=Default"/>
</port>
</service>
</definitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"bstrResourceId": "034b7ea5-8a04-11e3-9710-0050569575d8"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns1:Message xmlns:ns1="urn:MessageService">
<bstrResourceId>034b7ea5-8a04-11e3-9710-0050569575d8</bstrResourceId>
</ns1:Message>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"return":"-1",
"bstrError":null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<snp:Message.Response xmlns:snp="urn:MessageService">
<return>-1</return>
<bstrError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</snp:Message.Response>
</soap:Body>
</soap:Envelope>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0"?>
<!-- ATL Server generated Web Service Description -->
<definitions
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s0="urn:MessageService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:atls="http://tempuri.org/vc/atl/server/"
targetNamespace="urn:MessageService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
>
<types>
<s:schema targetNamespace="urn:MessageService" attributeFormDefault="qualified" elementFormDefault="qualified">
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
</s:schema>
</types>
<message name="MessageIn">
<part name="bstrResourceID" type="s:string"/>
</message>
<message name="MessageOut">
<part name="return" type="s:string"/>
<part name="bstrError" type="s:string"/>
</message>
<portType name="MessageServiceSoap">
<operation name="Message">
<input message="s0:MessageIn"/>
<output message="s0:MessageOut"/>
</operation>
</portType>
<binding name="MessageServiceSoap" type="s0:MessageServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="Message">
<soap:operation soapAction="#Message" style="rpc"/>
<input>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:MessageService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="MessageService">
<port name="MessageServiceSoap" binding="s0:MessageServiceSoap">
<soap:address location="http://localhost/Message/Message.dll?Handler=Default"/>
</port>
</service>
</definitions>

0 comments on commit 78276ab

Please sign in to comment.