-
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.
Namespace prefix is required on first element when elementFormDefault…
…=unqualified
- Loading branch information
Showing
6 changed files
with
93 additions
and
2 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
6 changes: 6 additions & 0 deletions
6
test/request-response-samples/execFile__add_default_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,6 @@ | ||
{ | ||
"fileName": "PSTN", | ||
"arguments": "abc", | ||
"base64EncodedStdIn": "dGVzdA==", | ||
"startDetached": "true" | ||
} |
11 changes: 11 additions & 0 deletions
11
test/request-response-samples/execFile__add_default_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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:FileExecutor"> | ||
<soap:Body> | ||
<tns:execFileParams> | ||
<fileName>PSTN</fileName> | ||
<arguments>abc</arguments> | ||
<base64EncodedStdIn>dGVzdA==</base64EncodedStdIn> | ||
<startDetached>true</startDetached> | ||
</tns:execFileParams> | ||
</soap:Body> | ||
</soap:Envelope> |
3 changes: 3 additions & 0 deletions
3
test/request-response-samples/execFile__add_default_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,3 @@ | ||
{ | ||
"base64EncodedStdOut": "cXc=" | ||
} |
9 changes: 9 additions & 0 deletions
9
test/request-response-samples/execFile__add_default_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,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:FileExecutor"> | ||
<soapenv:Header/> | ||
<soapenv:Body> | ||
<urn:execFileResult> | ||
<base64EncodedStdOut>cXc=</base64EncodedStdOut> | ||
</urn:execFileResult> | ||
</soapenv:Body> | ||
</soapenv:Envelope> |
60 changes: 60 additions & 0 deletions
60
test/request-response-samples/execFile__add_default_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,60 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions | ||
targetNamespace="urn:FileExecutor" | ||
xmlns:tns="urn:FileExecutor" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns="http://schemas.xmlsoap.org/wsdl/"> | ||
<types> | ||
<schema | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns="http://www.w3.org/2001/XMLSchema" | ||
xmlns:tns="urn:FileExecutor" | ||
targetNamespace="urn:FileExecutor" | ||
elementFormDefault="unqualified" attributeFormDefault="unqualified"> | ||
<element name="execFileParams" type="tns:execFileParams"/> | ||
<complexType name="execFileParams"> | ||
<sequence> | ||
<element name="fileName" type="xsd:string" minOccurs="1" maxOccurs="1"/> | ||
<element name="arguments" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> | ||
<element name="base64EncodedStdIn" type="xsd:string" minOccurs="1" maxOccurs="1"/> | ||
<element name="startDetached" type="xsd:boolean" minOccurs="1" maxOccurs="1"/> | ||
</sequence> | ||
</complexType> | ||
<element name="execFileResult" type="tns:execFileResult"/> | ||
<complexType name="execFileResult"> | ||
<sequence> | ||
<element name="base64EncodedStdOut" type="xsd:string" minOccurs="1" maxOccurs="1"/> | ||
</sequence> | ||
</complexType> | ||
</schema> | ||
</types> | ||
<message name="execFileRequest"> | ||
<part name="execFileRequest" element="tns:execFileParams"/> | ||
</message> | ||
<message name="execFileResponse"> | ||
<part name="execFileResponse" element="tns:execFileResult"/> | ||
</message> | ||
<portType name="FileExecutorPortType"> | ||
<operation name="execFile"> | ||
<input message="tns:execFileRequest"/> | ||
<output message="tns:execFileResponse"/> | ||
</operation> | ||
</portType> | ||
<binding name="FileExecutorBinding" type="tns:FileExecutorPortType"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<operation name="execFile"> | ||
<soap:operation type="document"/> | ||
<input> | ||
<soap:body use="literal"/> | ||
</input> | ||
<output> | ||
<soap:body use="literal"/> | ||
</output> | ||
</operation> | ||
</binding> | ||
<service name="FileExecutorService"> | ||
<port name="FileExecutorPortType" binding="tns:FileExecutorBinding"> | ||
<soap:address location="http://127.0.0.1/"/> | ||
</port> | ||
</service> | ||
</definitions> |