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


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

Re: webservice interface in glassfish 3

From "joao tiago a. m. viegas" <jtviegas@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: webservice interface in glassfish 3
Date 2011-12-15 04:03 -0800
Organization http://groups.google.com
Message-ID <9938b62d-b180-4baa-abb7-9f1f5955ff47@f11g2000yql.googlegroups.com> (permalink)
References <83521dac-61b8-4658-9cdb-c8b0dc1a9d9e@d10g2000vbk.googlegroups.com>

Show all headers | View raw


It's solved. ClassPath issue!
Thank you anyway

On 15 dez, 01:24, "joao tiago a. m. viegas" <jtvie...@gmail.com>
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.CardValidator is not an
> interface.
>
> Have you ever experienced such a case?

Back to comp.lang.java.programmer | Previous | NextPrevious 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