You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alvin Chee (JIRA)" <ji...@apache.org> on 2011/02/08 07:03:57 UTC

[jira] Created: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

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

        

[jira] Updated: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

Posted by "Alvin Chee (JIRA)" <ji...@apache.org>.
     [ 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.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
}

  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.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
}


> 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.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

        

[jira] Commented: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

Posted by "Alvin Chee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993110#comment-12993110 ] 

Alvin Chee commented on CXF-3315:
---------------------------------

Thanks a bunch.

> 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

        

[jira] Commented: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992845#comment-12992845 ] 

Daniel Kulp commented on CXF-3315:
----------------------------------

This is somewhat working as designed.   The type of the serviceName (and endpointName) is a QName and is parsed as a qname.  Thus, you would need to define it like:
{code:xml}
<jaxws:endpoint id="securityEndpointService" 
implementorClass="com.zsg.security.endpoint.impl.SecurityEndpointImpl" 
xmlns:ns1="http://my.namespace/...."
serviceName="ns1:SecurityService"
implementor="#securityEndpoint" address="/SecurityService">
{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

        

[jira] Closed: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

Posted by "Alvin Chee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alvin Chee closed CXF-3315.
---------------------------

    Resolution: Not A Problem

> 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

        

[jira] Updated: (CXF-3315) WSDL namespace becomes "http://www.springframework.org/schema/beans" after setting jaxws:endpoint attribute "serviceName"

Posted by "Alvin Chee (JIRA)" <ji...@apache.org>.
     [ 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