Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6558

[tester] sample message generator is not processing 'typed' element definitions from schema

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.M1
    • 3.2.0.M1
    • webservices
    • None

    Description

      -have attached wsdls which differs in how inlined schema element is defined but the definition is the same in both cases[*]
      -load the wsdl into a tester and compare generated sample soap message

      => for annonymous type definition in schema generated sample is correct/contains argument element with '?' but for "typed" definition generated message contains only root element:

      <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
      <soap:Body>
      <sayHello xmlns = "http://webservices.samples.jboss.org/">
      </sayHello>
      </soap:Body>
      </soap:Envelope>

      [*]: ...
      <xs:element name='sayHello' type='tns:sayHello'/>
      <xs:complexType name='sayHello'>
      <xs:sequence>
      <xs:element minOccurs='0' name='arg0' type='xs:string'/>
      </xs:sequence>
      </xs:complexType>
      ...

      vs.

      ...
      <xs:element name='sayHello'>
      <xs:complexType>
      <xs:sequence>
      <xs:element minOccurs='0' name='arg0' type='xs:string' />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      ...

      Attachments

        1. jbide-6558.patch
          25 kB
        2. x.wsdl
          2 kB
        3. y.wsdl
          2 kB

        Activity

          People

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: