-
1. Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)
bjoern83 Jun 2, 2009 7:56 AM (in response to bjoern83)Forgot to say: The "VERSION" is replaced by "CARMEN" before deploying the jar.
-
2. Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)
bjoern83 Jun 2, 2009 9:49 AM (in response to bjoern83)Ok, I found out that the correct URI seems to be "http://Nebelos-C2Q:18080/CARMEN-CARMEN-ejb/CARMENWebServiceController". But I would prefer to use the old one..
And a different problem occured. The parameter of my method is be default named "arg0". If I use @WebParam to rename it.@WebMethod(operationName = "search") public String search(@WebParam(name="xmlSearch")String xmlSearch)
I get a ParsingException during build process. -
3. Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)
lafr Jun 11, 2009 1:06 PM (in response to bjoern83)You did not mention the JBoss version you are using.
We are using JBoss-4.2.4GA including jbossws-3.0.1-native-2.0.4.GA.
You can find out the service URIs by looking at http://Nebelos-C2Q:18080/jbossws/.
You can define the name of the service:
@WebService(serviceName = "WebServiceController")
The naming of parameters using @WebParam(name="...") works for us.
This might have to do with the JBoss/JBoss-WS version you're using
P.S.: are you working for Cursor Software AG in Germany? -
4. Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)
bjoern83 Jun 22, 2009 7:30 AM (in response to bjoern83)I use JBoss 4.2.2a.
The problem was already solved by using the @WebContext and @WebParam annotations. The problem was, that @WebParam can not be used if the interfaces are generated. Therefore they are hard coded now.