[JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
by moweis
Yes I did...I copied the libs as stated.
Question, if I run wsconsume on the wsdl with no WS-RM related info, and run it again with WS-RM configuration, should I see any difference in the generated source?
Because looking at the generated service interface, it doesn't extend StubExt:
| package org.jboss.test.ws.jaxws.samples.wsrm.generated;
|
| import javax.jws.Oneway;
| import javax.jws.WebMethod;
| import javax.jws.WebParam;
| import javax.jws.WebResult;
| import javax.jws.WebService;
| import javax.xml.ws.RequestWrapper;
| import javax.xml.ws.ResponseWrapper;
|
|
| /**
| * This class was generated by the JAX-WS RI.
| * JAX-WS RI 2.1.3-b02-
| * Generated source version: 2.0
| *
| */
| @WebService(name = "SimpleService", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm")
| public interface SimpleService {
|
|
| /**
| *
| * @param arg0
| * @return
| * returns java.lang.String
| */
| @WebMethod
| @WebResult(targetNamespace = "")
| @RequestWrapper(localName = "echo", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.Echo")
| @ResponseWrapper(localName = "echoResponse", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.EchoResponse")
| public String echo(
| @WebParam(name = "arg0", targetNamespace = "")
| String arg0);
|
| /**
| *
| */
| @WebMethod
| @Oneway
| @RequestWrapper(localName = "ping", targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm", className = "org.jboss.test.ws.jaxws.samples.wsrm.generated.Ping")
| public void ping();
|
| }
|
Thanks for your help Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168398#4168398
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168398
16 years, 5 months