From commits-return-33458-apmail-tomee-commits-archive=tomee.apache.org@tomee.apache.org Mon Dec 1 09:56:19 2014 Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48131104DD for ; Mon, 1 Dec 2014 09:56:19 +0000 (UTC) Received: (qmail 75566 invoked by uid 500); 1 Dec 2014 09:56:14 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 75543 invoked by uid 500); 1 Dec 2014 09:56:14 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 75533 invoked by uid 500); 1 Dec 2014 09:56:14 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 75530 invoked by uid 99); 1 Dec 2014 09:56:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 09:56:14 +0000 Date: Mon, 1 Dec 2014 09:56:14 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOMEE-1460) deploying cxf webservice in host other than localhost MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229615#comment-14229615 ] Romain Manni-Bucau commented on TOMEE-1460: ------------------------------------------- Ok mea culpa, seems I forgot to push a part of my change (done now). Will be redeployed tomorrow It will deploy by default with the modified address (ie with the host inside) but openejb.wsAddress.format = /{ejbName} (or any other pattern) allows to fix it. > deploying cxf webservice in host other than localhost > ----------------------------------------------------- > > Key: TOMEE-1460 > URL: https://issues.apache.org/jira/browse/TOMEE-1460 > Project: TomEE > Issue Type: Bug > Affects Versions: 1.7.1, 1.7.2 > Reporter: Matthew Broadhead > Assignee: Romain Manni-Bucau > Fix For: 2.0.0-Milestone-1, 1.7.2 > > Attachments: testws.war > > > i have a basic test webservice with interface TestWs > {code} > package testws; > import javax.jws.WebService; > @WebService(targetNamespace = "http://test.com/testws/webservices/test") > public interface TestWs { > void test(); > } > {code} > and class Test > {code} > package testws; > import javax.ejb.Stateless; > import javax.jws.WebService; > @Stateless > @WebService(portName = "TestPort", serviceName = "TestService", targetNamespace = "http://test.com/testws/webservices/test", endpointInterface = "testws.TestWs") > public class Test implements TestWs { > @Override > public void test() { > } > } > {code} > in server.xml i have two host elements > {code:xml} > > > {code} > deploying the war to localhost everything is fine. deploying to test.com it does not work. the log reads: > {code} > INFO: Webservice(wsdl=http://localhost:8080/testws/Test, qname={http://test.com/testws/webservices/test}TestService) --> Ejb(id=Test) > {code} > whereas the expected result might be > {code} > INFO: Webservice(wsdl=http://test.com:8080/testws/Test, qname={http://test.com/testws/webservices/test}TestService) --> Ejb(id=Test) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)