Ok so it looks like the soap-version error is fixed but....(Of course). Now
it looks like cxf is having problem parsing imported xsd:s in the wsdl that
adfs presents.
The error-message is this:
Part request defined as element
{http://docs.oasis-open.org/ws-sx/ws-trust/200512}RequestSecurityToken which
is not in the schema."
Below code is a snippet from the wsdl. The important part is the bold part.
<wsdl:types>
<xsd:schema
targetNamespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice/Imports">
<xsd:import
schemaLocation="https://adfs.msad.lab.xxx.se/adfs/services/trust/mex?xsd=xsd0"
namespace="http://schemas.microsoft.com/Message"/>
<xsd:import
schemaLocation="https://adfs.msad.lab.xxx.se/adfs/services/trust/mex?xsd=xsd1"
namespace="http://schemas.xmlsoap.org/ws/2005/02/trust"/>
<xsd:import
schemaLocation="https://adfs.msad.lab.xxx.se/adfs/services/trust/mex?xsd=xsd2"
namespace="http://docs.oasis-open.org/ws-sx/ws-trust/200512"/>
</xsd:schema>
</wsdl:types>
<wsdl:message
name="IWSTrustFeb2005Async_TrustFeb2005IssueAsync_InputMessage">
<wsdl:part name="request" element="t:RequestSecurityToken"/>
</wsdl:message>
<wsdl:message
name="IWSTrustFeb2005Async_TrustFeb2005IssueAsync_OutputMessage">
<wsdl:part name="TrustFeb2005IssueAsyncResult"
element="t:RequestSecurityTokenResponse"/>
</wsdl:message>
*<wsdl:message name="IWSTrust13Async_Trust13IssueAsync_InputMessage">
<wsdl:part name="request" element="trust:RequestSecurityToken"/>
</wsdl:message>*
<wsdl:message name="IWSTrust13Async_Trust13IssueAsync_OutputMessage">
<wsdl:part name="Trust13IssueAsyncResult"
element="trust:RequestSecurityTokenResponseCollection"/>
</wsdl:message>
When I debug the "schema" named
"http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice/Imports"
is found but contains nothing.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Issue-with-WS-Trust-using-security-tokens-SAML-assertions-tp5744142p5745213.html
Sent from the cxf-user mailing list archive at Nabble.com.