Class WsEncoder

java.lang.Object
com.aoapps.hodgepodge.ws.WsEncoder

public final class WsEncoder extends Object
SOAP web services cannot send invalid whitespace characters. In order to not have problems and not lose data, these methods will encode and decode the special whitespace characters using the standard \ Java escape sequences. At the cost of perfect interoperability on unexpected characters, this results in binary transparency when both sides use these encode and decode methods.
Author:
AO Industries, Inc.
  • Method Details

    • encode

      public static String encode(String value)
      Encodes string for binary transparency over SOAP.
    • decode

      public static String decode(String encoded)