-
Bug
-
Resolution: Obsolete
-
Minor
-
EAP_EWP 5.1.1
-
None
-
NEW
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
PicketLinkSTS.wsdl
...
<xs:complexType name="MessageBody">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
</xs:sequence>
</xs:complexType>
...
Which results in:
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)
This behavior is also discussed here.