cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvin Chee (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"
Date Tue, 08 Feb 2011 06:03:57 GMT
WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint
attribute "serviceName"
-------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-3315
                 URL: https://issues.apache.org/jira/browse/CXF-3315
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.3.2
         Environment: Tomcat 5.5.32, JDK 1.5.22, Windows XP
            Reporter: Alvin Chee


I've described the changes made that have caused the issue below. By default, the service
name is SecurityEndpointImplService, which is actually "<endpoint implementation>Service".
I would like to set it as "SecurityService", but somehow it changed the target namespace in
the WSDL to spring? Please advise a workaround if this is the expected behavior.

<!-- Configuration (before) -->
<jaxws:endpoint id="securityEndpointService" 
	implementorClass="com.scb.nfs.security.endpoint.impl.SecurityEndpointImpl"
	implementor="#securityEndpoint" address="/SecurityService">

<!-- Configuration (after)  -->
<jaxws:endpoint id="securityEndpointService" 
	implementorClass="com.scb.nfs.security.endpoint.impl.SecurityEndpointImpl" serviceName="SecurityService"
	implementor="#securityEndpoint" address="/SecurityService">

<!-- WSDL (before) -->
<wsdl:definitions name="SecurityEndpointImplService" targetNamespace="http://impl.endpoint.security.nfs.scb.com/">

<!-- WSDL (after) -->
<wsdl:definitions name="SecurityService" targetNamespace="http://www.springframework.org/schema/beans">

<!-- endpoint interface (no changes) -->
@WebService(name = "SecurityService")
@SOAPBinding(
        style = SOAPBinding.Style.DOCUMENT,
        use = SOAPBinding.Use.LITERAL,
        parameterStyle = ParameterStyle.WRAPPED
)
public interface SecurityEndpoint {
// more code
}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message