Bug 780905 (SOA-3368)

Summary: Distribution contains picketlink STS sample that is not working with CXF webservice stack
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Filip Nguyen <fnguyen>
Component: JBossWS, Security, PicketLinkAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2.0.ER3CC: ldimaggi
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3368
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Filip Nguyen 2011-09-09 11:24:43 UTC
Affects: Release Notes
project_key: SOA

As I undestand it, there are libraries and sample WAR for picketlink STS in directory: SOA-P/picketlink/picketlink-federation-webapps. 

But provided war file cannot be deployed when using CXF WS stack, because WSDL: SOA-P/picketlink/picketlink-federation-webapps/picketlink-sts.war/WEB-INF/wsdl/PicketLinkSTS.wsdl contains anonymous complexType 

{code:title=PicketLinkSTS.wsdl|borderStyle=solid}
...
      <xs:complexType name="MessageBody">
        <xs:sequence>
            <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
        </xs:sequence>
      </xs:complexType>
...
{code} 

Which results in: 

{noformat}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PicketLinkSTS': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.wsdl11.WSDLRuntimeException: Part rstMessage defined as element {urn:picketlink:identity-federation:sts}MessageBody which is not in the schema.
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)

{noformat}


This behavior is also discussed [here|http://community.jboss.org/thread/152960].

Comment 1 Douglas Palmer 2011-09-13 14:14:30 UTC
Link: Added: This issue Cloned to SOA-3373


Comment 2 Anne-Louise Tangring 2011-09-27 18:53:06 UTC
Release Notes Docs Status: Added: Not Yet Documented
Affects: Added: [Release Notes]