[ 
https://issues.apache.org/jira/browse/TOMEE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229534#comment-14229534
 ] 

Matthew Broadhead commented on TOMEE-1460:
------------------------------------------

No change using apache-tomee-1.7.2-20141201.041106-82-plume.tar.  Still 
deploying SOAP webservice to localhost:8080 instead of test.com:8080.
{noformat}
INFO: ------------------------- test.com -> /testws
Dec 01, 2014 9:26:24 AM org.apache.openejb.config.ConfigurationFactory 
configureApplication
INFO: Configuring enterprise application: 
/Users/matthewbroadhead/Documents/test/testws
Dec 01, 2014 9:26:24 AM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb Test: EjbDeployment(deployment-id=Test)
Dec 01, 2014 9:26:24 AM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "/Users/matthewbroadhead/Documents/test/testws" 
loaded.
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.Assembler 
createApplication
INFO: Assembling app: /Users/matthewbroadhead/Documents/test/testws
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=TestLocal) --> Ejb(deployment-id=Test)
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/testws/Test!testws.TestWs) --> Ejb(deployment-id=Test)
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.JndiBuilder bind
INFO: Jndi(name=global/testws/Test) --> Ejb(deployment-id=Test)
Dec 01, 2014 9:26:24 AM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance(): 
org.apache.openejb.cdi.ThreadSingletonServiceImpl@400cff1a
Dec 01, 2014 9:26:24 AM org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container is starting...
Dec 01, 2014 9:26:24 AM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Dec 01, 2014 9:26:24 AM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Dec 01, 2014 9:26:24 AM org.apache.webbeans.config.BeansDeployer 
validateInjectionPoints
INFO: All injection points were validated successfully.
Dec 01, 2014 9:26:24 AM org.apache.openejb.cdi.OpenEJBLifecycle startApplication
INFO: OpenWebBeans Container has started, it took 9 ms.
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Created Ejb(deployment-id=Test, ejb-name=Test, container=Default 
Stateless Container)
Dec 01, 2014 9:26:24 AM org.apache.openejb.assembler.classic.Assembler startEjbs
INFO: Started Ejb(deployment-id=Test, ejb-name=Test, container=Default 
Stateless Container)
Dec 01, 2014 9:26:25 AM org.apache.openejb.server.webservices.WsService 
deployApp
INFO: Webservice(wsdl=http://localhost:8080/testws/Test, 
qname={http://test.com/testws/webservices/test}TestService) --> Ejb(id=Test)
Dec 01, 2014 9:26:25 AM org.apache.openejb.assembler.classic.Assembler 
createApplication
INFO: Deployed Application(path=/Users/matthewbroadhead/Documents/test/testws)
Dec 01, 2014 9:26:25 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive 
/Users/matthewbroadhead/Documents/test/testws.war has finished in 1,171 ms
Dec 01, 2014 9:26:25 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Dec 01, 2014 9:26:25 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Dec 01, 2014 9:26:25 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3333 ms
{noformat}

Also, the WSDL location has changed from 
http://localhost:8080/testws/webservices/Test?wsdl to 
http://localhost:8080/testws/Test?wsdl.  This would mess up any projects that 
anyone had created when it updates.

> 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
>
>
> 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}
>     <Host name="localhost">
>     <Host name="test.com">
> {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)

Reply via email to