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


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

webservice interface in glassfish 3

Started by"joao tiago a. m. viegas" <jtviegas@gmail.com>
First post2011-12-14 17:24 -0800
Last post2011-12-15 04:03 -0800
Articles 2 — 1 participant

Back to article view | Back to comp.lang.java.programmer


Contents

  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

#10761 — webservice interface in glassfish 3

From"joao tiago a. m. viegas" <jtviegas@gmail.com>
Date2011-12-14 17:24 -0800
Subjectwebservice interface in glassfish 3
Message-ID<83521dac-61b8-4658-9cdb-c8b0dc1a9d9e@d10g2000vbk.googlegroups.com>
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?

[toc] | [next] | [standalone]


#10772

From"joao tiago a. m. viegas" <jtviegas@gmail.com>
Date2011-12-15 04:03 -0800
Message-ID<9938b62d-b180-4baa-abb7-9f1f5955ff47@f11g2000yql.googlegroups.com>
In reply to#10761
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?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web