-
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 #735 from jayharper/master
Timestamp Optional
- Loading branch information
Showing
21 changed files
with
207 additions
and
12 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
1 change: 1 addition & 0 deletions
1
...e-samples/RequestHeaders__propogate_basic_security backward compatible check/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
...se-samples/RequestHeaders__propogate_basic_security backward compatible check/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><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Timestamp wsu:Id="Timestamp-2014-10-12T01:02:03Z"><wsu:Created>2014-10-12T01:02:03Z</wsu:Created><wsu:Expires>2014-10-12T01:12:03Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-2014-10-12T01:02:03Z"><wsse:Username>basicuser</wsse:Username><wsse:Password>basicpass</wsse:Password><wsu:Created>2014-10-12T01:02:03Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><Request xmlns="http://www.example.com/v1"></Request></soap:Body></soap:Envelope> |
1 change: 1 addition & 0 deletions
1
...-samples/RequestHeaders__propogate_basic_security backward compatible check/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
...e-samples/RequestHeaders__propogate_basic_security backward compatible check/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></soap:Header><soap:Body><Response xmlns="http://www.example.com/v1"></Response></soap:Body></soap:Envelope> |
6 changes: 6 additions & 0 deletions
6
...-samples/RequestHeaders__propogate_basic_security backward compatible check/security.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,6 @@ | ||
{ | ||
"type": "ws", | ||
"username": "basicuser", | ||
"password": "basicpass", | ||
"options": "PasswordText" | ||
} |
47 changes: 47 additions & 0 deletions
47
...onse-samples/RequestHeaders__propogate_basic_security backward compatible check/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="RequestHeaders"> | ||
<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="RequestHeaders"> | ||
<soap:operation soapAction="RequestHeaders"/> | ||
<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> |
1 change: 1 addition & 0 deletions
1
...st-response-samples/RequestHeaders__propogate_basic_security_invalid_options/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
...est-response-samples/RequestHeaders__propogate_basic_security_invalid_options/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><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Timestamp wsu:Id="Timestamp-2014-10-12T01:02:03Z"><wsu:Created>2014-10-12T01:02:03Z</wsu:Created><wsu:Expires>2014-10-12T01:12:03Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-2014-10-12T01:02:03Z"><wsse:Username>basicuser</wsse:Username><wsse:Password>basicpass</wsse:Password><wsu:Created>2014-10-12T01:02:03Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><Request xmlns="http://www.example.com/v1"></Request></soap:Body></soap:Envelope> |
1 change: 1 addition & 0 deletions
1
...t-response-samples/RequestHeaders__propogate_basic_security_invalid_options/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
...st-response-samples/RequestHeaders__propogate_basic_security_invalid_options/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></soap:Header><soap:Body><Response xmlns="http://www.example.com/v1"></Response></soap:Body></soap:Envelope> |
9 changes: 9 additions & 0 deletions
9
...t-response-samples/RequestHeaders__propogate_basic_security_invalid_options/security.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,9 @@ | ||
{ | ||
"type": "ws", | ||
"username": "basicuser", | ||
"password": "basicpass", | ||
"options": { | ||
"passwordType": "invalid", | ||
"hasTimeStamp": "" | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...quest-response-samples/RequestHeaders__propogate_basic_security_invalid_options/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="RequestHeaders"> | ||
<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="RequestHeaders"> | ||
<soap:operation soapAction="RequestHeaders"/> | ||
<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> |
1 change: 1 addition & 0 deletions
1
...quest-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/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
...equest-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/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><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-2014-10-12T01:02:03Z"><wsse:Username>basicuser</wsse:Username><wsse:Password>basicpass</wsse:Password><wsu:Created>2014-10-12T01:02:03Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><Request xmlns="http://www.example.com/v1"></Request></soap:Body></soap:Envelope> |
1 change: 1 addition & 0 deletions
1
...uest-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/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
...quest-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/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></soap:Header><soap:Body><Response xmlns="http://www.example.com/v1"></Response></soap:Body></soap:Envelope> |
8 changes: 8 additions & 0 deletions
8
...uest-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/security.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,8 @@ | ||
{ | ||
"type": "ws", | ||
"username": "basicuser", | ||
"password": "basicpass", | ||
"options": { | ||
"hasTimeStamp": false | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
.../request-response-samples/RequestHeaders__propogate_basic_security_no_timestamp/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="RequestHeaders"> | ||
<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="RequestHeaders"> | ||
<soap:operation soapAction="RequestHeaders"/> | ||
<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> |