Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-480

JBossXSModel does not preserve soapenc types

XMLWordPrintable

      tdiesler@TDDELL /cygdrive/d/projects/jboss-head/webservice/test
      $ ant -Dtest=org.jboss.test.ws.encoded.parametermode.ParameterModeTestCase one-test

      one-test:
      [junit] Running org.jboss.test.ws.encoded.parametermode.ParameterModeTestCase
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.875 sec
      [junit] Test org.jboss.test.ws.encoded.parametermode.ParameterModeTestCase FAILED

      The WSDL contains

      <complexType name="AllStruct">
      <all>
      <element name="varString" type="xsd:string"/>
      <element name="varInteger" type="xsd:integer"/>
      <element name="varInt" type="xsd:int"/>
      <element name="varLong" type="xsd:long"/>
      <element name="varShort" type="xsd:short"/>
      <element name="varDecimal" type="xsd:decimal"/>
      <element name="varFloat" type="xsd:float"/>
      <element name="varDouble" type="xsd:double"/>
      <element name="varBoolean" type="xsd:boolean"/>
      <element name="varByte" type="xsd:byte"/>
      <element name="varQName" type="xsd:QName"/>
      <element name="varDateTime" type="xsd:dateTime"/>
      <element name="varSoapString" type="soapenc:string"/>
      <element name="varSoapBoolean" type="soapenc:boolean"/>
      <element name="varSoapFloat" type="soapenc:float"/>
      <element name="varSoapDouble" type="soapenc:double"/>
      <element name="varSoapDecimal" type="soapenc:decimal"/>
      <element name="varSoapInt" type="soapenc:int"/>
      <element name="varSoapShort" type="soapenc:short"/>
      <element name="varSoapByte" type="soapenc:byte"/>
      <element name="varBase64Binary" type="xsd:base64Binary"/>
      <element name="varHexBinary" type="xsd:hexBinary"/>
      <element name="varSoapBase64" type="soapenc:base64"/>
      </all>
      </complexType>

      the log shows

      <complexType name='AllStruct'>
      <sequence>
      <element name='varString' type='string'/>
      <element name='varInteger' type='integer'/>
      <element name='varInt' type='int'/>
      <element name='varLong' type='long'/>
      <element name='varShort' type='short'/>
      <element name='varDecimal' type='decimal'/>
      <element name='varFloat' type='float'/>
      <element name='varDouble' type='double'/>
      <element name='varBoolean' type='boolean'/>
      <element name='varByte' type='byte'/>
      <element name='varQName' type='QName'/>
      <element name='varDateTime' type='dateTime'/>
      <element name='varSoapString' type='anyType'/>
      <element name='varSoapBoolean' type='anyType'/>
      <element name='varSoapFloat' type='anyType'/>
      <element name='varSoapDouble' type='anyType'/>
      <element name='varSoapDecimal' type='anyType'/>
      <element name='varSoapInt' type='anyType'/>
      <element name='varSoapShort' type='anyType'/>
      <element name='varSoapByte' type='anyType'/>
      <element name='varBase64Binary' type='base64Binary'/>
      <element name='varHexBinary' type='hexBinary'/>
      <element name='varSoapBase64' type='anyType'/>
      </sequence>
      </complexType>

      The marshalling layer should be presented with the correct type.

              olubyans@redhat.com Alexey Loubyansky
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: