[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6558) [tester] sample message generator is not processing 'typed' element definitions from schema

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Wed Jun 30 11:04:46 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Jungmann updated JBIDE-6558:
----------------------------------

    Attachment: x.wsdl
                y.wsdl


sample wsdls

> [tester] sample message generator is not processing 'typed' element definitions from schema
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6558
>                 URL: https://jira.jboss.org/browse/JBIDE-6558
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.2.0.M1
>            Reporter: Lukas Jungmann
>            Assignee: Brian Fitzpatrick
>         Attachments: x.wsdl, y.wsdl
>
>
> -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>
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list