Details
-
Bug
-
Resolution: Done
-
Major
-
3.2.0.M1
-
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>
...