Use of Webservice on Button click [message #1384855] |
Mon, 02 June 2014 14:17 |
Tim Schwalbe 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 |
Jeremie Bresson 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
|
|
|
Powered by
FUDForum. Page generated in 0.01981 seconds