[
https://jira.jboss.org/browse/JBIDE-6558?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick updated JBIDE-6558:
-------------------------------------
Attachment: jbide-6558.patch
This patch fixes the y/x.wsdl issue as well as a problem Bob Brodt found with multi-part
messages.
[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
Fix For: 3.2.x
Attachments: jbide-6558.patch, x.wsdl, y.wsdl
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
-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