Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7178

CLONE - Distribution contains picketlink STS sample that is not working with CXF webservice stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • TBD EAP 5
    • EAP_EWP 5.1.1
    • Security, Web Services
    • 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.

              Unassigned Unassigned
              rhn-engineering-dpalmer Douglas Palmer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: