Thanks, though I still do not understand how I create the
java interface for the web service I want to call (I am guessing I still need to create the corresponding java interface for the wsdl file).
I have tried to generate java code using wsdl2java (the Axis 2 program) but that gives me a bunch of java files that depend on other classes such “as org.apache.axis2.databinding.ADBBean”. I was hoping to be able to skip those parts and be able to call a web service just using a wsdl file and jboss without having to find all the jar-files necessary to solve all apache.axis2 dependencies.
I thought the process was:
1. Create a java interface for the web service (Still don’t know how to do this in an easy way from the wsdl file).
2. Inject the created java interface into the session bean
3. Use the interface to call the web service methods.
As I said before I am very new to web services and I am probably missing some steps?