joeatsatachi
Programmer
(Type your message here)
--------------------------------
From: zhou yu
hi
I am working on consume coldfusion service in asp.net page. the web service has a required parameter of structure of array.I did the follow code
<script language="c#" runat="server">
struct param {
public string action;
public string @class;
public string target;
}
void cfSetSandBox(object sender, EventArgs e){
CF7SandBox aCF7SandBox;
param [] rules=new param[1];
rules[0].action="read";
rules[0].@class="java.util.PropertyPermission ";
rules[0].target="*";
Object aObject = aCF7SandBox.setSecuritySandbox(/*adminpassword*/"password", /*String*/"e:\\ /*Object[]*/rules);
}
</script>
but i got this error message Compiler Error Message: CS1502: The best overloaded method match for 'CF7SandBox.setSecuritySandbox(string, string, object[])' has some invalid arguments
the error line is
Object aObject = aCF7SandBox.setSecuritySandbox(/*adminpassword*/"password", /*String*/"e:\\ /*Object[]*/rules);
any guru know where is problem is ?
--------------------------------
From: zhou yu
hi
I am working on consume coldfusion service in asp.net page. the web service has a required parameter of structure of array.I did the follow code
<script language="c#" runat="server">
struct param {
public string action;
public string @class;
public string target;
}
void cfSetSandBox(object sender, EventArgs e){
CF7SandBox aCF7SandBox;
param [] rules=new param[1];
rules[0].action="read";
rules[0].@class="java.util.PropertyPermission ";
rules[0].target="*";
Object aObject = aCF7SandBox.setSecuritySandbox(/*adminpassword*/"password", /*String*/"e:\\ /*Object[]*/rules);
}
</script>
but i got this error message Compiler Error Message: CS1502: The best overloaded method match for 'CF7SandBox.setSecuritySandbox(string, string, object[])' has some invalid arguments
the error line is
Object aObject = aCF7SandBox.setSecuritySandbox(/*adminpassword*/"password", /*String*/"e:\\ /*Object[]*/rules);
any guru know where is problem is ?