You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/01/08 04:58:46 UTC

[jira] Updated: (CXF-1710) WSDL endpoint address incorrect when publishing similar endpoints through a servlet

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

Daniel Kulp updated CXF-1710:
-----------------------------

    Fix Version/s: NeedMoreInfo


This issue seems to be fixed now.  I cannot reproduce it with the latest wsdl_first code using the instructions above.  

> WSDL endpoint address incorrect when publishing similar endpoints through a servlet
> -----------------------------------------------------------------------------------
>
>                 Key: CXF-1710
>                 URL: https://issues.apache.org/jira/browse/CXF-1710
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.1
>         Environment: Tomcat 6.0.16.
>            Reporter: Kim
>            Priority: Minor
>             Fix For: NeedMoreInfo
>
>
> This issue is very similar to the problem described in issue CXF-793, but that is supposed to have been fixed in 2.0.4.
> This issue might relate to the use of servlets.
> When multiple published endpoints use the same WSDL, the served WSDLs (?wsdl) don't get the correct endpoint adress. 
> I am subclassing CXFServlet and deploy multiple endpoints using the API as described in the docs:
>    Endpoint.publish("/Greeter", new GreeterImpl());
>    Endpoint.publish("/Greeter2", new GreeterImpl());
> In all the endpoints, the generated WSDL specifies soap:address location pointing to the last endpoint listed in the service list.
> The same happens using cxf-servlet.xml.
> Steps to reproduce:
> - Use sample "wsdl_first"
> - Edit cxf-servlet.xml: duplicate the <jaxws:endpoint> section, change id and address in the copy
> - Build WAR
> - Deploy on Tomcat
> - Check the generated WSDLs 
> The WSDLs are supposed to point to different adresses, right?
> In my test they don't.
> Regards,
> -- Kim

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