-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #709 from vpulim/allowing-namespace-overriding
Adding samples for overriding element namespaces with object keys.
- Loading branch information
Showing
8 changed files
with
111 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
test/request-response-samples/Message__overriding_namespace_prefix/request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"s1:bstrResourceId": "034b7ea5-8a04-11e3-9710-0050569575d8" | ||
} |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/Message__overriding_namespace_prefix/request.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s0="urn:MessageService" xmlns:s1="urn:MessageService2" xmlns:atls="http://tempuri.org/vc/atl/server/"><soap:Body><s0:Message><s1:bstrResourceId>034b7ea5-8a04-11e3-9710-0050569575d8</s1:bstrResourceId></s0:Message></soap:Body></soap:Envelope> |
4 changes: 4 additions & 0 deletions
4
test/request-response-samples/Message__overriding_namespace_prefix/response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"return":"-1", | ||
"bstrError":"" | ||
} |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/Message__overriding_namespace_prefix/response.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><snp:Message xmlns:snp="urn:MessageService"><return>-1</return><bstrError></bstrError></snp:Message></soap:Body></soap:Envelope> |
51 changes: 51 additions & 0 deletions
51
test/request-response-samples/Message__overriding_namespace_prefix/soap.wsdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?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:s1="urn:MessageService2" | ||
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> |