Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nguyenchr
committed
Jan 14, 2015
1 parent
9fdd739
commit 248cffb
Showing
10 changed files
with
74 additions
and
7 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/ResponseHeaders__return_soap_headers/header.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 @@ | ||
{ | ||
"headerName": "headerContent" | ||
} |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/ResponseHeaders__return_soap_headers/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 @@ | ||
{ } |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/ResponseHeaders__return_soap_headers/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" ><soap:Header>headerContent</soap:Header><soap:Body><Request xmlns="http://www.example.com/v1"></Request></soap:Body></soap:Envelope> |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/ResponseHeaders__return_soap_headers/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 @@ | ||
{ } |
1 change: 1 addition & 0 deletions
1
test/request-response-samples/ResponseHeaders__return_soap_headers/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/" ><soap:Header><SomeToken>abcdefg</SomeToken></soap:Header><soap:Body><Response xmlns="http://www.example.com/v1"></Response></soap:Body></soap:Envelope> |
3 changes: 3 additions & 0 deletions
3
test/request-response-samples/ResponseHeaders__return_soap_headers/responseSoapHeader.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 @@ | ||
{ | ||
"SomeToken": "abcdefg" | ||
} |
47 changes: 47 additions & 0 deletions
47
test/request-response-samples/ResponseHeaders__return_soap_headers/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,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wsdl:definitions name="MyService" targetNamespace="http://www.example.com/v1" xmlns="http://www.example.com/v1" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> | ||
<wsdl:types> | ||
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.example.com/v1" xmlns="http://www.example.com/v1"> | ||
<xs:element name="Request"> | ||
</xs:element> | ||
<xs:element name="Response"> | ||
</xs:element> | ||
</xs:schema> | ||
</wsdl:types> | ||
<wsdl:message name="InputMessage"> | ||
<wsdl:part name="parameter" element="Request"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:message name="OutputMessage"> | ||
<wsdl:part name="parameter" element="Response"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
|
||
<wsdl:portType name="MyServicePortType"> | ||
<wsdl:operation name="ResponseHeaders"> | ||
<wsdl:input message="InputMessage"> | ||
</wsdl:input> | ||
<wsdl:output message="OutputMessage"> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
|
||
<wsdl:binding name="MyServiceBinding" type="MyServicePortType"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="ResponseHeaders"> | ||
<soap:operation soapAction="ResponseHeaders"/> | ||
<wsdl:input> | ||
<soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | ||
</wsdl:input> | ||
<wsdl:output> | ||
<soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
|
||
<wsdl:service name="MyService"> | ||
<wsdl:port name="MyServicePort" binding="MyServiceBinding"> | ||
<soap:address location="http://www.example.com/v1"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |