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

Polymorphism in types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jbossws-1.0RC3
    • None
    • 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>

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

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 weeks
                  2w
                  Remaining:
                  Remaining Estimate - 2 weeks
                  2w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified