You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bryan Brouckaert (JIRA)" <ji...@apache.org> on 2011/06/09 08:44:58 UTC

[jira] [Created] (SMXCOMP-885) Dynamic Soap address in wsdl

Dynamic Soap address in wsdl
----------------------------

                 Key: SMXCOMP-885
                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
             Project: ServiceMix Components
          Issue Type: Improvement
          Components: servicemix-http
    Affects Versions: 2011.01
            Reporter: Bryan Brouckaert


Hello,

Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
* When the wildcard listen address (0.0.0.0) is used
* In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.

For this it is interesting to have a "dynamic" address that is constructed based on the requested address.

Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.

Kind regards,
Bryan Brouckaert
Mensura  

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

[jira] [Assigned] (SMXCOMP-885) Dynamic Soap address in wsdl

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

Freeman Fang reassigned SMXCOMP-885:
------------------------------------

    Assignee: Freeman Fang

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>            Assignee: Freeman Fang
>         Attachments: SMXCOMP-885.patch
>
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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

[jira] [Updated] (SMXCOMP-885) Dynamic Soap address in wsdl

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

Bryan Brouckaert updated SMXCOMP-885:
-------------------------------------

    Attachment: SMXCOMP-885 (false).patch

Hello,

Here is a new patch with the default to   false.  I knew it should have been "false", but personally "true" is easier for myself ;-) 

Kind regards,
Bryan.

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>            Assignee: Freeman Fang
>         Attachments: SMXCOMP-885 (false).patch, SMXCOMP-885.patch
>
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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

[jira] [Commented] (SMXCOMP-885) Dynamic Soap address in wsdl

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

Freeman Fang commented on SMXCOMP-885:
--------------------------------------

Hi Bryan,

Thanks for the patch.
My concern is the default value for rewriteSoapAddress is true, which means always rewrite by default, this isn't the same behavior with previous version, how about the default value for rewriteSoapAddress is false, to keep backward compatibility and you still get chance to rewrite the address if you want?

Freeman

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>            Assignee: Freeman Fang
>         Attachments: SMXCOMP-885.patch
>
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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

[jira] [Commented] (SMXCOMP-885) Dynamic Soap address in wsdl

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMXCOMP-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046360#comment-13046360 ] 

Jean-Baptiste Onofré commented on SMXCOMP-885:
----------------------------------------------

Thanks Bryan for the patch, I will review it.

FYI, in production, I use a Apache HTTPd proxy configuration to proxy from one public IP to the internal one (used by ServiceMix).

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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

[jira] [Updated] (SMXCOMP-885) Dynamic Soap address in wsdl

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

Bryan Brouckaert updated SMXCOMP-885:
-------------------------------------

    Attachment: SMXCOMP-885.patch

Hello,

Here is my patch, including test case.  It is based on the trunk of this morning.

It has servicemix-http as its base.

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>         Attachments: SMXCOMP-885.patch
>
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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

[jira] [Resolved] (SMXCOMP-885) Dynamic Soap address in wsdl

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

Freeman Fang resolved SMXCOMP-885.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2011.02

apply patch on behalf of Bryan Brouckaert with thanks
http://svn.apache.org/viewvc?rev=1133851&view=rev

> Dynamic Soap address in wsdl
> ----------------------------
>
>                 Key: SMXCOMP-885
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-885
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-http
>    Affects Versions: 2011.01
>            Reporter: Bryan Brouckaert
>            Assignee: Freeman Fang
>             Fix For: 2011.02
>
>         Attachments: SMXCOMP-885 (false).patch, SMXCOMP-885.patch
>
>
> Hello,
> Currently the soap-consumer uses the locationURI for the soap address in the wsdl.  This is ok for most of the times, but doesn't account for the following situations
> * When the wildcard listen address (0.0.0.0) is used
> * In the case of NAT (or some kinds of reverse-proxy), then the client uses a different name then the server is listening on.
> For this it is interesting to have a "dynamic" address that is constructed based on the requested address.
> Today I'll also add a patch that provides this functionality.  It will have the possibility to activate/deactivate the rewrite of the address and will include test cases.
> Kind regards,
> Bryan Brouckaert
> Mensura  

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