Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10761

webservice interface in glassfish 3

From "joao tiago a. m. viegas" <jtviegas@gmail.com>
Newsgroups comp.lang.java.programmer
Subject webservice interface in glassfish 3
Date 2011-12-14 17:24 -0800
Organization http://groups.google.com
Message-ID <83521dac-61b8-4658-9cdb-c8b0dc1a9d9e@d10g2000vbk.googlegroups.com> (permalink)

Show all headers | View raw


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.CardValidator is not an
interface.

Have you ever experienced such a case?

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

webservice interface in glassfish 3 "joao tiago a. m. viegas" <jtviegas@gmail.com> - 2011-12-14 17:24 -0800
  Re: webservice interface in glassfish 3 "joao tiago a. m. viegas" <jtviegas@gmail.com> - 2011-12-15 04:03 -0800

csiph-web