You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2009/09/14 11:29:24 UTC

[jira] Created: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

Showing absolute urls in the proxy service wsdl instead of relative url
-----------------------------------------------------------------------

                 Key: SYNAPSE-581
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
             Project: Synapse
          Issue Type: Improvement
            Reporter: Amila Chinthaka Suriarachchi
         Attachments: proxyService.patch

Currently if we build a proxy service using a wsdl the imports are shown as relative paths.

eg.

<xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

Although this is correct, sometimes it is desirable to show the absolute url 

eg.

<xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>





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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758249#action_12758249 ] 

Ruwan Linton commented on SYNAPSE-581:
--------------------------------------

committed with modifications to make this attribute a parameter;

So now you should have the following parameter in the proxy configuration to enable this feature for a proxy;

<proxy ...>
...
<publishWSD uri="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?wsdl"/>
<parameter name="showAbsoluteSchemaURL">true</parameter>
</proxy>

I will document this as well.

Thanks,
Ruwan

> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Ruwan Linton
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi updated SYNAPSE-581:
-------------------------------------------------

    Attachment: proxyService.patch

this patch adds this feature to synapse.

now users can give the parameter showAbsoluteURL  in synapse.xml.

<publishWSDL uri="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?wsdl" showAbsoluteURL=
"true" />


> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

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

Ruwan Linton resolved SYNAPSE-581.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Fixed on the trunk as well as on the 1.3 branch

> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758212#action_12758212 ] 

Ruwan Linton commented on SYNAPSE-581:
--------------------------------------

Amila, I think it is better to make this to a service parameter, because that is how we handle the useOriginalWSDL as well.

Will do that change and apply the patch.

> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758964#action_12758964 ] 

Ruwan Linton commented on SYNAPSE-581:
--------------------------------------

Added documentation for the feature.

> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-581) Showing absolute urls in the proxy service wsdl instead of relative url

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

Ruwan Linton reassigned SYNAPSE-581:
------------------------------------

    Assignee: Ruwan Linton

> Showing absolute urls in the proxy service wsdl instead of relative url
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-581
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-581
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Ruwan Linton
>         Attachments: proxyService.patch
>
>
> Currently if we build a proxy service using a wsdl the imports are shown as relative paths.
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="StockQuoteProxy?xsd=http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>
> Although this is correct, sometimes it is desirable to show the absolute url 
> eg.
> <xsd:import namespace="http://tempuri.org/" schemaLocation="http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitW.svc?xsd=xsd0"/>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org