Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > webservice interface in glassfish 3

Reply
Thread Tools

webservice interface in glassfish 3

 
 
joao tiago a. m. viegas
Guest
Posts: n/a
 
      12-15-2011
Hello you all,

I'm studying webservices, and I'm only succeeding in deploying a
webservice to Glassfish 3 if I create it with a class:

@WebService
public class CardValidator {...}

....but on the client side wsimport generates
public interface CardValidator { ...]

....and this winds up in an exception when I try to access the web
service using a j2se client:
Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException:
com.d2w.labs.j2ee.snippets.book.bjee6wg3.ch14.Card Validator is not an
interface.

Have you ever experienced such a case?
 
Reply With Quote
 
 
 
 
joao tiago a. m. viegas
Guest
Posts: n/a
 
      12-15-2011
It's solved. ClassPath issue!
Thank you anyway

On 15 dez, 01:24, "joao tiago a. m. viegas" <(E-Mail Removed)>
wrote:
> Hello you all,
>
> I'm studying webservices, and I'm only succeeding in deploying a
> webservice to Glassfish 3 if I create it with a class:
>
> @WebService
> public class CardValidator {...}
>
> ...but on the client side wsimport generates
> public interface CardValidator { ...]
>
> ...and this winds up in an exception when I try to access the web
> service using a j2se client:
> Exception in thread "AWT-EventQueue-0"
> java.lang.IllegalArgumentException:
> com.d2w.labs.j2ee.snippets.book.bjee6wg3.ch14.Card Validator is not an
> interface.
>
> Have you ever experienced such a case?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maven2 repository for Glassfish marwis1978 Java 0 03-26-2007 09:01 AM
Maven2 repository for Glassfish marwis1978 Java 0 03-26-2007 09:00 AM
Help with Glassfish declarative security marwis1978 Java 0 03-20-2007 09:26 AM
glassfish and faces security gallasr@post.sk Java 0 01-18-2007 12:37 PM
glassfish? printdude1968@gmail.com Java 1 05-24-2006 05:34 AM



Advertisments