wrong targetNamespace in generated WSDL
---------------------------------------

                 Key: CXF-2794
                 URL: https://issues.apache.org/jira/browse/CXF-2794
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.2.7
         Environment: Tomcat 5.5, Tomcat 6.0
            Reporter: Nikolay Elenkov


The target namepsace returned by by calling MyService?wsdl is always 
"http://www.springframework.org/schema/beans":

<wsdl:definitions name="MyService" 
targetNamespace="http://www.springframework.org/schema/beans";>
<wsdl:import 
location="http://localhost:8080/myservice-ws/services/MyService?wsdl=MyService.wsdl";
 namespace="http://mypackage.com/";>
  ...

The namespace specified with the @WebService annoutation is 
'http://mypackage.com/'. 

Attached is a project that reproduces the issue. Usage:

1. Build using mvn install
2. Drop in CATALINA_HOME/webapps
3. Access: http://localhost:8080/myservice-ws/services/MyService?wsdl to get 
WSDL


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to