Hey guys
I am exposing a stateless session bean as a webservice
Is there a way to make a parameter nillable or non nillable via annotations,
such that in the wsdl it comes out as a parameter is non-nillable.
Although the following class is not valid because @WebParam annotation does not
have a nillable feature. But is there a way to do the following?
@stateless
@Webservice
public class foo{
@WebMethod
public void bar (@WebParam (name="x", nillable = false)){
System.out.println ("x");
}
}
I was thinking of maybe predefining the wsdllocation of @WebService annotation
to have the wsdl that has the parameter as nillable=false. What do you guys.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001113#4001113
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001113
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user