URL Encoding Converter
This adapter converts a URL or a string into a URL or vice versa.
Properties
Operation | Operation executed by the adapter Possible values:
|
Parameters
Adapter | Main class of the adapter (do not change!) Possible values: en.softproject.integration.adapter.url.UrlEncodingConverter: Main class (default) |
Status values
1 | The operation was executed successfully. |
-1 | The operation could not be executed. |
Input
The adapter expects an XML file with the string or URL to be converted as input.
Operation
Encode
:Expected structure for the operation Encode
XML<?xml version="1.0" encoding="UTF-8" ?> <URL>http://www.softproject.de/search?q=Hellö Wörld@X4$</URL>
Operation
Decode
:Expected structure for the operation Decode
XML<?xml version="1.0" encoding="UTF-8" ?> <URL>http://www.softproject.de/search?q=Hell%C3%B6%20W%C3%B6rld@X4$</URL
Operation
EncodePlain
:Expected structure for the operation EncodePlain
XML<?xml version="1.0" encoding="UTF-8"?> <Text>Hellö Wörld@X4$</Text>
Operation
DecodePlain
:Expected structure for the operation DecodePlain
XML<?xml version="1.0" encoding="UTF-8"?> <Text>Hell%C3%B6%20W%C3%B6rld@X4$</Text>
Output
The adapter outputs an XML document with the converted URL.
Operation
Encode
Example output for the operation Encode
XML<?xml version="1.0" encoding="UTF-8" ?> <URL>http://www.softproject.de/search?q=Hell%C3%B6%20W%C3%B6rld@X4$</URL
Operation
Decode
Example output for the Decode operation
XML<?xml version="1.0" encoding="UTF-8" ?> <URL>http://www.softproject.de/search?q=Hellö Wörld@X4$</URL>
Operation
EncodePlain
:Example output for the operation EncodePlain
XML<?xml version="1.0" encoding="UTF-8"?> <Text>Hell%C3%B6%20W%C3%B6rld@X4$</Text>
Operation
DecodePlain
:Example output for the operation DecodePlain
XML<?xml version="1.0" encoding="UTF-8"?> <Text>Hellö Wörld@X4$</Text>