Hi
I have a Java web service implemented as an EJB (J2EE 1.4), which
exposes the following method.
/**
* Web service operation
*/
public String sayHello(final String arg) throws java.rmi.RemoteException {
return "Hello " + arg + "!!!";
}
It works fine with a Java client, but I can't call the method from IronPython.
import clr
clr.AddReference("DynamicWebServiceHelpers.dll")
from DynamicWebServiceHelpers import WebService
ws = WebService.Load(...)
ws.sayHello("Du")
The call to sayHello throws an exception
TypeError: expected sayHello, got str
So what's the mistake?
regards
robert
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com