1 Reply Latest reply on Apr 20, 2007 7:28 AM by Thomas Diesler

    whitespace getting trimmed

    Richard Oates Newbie

      Hi,
      I'm using JBoss 4.0.5, JBossWS 1.2.0.

      I've got a problem with a string field, defined as follows in the WSDL:

      <element name="xyz" nillable="true" type="string"/>


      which, when set to 8 blanks server-side, gets trimmed and delivered to the client as:
      <xyz/>


      Unfortunately the 8 blanks are significant and I don't want them to be trimmed.

      Is there a configuration option somewhere in JBossWS to prevent this? (Just for information, I've tried the same EAR-file with JBoss 4.0.2, and there the string gets delivered in full.)

      thanks
      richard