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 235DF2004F3 for ; Tue, 15 Aug 2017 18:19:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 21AB2166E7B; Tue, 15 Aug 2017 16:19:35 +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 672DA166E77 for ; Tue, 15 Aug 2017 18:19:34 +0200 (CEST) Received: (qmail 60021 invoked by uid 500); 15 Aug 2017 16:19:33 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 60009 invoked by uid 99); 15 Aug 2017 16:19:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2017 16:19:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 885D11A06A9 for ; Tue, 15 Aug 2017 16:19:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QgfKncamU0cE for ; Tue, 15 Aug 2017 16:19:30 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C8C715F6BF for ; Tue, 15 Aug 2017 16:19:29 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id n125so4137733vke.1 for ; Tue, 15 Aug 2017 09:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=QFagKgEhpJxFInMhDlmzLXSq8ze2v6+Wc5+wSQN/RKE=; b=BEFHKw2Jg9lf35eRLluwwXctv/WjNIAOIVASj5dai76CUej6MZRT6kBtymxR45+KoG jFHe1/WiCefElUiL675o4tJ+cFUY+n7Ri1OctCcu1FJVNpp4joTgGsrlBfStWWExHhjn mJtLPDV+imiwmO6fulWqH5XXgA8uiQ0QqlFOo/r4pxUEDKRVgX6Ab5vw4VSqrAheYyUD j58NIOTtulKcyXhStvvdwgOwpynzmFMGlcKlIOhK+6Nu2MvrV9ySYCGH1aRhGDURt0iz xulvQTt1FcJ4HdPOtxG7EEjngEicBUjFtffJE2exX+kCwUMLeaeMEDBk6zSSyJWNnJNZ eT8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=QFagKgEhpJxFInMhDlmzLXSq8ze2v6+Wc5+wSQN/RKE=; b=J/xN0YPgQIDddZM5DLuhSnVeDOjJ3sYBBN9iaBl6xDmY+jPwEx4tfWGpo43O1yxcxl xvfJI7oEeDRRDwi2R3zJbm8uoBf5ruODFBfg2AFZ2a43ybck9/FNkm+G3A+6pRil8t+f pd+VNsNJxWQpHwuPgbfOD+ulBHh6ABnDTzIKBtrQ5e4trCzP/sqpDKUhkpSeJ8FNi4uw YVBqVpD+r1Jij9GRLKiMwtq6mVwOMX8XlpvteNgefL9B8EfpP1edC2ZiFvpQOBc6Vm5P b87/N6Yg58ZJCoLMbR3NpaSA9P6LXKPxhM/ww+1pJZG1k5QencZjRSMrejX+o6Fk7WIS XEdQ== X-Gm-Message-State: AHYfb5jaSVCsh85hFDky1w55PBZZmt73gWY9LR4VdqjAGl/O3h7wrguM 5DHCy338ihQP6HdPnGujGVRCK/LaFzQN X-Received: by 10.31.216.195 with SMTP id p186mr18002869vkg.203.1502813962324; Tue, 15 Aug 2017 09:19:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.54.65 with HTTP; Tue, 15 Aug 2017 09:19:21 -0700 (PDT) Reply-To: david@davidkarlsen.com In-Reply-To: References: From: David Karlsen Date: Tue, 15 Aug 2017 18:19:21 +0200 Message-ID: Subject: Re: Spring boot - serverside - coexisting JAXRS and JAXWS on distinct url's To: users@cxf.apache.org Content-Type: multipart/alternative; boundary="94eb2c07b3b063512f0556cd24b3" archived-at: Tue, 15 Aug 2017 16:19:35 -0000 --94eb2c07b3b063512f0556cd24b3 Content-Type: text/plain; charset="UTF-8" As I tried to put in the initial request - this is not an option. Using old-style xml config it was quite straightforward as the context file for the jaxws/jaxrs layer is given as an init-param to each servlet instance. Maybe if the auto-configuration could look for servlet beans with specific names - and use these if given. 2017-08-15 17:29 GMT+02:00 Sergey Beryozkin : > I believe the way to do it is to create two SpringVoot applications with > one having jaxws properties and another - jaxrs ones. > > Sergey > On 15/08/17 15:58, David Karlsen wrote: > >> I want my co-existing services for JAXRS and JAXWS (e.g. same war) - to be >> on separate context paths: >> http://server:port/appcontext/api (jaxrs) >> http://server:port/appcontext/services (jaxws) >> >> Looking at >> >> http://cxf.apache.org/docs/springboot.html#SpringBoot-Spring >> BootCXFJAX-RSStarter >> http://cxf.apache.org/docs/springboot.html#SpringBoot-Spring >> BootCXFJAX-WSStarter >> >> this does not seem possible - as there is only one cxf servlet (and using >> the same property cxf.path etc) >> >> It seems the boot stuff is not really usable if you are to have JAXRS and >> JAXWS services in the same app with distinct paths? Could they get >> distinct >> properties / be able to tie a given set to a given servlet-instance? >> >> >> > > -- > Sergey Beryozkin > > Talend Community Coders > http://coders.talend.com/ > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen --94eb2c07b3b063512f0556cd24b3--