Bug 204958 - ALF Admin status returns unexpected error
Summary: ALF Admin status returns unexpected error
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ALF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tim Buss CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 16:53 EDT by Tim Buss CLA
Modified: 2010-11-23 14:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buss CLA 2007-09-28 16:53:50 EDT
If all the deployed applicaiotns are undeployed, the allStatus operation of the ALFAdmin service returns an unexpected error fault instead of an empty list.  the problme is that hte WSDL declares the returned list with a minOccurs="0" attribute so it defaults to minOccurs="1".  If the list is returned empty by the business logic the web service layer detects it an invalid return and throws an error.
Comment 1 Tim Buss CLA 2007-11-30 11:01:42 EST
There was a typo in the problem description

The problem is that the WSDL declares the returned list without a minOccurs="0"
attribute so it defaults to minOccurs="1".  

This is now fixed and no deployments is now returned as an empty element