[jboss-jira] [JBoss JIRA] (WFLY-3260) Fix WSTestCase
Matus Abaffy (JIRA)
issues at jboss.org
Tue Jun 17 06:08:24 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976920#comment-12976920 ]
Matus Abaffy commented on WFLY-3260:
------------------------------------
According to n1hility's comment on https://github.com/wildfly/wildfly/pull/6168, the hardcoded address (wsdlLocation = "http://localhost:8080/ws-example?wsdl") in the annotations is not IPv6 compatible. (See classes SimpleStatelessSessionBean and EndpointService.)
However, the original value (wsdlLocation = "META-INF/wsdl/EndpointService.wsdl") in EndpointService causes an error:
{code}
...
Caused by: javax.ejb.EJBException: java.lang.RuntimeException: WFLYNAM0059: Resource lookup for injection failed: env/org.jboss.as.test.smoke.webservices.SimpleStatelessSessionBean/endpoint2
...
Caused by: java.io.IOException: WFLYWS0039: Child 'META-INF/wsdl/EndpointService.wsdl' not found for VirtualFile: "/content/ws-example.war"
{code}
The serviceRef injection is tested in the package org.jboss.as.test.integration.ws.serviceref.
Therefore, I've come to conclusion that the part of WSTestCase that "tests" the injection should be removed as it is broken & redundant.
(Broken because of WFLY-3262.)
> Fix WSTestCase
> --------------
>
> Key: WFLY-3260
> URL: https://issues.jboss.org/browse/WFLY-3260
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite, Web Services
> Affects Versions: 8.1.0.CR1
> Reporter: Matus Abaffy
> Assignee: Matus Abaffy
>
> Package org.jboss.as.test.smoke.webservices contains SimpleStatelessSessionBean with several @WebServiceRef injection points.
> SimpleStatelessSessionBean is injected into SimpleServlet. However, SimpleServlet is never initialized and an instance of SimpleStatelessSessionBean is never created. Therefore, no @WebServiceRef injection is tested here.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list