[jboss-user] [JBossWS] - Re: webParameter is null
georges.goebel
do-not-reply at jboss.com
Wed Nov 14 05:30:39 EST 2007
Hi,
I have found one solution get it working. I have to use the annotation @SOAPBinding(style = SOAPBinding.Style.RPC)
| @Stateless(name = "Facade")
| @Local(Facade.class)
| @Remote(Facade.class)
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class FacadeImpl implements Facade {
| @WebMethod
| public NiveauService[] getLastDataNiveauService(String e1, String e2) throws WebPchException {
| System.out.println(e1);
| System.out.println(e2);
| }
|
| }
|
But I read everywhere that RPV is "BAD" and "Document" should be used instead. But when I use Document I have the previous error.
Can somebody tell me if it is worth to implement a RPC solution, or how can I get it working with "Document" ?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104458#4104458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104458
More information about the jboss-user
mailing list