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

SchemaBinding Marshaller -Polymorphism in types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jbossws-1.0.2
    • jbossws-1.0.1
    • jbossws-native
    • None

      tdiesler@TDDELL /cygdrive/d/projects/jboss-head/testsuite
      $ ant -Dtest=org.jboss.test.webservice.jbws349.JBWS349TestCase one-test

      one-test:
      [junit] Running org.jboss.test.webservice.jbws349.JBWS349TestCase
      [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 13.359 sec
      [junit] Test org.jboss.test.webservice.jbws349.JBWS349TestCase FAILED

      The message sent by the client is

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:event xmlns:ns1='http://siterefresh.refreshsoftware.com/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
      <id>id</id>
      </ns1:event>
      </env:Body>
      </env:Envelope>

      but should be

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:event xsi:type="ns1:AssetCreate" xmlns:ns1='http://siterefresh.refreshsoftware.com/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
      <id>id</id>
      </ns1:event>
      </env:Body>
      </env:Envelope>

              rhn-support-hbraun Heiko Braun
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: