-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Daniel van Mil wrote,
I'm testing the JBoss tagged version "JBossWS_1_0EA" for the Webservice annotations.
It all works fine, except methods that return complex types. My code :
@WebService(name = "MyBean", targetNamespace = "mynamespace", serviceName =
"MyBean")
@PortComponent(contextRoot = "/myservice", urlPattern = "/*") @Stateless @SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL) public class MyBean {
public Test getTest()
}
My (Simple) Complex type :
public class Test {
private String test = "test";
public String getTest()
{ return test; }public void setTest(String test)
{ this.test = test; }}
I'm getting this error :
java.lang.IllegalArgumentException: Invalid null xmlType argument, for: result
at org.jboss.ws.metadata.ParameterMetaData.<init>(ParameterMetaData.java:51)
at org.jboss.ws.metadata.AbstractMetaDataBuilder.setupEndpointFromAnnotations(AbstractMetaDataBuilder.java:312)
- is related to
-
JBWS-442 Java2WSDL ignores @WebParam
- Closed