[
https://wso2.org/jira/browse/MASHUP-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180#action_16180
]
Keith Godwin Chapman commented on MASHUP-744:
---------------------------------------------
Fixed the deployer to accept the following.
this.init= foo;
function foo (){
// Do something
// Operation appears in WSDL
}
this.init= function foo (){
// Do something
// Operation appears in WSDL
}
this.init= function (){
// Do something
// No operation in WSDL
}
This is the same for distroy too.
But for this.undispatched you cannot have annonymous functions. The deployer
throws an error in that case. I think that its acceptable to do that.
> Operation name is incorrect when this.init = function bar() is used
> -------------------------------------------------------------------
>
> Key: MASHUP-744
> URL: https://wso2.org/jira/browse/MASHUP-744
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Keith Godwin Chapman
> Assignee: Keith Godwin Chapman
> Fix For: 1.1
>
>
> Operation name is incorrect when this.init = function bar() is used. Its
> displayed as init in the WSDL instead of bar.
--
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