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?
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.
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
I don't understand because I put the axis.jar in my classpath and it contains the fine library.
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.
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.
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