Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AFD74200B73 for ; Mon, 29 Aug 2016 14:57:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AE80A160AC8; Mon, 29 Aug 2016 12:57:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0B2B2160AA7 for ; Mon, 29 Aug 2016 14:57:21 +0200 (CEST) Received: (qmail 81241 invoked by uid 500); 29 Aug 2016 12:57:20 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 81230 invoked by uid 99); 29 Aug 2016 12:57:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 12:57:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 792D72C0154 for ; Mon, 29 Aug 2016 12:57:20 +0000 (UTC) Date: Mon, 29 Aug 2016 12:57:20 +0000 (UTC) From: "Kim Hansson (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-7030) wsdl missing sp:TransportBinding element was generated without error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 Aug 2016 12:57:22 -0000 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.:43 at org.apache.wss4j.policy.model.TransportBinding.: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)