Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1119239

Summary: webservice interface uses illegal types.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: Shelly McGowan <smcgowan>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, mbaluch
Target Milestone: DR2   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:45:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
generated wsdl none

Description Marek Baluch 2014-07-14 11:05:40 UTC
Description of problem:
Unable to parse CommandService.wsdl.

The generated code contains two types which are not defined in XMLSchema.

1) size (should probably be 'nonNegativeInteger')
2) String (should probably be 'string')

Version-Release number of selected component (if applicable):
6.1.0.DR1

Comment 1 Marek Baluch 2014-07-14 11:06:45 UTC
Created attachment 917751 [details]
generated wsdl

Comment 2 Marco Rietveld 2014-07-15 16:08:43 UTC
Hi Marek, 

Where does the generated CommandService.wsdl come from? 
Also, which CommandService.wsdl file are you using to generate the code?

Comment 3 Marek Baluch 2014-07-15 16:22:30 UTC
Hi Marco,

my guess is that EAP is generating the WSDL based on the annotations in the jBPM source code on deploy. If you want to see the WSDL just deploy business-central - start up the server and you will find it via the EAP administration web interface.

Comment 4 Marco Rietveld 2014-07-17 10:44:28 UTC
Fixed.. although this is weird. BPMS on 6.3 "expands/generates" the WSDL whereas kie-wb on 6.3 does not do that, and just returns the minimal WSDL that I created. There's a setting that's being turned on somewhere in BPMS.. :( 

Commits: 

https://github.com/droolsjbpm/jbpm/compare/deb15653...047b3b4f
(d3bfb96, f5e7fff, 047b3b4)

Comment 5 Marek Baluch 2014-07-17 10:48:05 UTC
Marco - great work.

I was thinking that it might be better to use the minimal WSDL you have written. If you agree then I will reassign to Ryan.

Comment 6 Marek Baluch 2014-09-09 13:52:34 UTC
Verified on 6.1.0.DR2.