You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jakub Janczak (JIRA)" <ji...@apache.org> on 2007/09/18 10:16:43 UTC

[jira] Created: (CXF-1031) CXF servlet badly exposes the wsdl's

CXF servlet badly exposes the wsdl's
------------------------------------

                 Key: CXF-1031
                 URL: https://issues.apache.org/jira/browse/CXF-1031
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: any
            Reporter: Jakub Janczak
            Priority: Trivial


When you approach an URL http://<host>/<cxf_servlet> you get badly formed URL's to the WSDL's. 
When you use http://<host>/<cxf_servlet>/ everything is all right, so the code for generating that page needs a little correction (checking if the last character in base URL is really '/')

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


[jira] Commented: (CXF-1031) CXF servlet badly exposes the wsdl's

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528343 ] 

Glen Mazza commented on CXF-1031:
---------------------------------

I'm confused--how are you getting badly formed URL's--don't you still need to type in the "/wsdl" (or "?wsdl") ending to the URL to get to the WSDL?

> CXF servlet badly exposes the wsdl's
> ------------------------------------
>
>                 Key: CXF-1031
>                 URL: https://issues.apache.org/jira/browse/CXF-1031
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: any
>            Reporter: Jakub Janczak
>            Priority: Trivial
>
> When you approach an URL http://<host>/<cxf_servlet> you get badly formed URL's to the WSDL's. 
> When you use http://<host>/<cxf_servlet>/ everything is all right, so the code for generating that page needs a little correction (checking if the last character in base URL is really '/')

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


[jira] Updated: (CXF-1031) CXF servlet badly exposes the wsdl's

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

Jakub Janczak updated CXF-1031:
-------------------------------


For example, the page registred for CXF:
http://<server>/<servlet>
exposes the wsdl's without the last character of the base URL (because the URL hadn't a '/' in the end). In case You use a 
http://<server>/<servlet>/
everything is just fine. Problem is how the CXF servlet handles the base URL - it should check whether it ends with '/' or not.

> CXF servlet badly exposes the wsdl's
> ------------------------------------
>
>                 Key: CXF-1031
>                 URL: https://issues.apache.org/jira/browse/CXF-1031
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: any
>            Reporter: Jakub Janczak
>            Priority: Trivial
>
> When you approach an URL http://<host>/<cxf_servlet> you get badly formed URL's to the WSDL's. 
> When you use http://<host>/<cxf_servlet>/ everything is all right, so the code for generating that page needs a little correction (checking if the last character in base URL is really '/')

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