Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0-M4
-
None
Description
If WSDL contains message parts with empty XML type, NullPointerException is thrown during the deployment.
Here is the relevant pieces from the WSDL:
Piece from the schema embedded in the WSDL:
<complexType name="methodResponseType">
<sequence/>
</complexType>
<element name=methodResponse" type="tns:methodResponseType"/>
Snippet from the WSDL:
<message name="SomeEndpoint_someResponse">
<part name="result" element="ns2:someResponse"/>
</message>
The attached patch shows the possible solution:
Note that problem is that operationType.getContentModel() in the line HeavyweightOperationDescBuilder.java:231 returns null if it consists of one empty sequence. If check is added, everything works fine.
Attachments
Attachments
Issue Links
- blocks
-
GERONIMO-768 doc/lit wrapped ws operation results in NPE if method has no parameters
- Closed