You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mark Ford (JIRA)" <ji...@apache.org> on 2011/06/10 22:42:59 UTC

[jira] [Created] (CXF-3584) ?wsdl does not rewrite soap:address for soap1.2 service

?wsdl does not rewrite soap:address for soap1.2 service
-------------------------------------------------------

                 Key: CXF-3584
                 URL: https://issues.apache.org/jira/browse/CXF-3584
             Project: CXF
          Issue Type: Bug
          Components: Simple Frontend
    Affects Versions: 2.4
            Reporter: Mark Ford
            Priority: Minor


*org.apache.cxf.frontend.WSDLGetInterceptor* is responsible for constructing the WSDL in response to a ?wsdl request. This class will rewrite the soap:address/@location attribute to match the fully qualified uri for the service. 

The rewrite for the address occurs in updateDoc but the code there is only checking for the soap:address element within the 1.1 namespace.

For example:
{code:java}
  List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,
                       "http://schemas.xmlsoap.org/wsdl/soap/",
                       "address");
  for (Element soapAddress : sadEls) {
    soapAddress.setAttribute("location", base);
  }
{code}

This code should be changed to support 1.2 as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (CXF-3584) ?wsdl does not rewrite soap:address for soap1.2 service

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

Freeman Fang edited comment on CXF-3584 at 6/12/11 10:21 AM:
-------------------------------------------------------------

commit fix
http://svn.apache.org/viewvc?rev=1134523&view=rev for trunk
http://svn.apache.org/viewvc?rev=1134858&view=rev for 2.4.x branch
http://svn.apache.org/viewvc?rev=1134528&view=rev for 2.3.x branch


      was (Author: ffang):
    commit fix
http://svn.apache.org/viewvc?rev=1134523&view=rev for trunk
http://svn.apache.org/viewvc?rev=1134528&view=rev for 2.3.x branch

  
> ?wsdl does not rewrite soap:address for soap1.2 service
> -------------------------------------------------------
>
>                 Key: CXF-3584
>                 URL: https://issues.apache.org/jira/browse/CXF-3584
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.4
>            Reporter: Mark Ford
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 2.3.6, 2.4.2, 2.5
>
>
> *org.apache.cxf.frontend.WSDLGetInterceptor* is responsible for constructing the WSDL in response to a ?wsdl request. This class will rewrite the soap:address/@location attribute to match the fully qualified uri for the service. 
> The rewrite for the address occurs in updateDoc but the code there is only checking for the soap:address element within the 1.1 namespace.
> For example:
> {code:java}
>   List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,
>                        "http://schemas.xmlsoap.org/wsdl/soap/",
>                        "address");
>   for (Element soapAddress : sadEls) {
>     soapAddress.setAttribute("location", base);
>   }
> {code}
> This code should be changed to support 1.2 as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3584) ?wsdl does not rewrite soap:address for soap1.2 service

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

Freeman Fang resolved CXF-3584.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
                   2.4.2
                   2.3.6

commit fix
http://svn.apache.org/viewvc?rev=1134523&view=rev for trunk
http://svn.apache.org/viewvc?rev=1134528&view=rev for 2.3.x branch


> ?wsdl does not rewrite soap:address for soap1.2 service
> -------------------------------------------------------
>
>                 Key: CXF-3584
>                 URL: https://issues.apache.org/jira/browse/CXF-3584
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.4
>            Reporter: Mark Ford
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 2.3.6, 2.4.2, 2.5
>
>
> *org.apache.cxf.frontend.WSDLGetInterceptor* is responsible for constructing the WSDL in response to a ?wsdl request. This class will rewrite the soap:address/@location attribute to match the fully qualified uri for the service. 
> The rewrite for the address occurs in updateDoc but the code there is only checking for the soap:address element within the 1.1 namespace.
> For example:
> {code:java}
>   List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,
>                        "http://schemas.xmlsoap.org/wsdl/soap/",
>                        "address");
>   for (Element soapAddress : sadEls) {
>     soapAddress.setAttribute("location", base);
>   }
> {code}
> This code should be changed to support 1.2 as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CXF-3584) ?wsdl does not rewrite soap:address for soap1.2 service

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

Freeman Fang reassigned CXF-3584:
---------------------------------

    Assignee: Freeman Fang

> ?wsdl does not rewrite soap:address for soap1.2 service
> -------------------------------------------------------
>
>                 Key: CXF-3584
>                 URL: https://issues.apache.org/jira/browse/CXF-3584
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.4
>            Reporter: Mark Ford
>            Assignee: Freeman Fang
>            Priority: Minor
>
> *org.apache.cxf.frontend.WSDLGetInterceptor* is responsible for constructing the WSDL in response to a ?wsdl request. This class will rewrite the soap:address/@location attribute to match the fully qualified uri for the service. 
> The rewrite for the address occurs in updateDoc but the code there is only checking for the soap:address element within the 1.1 namespace.
> For example:
> {code:java}
>   List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,
>                        "http://schemas.xmlsoap.org/wsdl/soap/",
>                        "address");
>   for (Element soapAddress : sadEls) {
>     soapAddress.setAttribute("location", base);
>   }
> {code}
> This code should be changed to support 1.2 as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira