[mashup-dev] [jira] Commented: (MASHUP-249) Improvements to dynamic-codegen xslts to be more generic

Jonathan Marsh (JIRA) jira at wso2.org
Wed Aug 22 14:51:54 PDT 2007


    [ http://www.wso2.org/jira/browse/MASHUP-249?page=comments#action_12141 ] 
            
Jonathan Marsh commented on MASHUP-249:
---------------------------------------

Fixed part 1 of this by adding a boolean parameter "fixendpoints" defaulting to true() which, when set to false() prevents any rewriting of endpoints or presentation of alternate endpoints.

I'd like to understand the firefox security model better before tackling part 2.

> Improvements to dynamic-codegen xslts to be more generic 
> ---------------------------------------------------------
>
>                 Key: MASHUP-249
>                 URL: http://www.wso2.org/jira/browse/MASHUP-249
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>         Environment: Any 
>            Reporter: Saminda Wishwajith Abeyruwan 
>         Assigned To: Jonathan Marsh
>
> This issue should have been posted to commons, but as most of the development has been done by Jonathan, I thought this is the right place to post it.
> ==================================================================
> We've been in the process of writing a generic "try it" tool to generate an AJAX app for any WSDL available in the net using xslts available in dynamic-codegen project.
> Design:
> -------
> WSAS will have a tool called "try it", which will generate the required .stub.js and .html pages based on the given WSDL. (Implementation is available in latest nightly builds).
> Constrains:
> ----------
> When implementing this feature, following constrains have been found in the generated ".stub.js" and ".html" pages.
> 1. Though the given WSDL (ex: http://www.webservicex.net/stockquote.asmx?wsdl) has different endpoint addresses, the default will be generate according to the html page "self.location.href" [1]. If the default address set to the SOAP11 or SOAP12 and if it's calculated from the given WSDL, IMHO, that would have  been the correct way.
> 2. As the generated AJAX app running on different host and the given WSDL has endpoints related to another host, SOP will come into play. [2]. Thus, the generated AJAX application should be given a way to turn on the Universal browser privileges or should be given a global  param in XSL to inject the choice at transformation time. [2].
> Shall I open a JIAR to the above matters in MASHUP project.
> Your thoughts on the prior would be really helpful.
> Reference:
> [1]. Attached - shot1.jpg
> [2]. Attached - shot2.jpg
> [3]. http://www.webservicex.net/stockquote.asmx?wsdl
> ==================================================================

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Mashup-dev mailing list