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] Updated: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"
Date Thu, 10 Feb 2011 03:05:57 GMT

     [ https://issues.apache.org/jira/browse/CXF-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alvin Chee updated CXF-3315:
----------------------------

    Description: 
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.zsg.security.endpoint.impl.SecurityEndpointImpl"
	implementor="#securityEndpoint" address="/SecurityService">

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

<!-- WSDL (before) -->
<wsdl:definitions name="SecurityEndpointImplService" targetNamespace="http://impl.endpoint.security.zsg.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
}

  was:
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.zsg.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
}


> 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.zsg.security.endpoint.impl.SecurityEndpointImpl"
> 	implementor="#securityEndpoint" address="/SecurityService">
> <!-- Configuration (after)  -->
> <jaxws:endpoint id="securityEndpointService" 
> 	implementorClass="com.zsg.security.endpoint.impl.SecurityEndpointImpl" serviceName="SecurityService"
> 	implementor="#securityEndpoint" address="/SecurityService">
> <!-- WSDL (before) -->
> <wsdl:definitions name="SecurityEndpointImplService" targetNamespace="http://impl.endpoint.security.zsg.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