java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element

Stack Overflow | Amar | 2 months ago
  1. 0

    WS Federation client impl with CXF

    Stack Overflow | 2 months ago | Amar
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  2. 0

    cxf-user - WS Federation client impl with CXF

    nabble.com | 1 month ago
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  3. 0

    Can we use multiple federation configurations in web.config for SSO?

    codegur.com | 1 month ago
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to implement WS-Federation using Thinktecture.IdentityServer.v2 with Node.js?

    codegur.com | 1 month ago
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  6. 0

    Top Down Web Service

    cxf-users | 3 years ago | Taruna Tanwani
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Processor': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: sp:TransportBinding/wsp:Policy/sp:TransportToken must have a value

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      sp:HttpsToken must have an inner wsp:Policy element

      at org.apache.wss4j.policy.builders.HttpsTokenBuilder.build()
    2. org.apache.wss4j
      HttpsTokenBuilder.build
      1. org.apache.wss4j.policy.builders.HttpsTokenBuilder.build(HttpsTokenBuilder.java:55)
      2. org.apache.wss4j.policy.builders.HttpsTokenBuilder.build(HttpsTokenBuilder.java:34)
      2 frames
    3. Apache Neethi
      PolicyBuilder.getPolicy
      1. org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder(AssertionBuilderFactoryImpl.java:138)
      2. org.apache.neethi.AssertionBuilderFactoryImpl.build(AssertionBuilderFactoryImpl.java:117)
      3. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:224)
      4. org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:174)
      5. org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:108)
      5 frames
    4. org.apache.wss4j
      TransportTokenBuilder.build
      1. org.apache.wss4j.policy.builders.TransportTokenBuilder.build(TransportTokenBuilder.java:41)
      2. org.apache.wss4j.policy.builders.TransportTokenBuilder.build(TransportTokenBuilder.java:34)
      2 frames
    5. Apache Neethi
      PolicyBuilder.getPolicy
      1. org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder(AssertionBuilderFactoryImpl.java:138)
      2. org.apache.neethi.AssertionBuilderFactoryImpl.build(AssertionBuilderFactoryImpl.java:117)
      3. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:224)
      4. org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:174)
      5. org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:108)
      5 frames
    6. org.apache.wss4j
      TransportBindingBuilder.build
      1. org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:44)
      2. org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:34)
      2 frames
    7. Apache Neethi
      PolicyBuilder.getPolicy
      1. org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder(AssertionBuilderFactoryImpl.java:138)
      2. org.apache.neethi.AssertionBuilderFactoryImpl.build(AssertionBuilderFactoryImpl.java:117)
      3. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:224)
      4. org.apache.neethi.PolicyBuilder.getAllOperator(PolicyBuilder.java:184)
      5. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:217)
      6. org.apache.neethi.PolicyBuilder.getExactlyOneOperator(PolicyBuilder.java:180)
      7. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:215)
      8. org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:174)
      9. org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:124)
      9 frames
    8. Apache CXF Runtime WS Policy
      PolicyDataEngineImpl.getClientEndpointPolicy
      1. org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver.resolveReference(LocalServiceModelReferenceResolver.java:53)
      2. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.resolveLocal(Wsdl11AttachmentPolicyProvider.java:292)
      3. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.resolveReference(Wsdl11AttachmentPolicyProvider.java:272)
      4. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy(Wsdl11AttachmentPolicyProvider.java:220)
      5. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy(Wsdl11AttachmentPolicyProvider.java:168)
      6. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy(Wsdl11AttachmentPolicyProvider.java:161)
      7. org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getEffectivePolicy(Wsdl11AttachmentPolicyProvider.java:98)
      8. org.apache.cxf.ws.policy.PolicyEngineImpl.getAggregatedEndpointPolicy(PolicyEngineImpl.java:464)
      9. org.apache.cxf.ws.policy.EndpointPolicyImpl.initializePolicy(EndpointPolicyImpl.java:152)
      10. org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize(EndpointPolicyImpl.java:140)
      11. org.apache.cxf.ws.policy.PolicyEngineImpl.createEndpointPolicyInfo(PolicyEngineImpl.java:604)
      12. org.apache.cxf.ws.policy.PolicyEngineImpl.getEndpointPolicy(PolicyEngineImpl.java:316)
      13. org.apache.cxf.ws.policy.PolicyEngineImpl.getClientEndpointPolicy(PolicyEngineImpl.java:303)
      14. org.apache.cxf.ws.policy.PolicyDataEngineImpl.getClientEndpointPolicy(PolicyDataEngineImpl.java:61)
      14 frames
    9. Apache CXF Runtime HTTP Transport
      HTTPTransportFactory.getConduit
      1. org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy(HTTPConduit.java:318)
      2. org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy(HTTPConduit.java:338)
      3. org.apache.cxf.transport.http.HTTPConduit.getClient(HTTPConduit.java:873)
      4. org.apache.cxf.transport.http.HTTPConduit.configureConduitFromEndpointInfo(HTTPConduit.java:360)
      5. org.apache.cxf.transport.http.HTTPConduit.finalizeConfig(HTTPConduit.java:440)
      6. org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:242)
      6 frames
    10. Apache CXF Runtime SOAP Binding
      SoapTransportFactory.getConduit
      1. org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:226)
      2. org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:233)
      2 frames
    11. Apache CXF Core
      ClientImpl.getConduit
      1. org.apache.cxf.endpoint.AbstractConduitSelector.createConduit(AbstractConduitSelector.java:145)
      2. org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:107)
      3. org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:77)
      4. org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:845)
      4 frames
    12. com.reputation.r4e
      CentershiftSws2Client.main
      1. com.reputation.r4e.integrator.centershift.handler.CenterShiftServiceConfigurator.configure(CenterShiftServiceConfigurator.java:18)
      2. com.reputation.r4e.integrator.centershift.CentershiftSws2Client.createTestOperationManagerInstance(CentershiftSws2Client.java:52)
      3. com.reputation.r4e.integrator.centershift.CentershiftSws2Client.getService(CentershiftSws2Client.java:33)
      4. com.reputation.r4e.integrator.centershift.CentershiftSws2Client.main(CentershiftSws2Client.java:86)
      4 frames