Bug 980836 - WebServiceWorkItemHandler fails to find service among multiple imports.
Summary: WebServiceWorkItemHandler fails to find service among multiple imports.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER3
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 10:25 UTC by Marek Baluch
Modified: 2014-08-06 20:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:08:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
process definition (7.71 KB, application/xml)
2013-07-03 10:25 UTC, Marek Baluch
no flags Details

Description Marek Baluch 2013-07-03 10:25:50 UTC
Created attachment 768191 [details]
process definition

When a service is looked up in WebServiceWorkItemHandler using import elements then the error bellow will be throw.

03/07 12:21:33,386[main] ERROR workitem.webservice.WebServiceWorkItemHandler.executeWorkItem  - Error when executing work item
org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition for service {http://www.webservicex.net}SimpleService.

The root cause is that the first imported WSDL does not contain the service. The second does but will not be checked anymore.

See attached process definition.

Comment 1 Maciej Swiderski 2013-08-27 17:16:02 UTC
ensure that all imports will be processed when creating WS client. Pushed to master and 6.0.x

https://github.com/droolsjbpm/jbpm/commit/e88d1a2db9554fe8ca205544fa54a06958e8f59f

Comment 2 Marek Baluch 2013-09-18 12:50:51 UTC
Verified on ER3.


Note You need to log in before you can comment on or make changes to this bug.