Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7030

wsdl missing sp:TransportBinding element was generated without error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.1.4
    • Invalid
    • None
    • None
    • Unknown

    Description

      a wsdl containing a incorrect TransportBinding, missing the required element "sp:TransportBinding/wsp:Policy/sp:AlgorithmSuite" was generated without error.

      This resulted in a runtime crash with the following stack trace

      java.lang.IllegalArgumentException: sp:TransportBinding must have an inner sp:AlgorithmSuite element
      at org.apache.wss4j.policy.model.AbstractBinding.parseNestedBindingPolicy:100
      at org.apache.wss4j.policy.model.AbstractBinding.<init>:43
      at org.apache.wss4j.policy.model.TransportBinding.<init>:36
      at org.apache.wss4j.policy.builders.TransportBindingBuilder.build:45
      at org.apache.wss4j.policy.builders.TransportBindingBuilder.build:34
      at org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder:138
      at org.apache.neethi.AssertionBuilderFactoryImpl.build:117
      at org.apache.neethi.PolicyBuilder.processOperationElement:224
      at org.apache.neethi.PolicyBuilder.getPolicyOperator:174
      at org.apache.neethi.PolicyBuilder.getPolicy:124
      at org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver.resolveReference:53
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.resolveLocal:292
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.resolveReference:272
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy:220
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy:168
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getElementPolicy:161
      at org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.getEffectivePolicy:75
      at org.apache.cxf.ws.policy.PolicyEngineImpl.getAggregatedServicePolicy:438
      at org.apache.cxf.ws.policy.EndpointPolicyImpl.initializePolicy:151
      at org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize:140
      at org.apache.cxf.ws.policy.PolicyEngineImpl.createEndpointPolicyInfo:584
      at org.apache.cxf.ws.policy.PolicyEngineImpl.getEndpointPolicy:313
      at org.apache.cxf.ws.policy.PolicyEngineImpl.getClientEndpointPolicy:294
      at org.apache.cxf.ws.policy.PolicyDataEngineImpl.getClientEndpointPolicy:61
      at org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy:318
      at org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy:338
      at org.apache.cxf.transport.http.HTTPConduit.getClient:872
      at org.apache.cxf.transport.http.HTTPConduit.configureConduitFromEndpointInfo:360
      at org.apache.cxf.transport.http.HTTPConduit.finalizeConfig:440
      at org.apache.cxf.transport.http.HTTPTransportFactory.getConduit:242
      at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit:222
      at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit:229
      at org.apache.cxf.endpoint.AbstractConduitSelector.createConduit:145
      at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit:107
      at org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit:77
      at org.apache.cxf.endpoint.ClientImpl.getConduit:845

      Attachments

        Activity

          People

            Unassigned Unassigned
            kim.hansson Kim Hansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: