Hi,
I try to execute a WebService from PI in the component controller with following coding:
Country model = new Country(); wdContext.nodeRequest_SO_SelectCountries().bind( new Request_SO_SelectCountries(model)); executeCountries();
Furthermore I have following in the executionCountries() method:
public void executeCountries() {
// @@begin executeCountries()
// $$begin Service Controller3(-682530173)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try {
wdContext.currentRequest_SO_SelectCountriesElement().modelObject()
.execute();
wdContext.nodeResponse().invalidate();
} catch (Exception e) {
manager.reportException(e.getMessage());
}
// $$end
// @@end
}
When executing the application I get always following error:
Exception on execution of web service on destination 'Country_Exec' for operation 'SO_SelectCountries' in interface '{http:.....
I have already maintained the destinations for the webService but I think that the error raised before the destinations will be checked. I already restart the server and reimport the model but unfortunately always the same error.