Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22D7010B4A for ; Mon, 14 Oct 2013 13:47:45 +0000 (UTC) Received: (qmail 65201 invoked by uid 500); 14 Oct 2013 13:47:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 65142 invoked by uid 500); 14 Oct 2013 13:47:42 -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 65122 invoked by uid 99); 14 Oct 2013 13:47:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Oct 2013 13:47:42 +0000 Date: Mon, 14 Oct 2013 13:47:42 +0000 (UTC) From: "Kabron Kline (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5334) WSDL Resolution Problem with SOAP 1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kabron Kline created CXF-5334: --------------------------------- Summary: WSDL Resolution Problem with SOAP 1.2 Key: CXF-5334 URL: https://issues.apache.org/jira/browse/CXF-5334 Project: CXF Issue Type: Bug Components: JAX-WS Runtime Affects Versions: 2.7.7 Environment: Windows, Linux Reporter: Kabron Kline Priority: Trivial Using Apache CXF 2.7.7 if I publish a simple "HelloWorld" JAX-WS service and attempt to resolve the WSDL URL in a web browser using: "localhost:8080/service/HelloWorld?wsdl" the WSDL loads in the browser and everything looks great. If I add the below annotation which changes the SOAP Binding to 1.2 the WSDL resolution still works but the WSDL doesn't load in the browser, instead a download dialog is shown and the file name extension of the WSDL (i.e. ".wsdl") is missing in the download dialog (which is probably why the WSDL isn't loading in the browser). javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING The same behavior appears with the SOAP12HTTP_MTOM_BINDING @javax.xml.ws.BindingType (value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING) Functionally everything works fine even with the BindingType annotation defined so this is just a minor annoyance but I'm wondering how I can get the correct WSDL resolution behavior when the default SOAP 1.1 binding is in use. Note that this behavior happens regardless of whether or not I specify the WSDL location. -- This message was sent by Atlassian JIRA (v6.1#6144)