cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Hansson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7030) wsdl missing sp:TransportBinding element was generated without error
Date Mon, 29 Aug 2016 12:57:20 GMT
Kim Hansson created CXF-7030:
--------------------------------

             Summary: wsdl missing sp:TransportBinding element was generated without error
                 Key: CXF-7030
                 URL: https://issues.apache.org/jira/browse/CXF-7030
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.1.4
            Reporter: Kim Hansson


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message