[
https://wso2.org/jira/browse/MASHUP-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430#action_16430
]
Keith Godwin Chapman commented on MASHUP-725:
---------------------------------------------
Evaluating this in detail and having a detailed chat with Jonathan resulted in
the following conclusion. This decision was taken considering invoking this
property from the init function and long running services.
system.endpointURL would return the calling address. and thus this will return
"" when called from within an init function or when called through a scheduled
invocation.
system.wwwURL would return the http url for that service . e.g
"http://169.254.11.101:7762/services/system/test"
> Could use a way to find the endpoint of a service from within the Javascript.
> -----------------------------------------------------------------------------
>
> Key: MASHUP-725
> URL: https://wso2.org/jira/browse/MASHUP-725
> Project: WSO2 Mashup Server
> Issue Type: Improvement
> Reporter: Jonathan Marsh
> Assignee: Keith Godwin Chapman
> Fix For: 1.1
>
>
> A function (system object?) that would provide the endpoint URI at which the
> service was invoked would be very valuable. How else, for instance, can I
> construct a feed link that won't break as my service is invoked through
> different bindings, and won't break when the mashup is migrated?
> I'm thinking something like a read-only property:
> var myURL = system.endpointURL;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev