Bug 780905 (SOA-3368) - Distribution contains picketlink STS sample that is not working with CXF webservice stack
Summary: Distribution contains picketlink STS sample that is not working with CXF webs...
Keywords:
Status: NEW
Alias: SOA-3368
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossWS, Security, PicketLink
Version: 5.2.0.ER3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: FUTURE
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-09 11:24 UTC by Filip Nguyen
Modified: 2020-04-27 01:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP-7178 0 Minor Open CLONE - Distribution contains picketlink STS sample that is not working with CXF webservice stack 2013-05-25 08:27:52 UTC
Red Hat Issue Tracker SOA-3368 0 Minor Closed Distribution contains picketlink STS sample that is not working with CXF webservice stack 2013-05-25 08:27:53 UTC

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]



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