It might be useful to post a wsdl which reproduces this.

________________________________

From: [EMAIL PROTECTED] on behalf of wierob
Sent: Fri 1/12/2007 10:48 AM
To: [email protected]
Subject: [IronPython] Java Web Service


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

<<winmail.dat>>

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to