If you really want it to return the string “Professional Diver” then you should not define the node as xs:hexBinary in your schema.
XML is a text format; it cannot directly include arbitrary binary data, only Unicode characters in certain defined ranges. If you need to include binary data within an XML document, you have to find a way to represent it using valid characters. XML Schema defines two primitive types, xs:hexBinary and xs:base64Binary, that support two common ways to encode binary data as textual characters.
The bottom line is that if a node is defined in the schema as xs:hexBinary there is a presumption that its content will require additional processing ? specifically, translating each consecutive pair of characters into the corresponding 8-bit value ? before the application will be able to use it.
#Tamino#webMethods#API-Management