wood burning stoves 2.0*
The moose likes Web Services and the fly likes don't understand this: The service interface does not implement javax.xml.rpc.Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "don Watch "don New topic
Author

don't understand this: The service interface does not implement javax.xml.rpc.Service

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,
I am trying to call a web service. I have the following code in my servlet:


Here is what I get:



I am POSITIVE that the eJBWebServiceOne object implements javax.rpc.Service. because I checked it. Then what's wrong? I use Jboss 4.0.3

Thanks in advance,

Julien.
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Can you post your webservicesclient.xml?
Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello Jesus,
Thanks a lot for your reply. No I haven't got a webservicesclient.xml file. The ws client is a web app... Do I still need a webservicesclient.xml?
Julien.
Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,

I realized that additional jars (jaxrpc jars) were packaged in the war and this must have been the source of my problems: there must have been two javax.xml.rpc.Service classes in contention.

Now I would be very grateful if someone could tell me how to resolve class contention problems with jboss.

Thanks in advance,

Julien.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: don't understand this: The service interface does not implement javax.xml.rpc.Service
 
Similar Threads
Unable to create envelope from given source
invoking EJB via Http call using Jboss
Accessing a Session Bean via a servlet
Soap & attachments: encoded or literal??
following problem: The service interface does not implement javax.xml.rpc.Service