Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Use of Webservice on Button click
Use of Webservice on Button click [message #1384855] Mon, 02 June 2014 14:17 Go to next message
Tim Schwalbe is currently offline Tim SchwalbeFriend
Messages: 27
Registered: May 2014
Junior Member
Hey guys,

I want to execute a Webservice on a button click.


      @Override
        protected void execClickAction() throws ProcessingException {
        
          BLZWebServiceClient service2 = SERVICES.getService(BLZWebServiceClient.class);
        System.out.println(service2.getPortType().getBank("48050161").getBezeichnung());

        }



I got this error: The type org.eclipse.scout.jaxws.service.AbstractWebServiceClient cannot be resolved. It is indirectly referenced from required .class files

What does it mean?

[Updated on: Mon, 02 June 2014 14:44]

Report message to a moderator

Re: Use of Webservice on Button click [message #1384875 is a reply to message #1384855] Mon, 02 June 2014 17:22 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
The class is included in the jar (or bundle in the OSGi terminology): org.eclipse.scout.jaxws216
You need to have it on your Classpath. I do not know what the dependencies of this bundle are and I am not sure it can be used in the client application out of the box.

The quick fix (solutions proposed when you enter the shortcut CTRL-1) for your error is probably something like "add org.eclipse.scout.jaxws216 as required bundle" in the {your app}.client/META-INF/MANIFEST.MF.
You should try it. I am not sure it works.

I have tried to give you a really short introduction of the OSGi concepts in your other thread.

[Updated on: Mon, 02 June 2014 17:47]

Report message to a moderator

Previous Topic:focus issue on a form
Next Topic:java.lang.RuntimeException: No application id has been found.
Goto Forum:
  


Current Time: Thu Nov 21 03:24:39 GMT 2019

Powered by FUDForum. Page generated in 0.01709 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top