dont know why it dint show the codes, puting again, basically, when it reachs the build() method, I got compile errors, the web service work if I try to use with the stubs generated by eclipse, but I am trying to implement with wise because it seens a lot easier to manage things like puting ws-security on the ws.Can someone help me, please?
few questions to help you better:
Which version of Wise are you using? jboss-beans.xml is no more needed in 1.1. If you are using 1.0, please upgrade to 1.1 it fixes a lot of problems.
Which JDK are you using?
thanks for the interest
hy, I am using wise 1.1 with jdk 5, one thing I forgot to mention is that the client class is not on the same project of the server method, the client is standalone, not deployed inside the server´s ear, dont know if this make any difference.
By what I see from the errors (see the errors file), it looks like wise create a version of the web service itself and try to compile alongside the other generated files, and them he crash in compiler errors because he didnt put the jar for the annotations like @WebService for example in the classpath of the javac command, but why he generate the server code too?cant he just generate the client files?thanks
Yep, it's how Wise works: it calls wsconsume api and generate jaxws stubs. Then use it by reflection to call the webservice.
To do its magic, Wise needs a JDK (non JRE because it use compiler apis) and a lot of libraries. In our distribution you can find a samples doing exactly what you are trying to do: /wise-1.1/samples/interactiveHelloWorld/
Please have a look to its build.xml (and parent builds) to get that is using all libraries presents /wise-1.1/samples/lib
hoping I've answered your question.
Anyway feel free to get back to me if you have any further questions.