]
Darran Lofthouse updated JBWS-1266:
-----------------------------------
Fix Version/s: (was: jbossws-1.0.5)
NullPointerException when using wstools with unwrap=true
--------------------------------------------------------
Key: JBWS-1266
URL:
http://jira.jboss.com/jira/browse/JBWS-1266
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: wstools
Affects Versions: jbossws-1.0.3
Reporter: Magesh Kumar B
Assigned To: Darran Lofthouse
Priority: Trivial
Attachments: TestSEIService.wsdl
Consider the following configuration:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://www.jboss.org/jbossws-tools"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.org/jbossws-tools
http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
<wsdl-java file="wsdl/TestSEIService.wsdl" unwrap="true"/>
</configuration>
This contains the unwrap="true" property, using this with the attached wsdl
leads to a NPE (NullPointerException). If this parameter is removed then it works
properly. Although it could be an invalid usecase, a NULL checking is required!
This is for the following SEI
SEI that has primitive input parameter types
public interface MySEI extends java.rmi.Remote {
public int returnIntParamVoid(int a, int b)...
...
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: