[
https://issues.apache.org/jira/browse/TOMEE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew Broadhead updated TOMEE-1460:
-------------------------------------
Description:
i have a basic test webservice with interface TestWs
{code}
package testws;
import javax.jws.WebService;
@WebService(targetNamespace = "http://test.com/authws/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/authws/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/authws/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/authws/webservices/test}TestService) --> Ejb(id=Test)
{code}
was:
i have a basic test webservice with interface TestWs
{code}
package testws;
import javax.jws.WebService;
@WebService(targetNamespace = "http://test.com/authws/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/authws/webservices/test", endpointInterface
= "testws.TestWs")
public class Test implements TestWs {
@Override
public void test() {
}
}
{code}
in server.xml i have two host elements
<Host name="localhost">
<Host name="test.com">
deploying the war to localhost everything is fine. deploying to test.com it
does not work. the log reads:
INFO: Webservice(wsdl=http://localhost:8080/testws/Test,
qname={http://test.com/authws/webservices/test}TestService) --> Ejb(id=Test)
whereas the expected result might be
INFO: Webservice(wsdl=http://test.com:8080/testws/Test,
qname={http://test.com/authws/webservices/test}TestService) --> Ejb(id=Test)
> 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
> Reporter: Matthew Broadhead
>
> i have a basic test webservice with interface TestWs
> {code}
> package testws;
> import javax.jws.WebService;
> @WebService(targetNamespace = "http://test.com/authws/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/authws/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/authws/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/authws/webservices/test}TestService) --> Ejb(id=Test)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)