-
1. Re: cant make wise to work
alexandreesl Feb 28, 2010 10:58 PM (in response to alexandreesl)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?-
errors.txt.zip 2.3 KB
-
wise-log4j.xml 1.1 KB
-
jboss-beans.xml 1.1 KB
-
SistemaWebService.java.zip 665 bytes
-
clientcode.txt.zip 726 bytes
-
-
2. Re: cant make wise to work
maeste Mar 1, 2010 3:41 AM (in response to alexandreesl)Hi Alexander,
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
bye
S.
-
3. Re: cant make wise to work
alexandreesl Mar 1, 2010 2:43 PM (in response to maeste)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.
thanks
-
4. Re: cant make wise to work
alexandreesl Mar 1, 2010 2:41 PM (in response to alexandreesl)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 -
5. Re: cant make wise to work
maeste Mar 2, 2010 9:25 AM (in response to alexandreesl)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.
bye
S.