-
1. 3724111
ludovic Jul 11, 2002 4:34 PM (in response to drobert_bfm)I created the attached wsr in an attempt to deploy example3 from the Axis distribution. However, when running the test client I get the following:
C:\apache\xml-axis-beta2\samples\userguide\example3>java samples.userguide.example3.Client "test me!"
The AXIS engine could not find a target service to invoke! targetService is MyService
What have I done wrong? -
2. Re: Java:RPC deployment
scharlau Jul 12, 2002 7:40 AM (in response to drobert_bfm)You'll find the code and steps involved in setting up a simple hello world example at http://www.csd.abdn.ac.uk/~bscharla/jboss-net-helloWorld.html.
The other thing to remember is that some of the JBoss.NET stuff is the same as for Axis, but with a different name, ie the Axis wsdd files are web-services.xml files under JBoss.NET.
I'm working on a simple EJB/JSP example and will post the details when I have it ready.
cheers
Bruce -
3. Re: Java:RPC deployment
ludovic Jul 12, 2002 10:02 AM (in response to drobert_bfm)I'm trying to deply this helloworld exemple but I've got this message when I compile :
symbol : variable IN
location: class javax.xml.rpc.ParameterMode
ParameterMode.IN);
^
1 error
I don't understand because I put the axis.jar in my classpath and it contains the fine library. -
4. Re: Java:RPC deployment
cgjung Jul 19, 2002 5:05 AM (in response to drobert_bfm)Then it looks like the wrong axis.jar? I think Bruce used axis.jar BETA2 ... But be aware that this may cause incompatibilities with jboss.net until I´ve done the migration in head.
-
5. Re: Java:RPC deployment
cgjung Jul 19, 2002 5:11 AM (in response to drobert_bfm)Robert,
if you look at the (ok, very shallow) docu of jboss.net, it states that web-service.xml basically is Axis-WSDD with a few extensions for jboss-specific things.
CGJ -
6. Re: Java:RPC deployment
scharlau Jul 19, 2002 6:35 AM (in response to drobert_bfm)Robert,
Two things.
1) Yes, you can use the axis-beta2 jar of axis, and it will work sometimes (ie parse wsdl files and show their contents in the browser- kinda cool).
2) As jboss.net is compiled with axis-beta1 jar of axis, you need to code to that API, so download the axis-beta one files and use that API for reference. Oh yes, and don't forget to ensure that your java files are compiled against that axis-beta1 jar too.
You'll find an example of this stuff at http://www.csd.abdn.ac.uk/~bscharla/jboss-net-helloWorld-EJB.html
cheers
Bruce