Exception running localjava stub version?

"Andrzej Jan Taramina" <andrzej-2/[email protected]> Thu, 24 Nov 2005 02:29:47 -0500
Newsgroups gmane.comp.apache.webservices.wsif.user
Organization Chaeron Corporation
Message-ID <[email protected]>
When I try to run the localjava sample, stub version, I get the following 
exception:

org.apache.wsif.WSIFException: Method addEntry(class java.lang.String, class 
localjava.client.stub.addressbook.wsiftypes.Address) was not found in 
portType {http://wsifservice.addressbook/}AddressBook

I'm running wsif-2.0.1_IB3, which is a very recent nightly build.

If I add the following mappings to the stub Run.java code:

			service.mapType(
				new QName("http://wsiftypes.addressbook/", "Address"),
				Class.forName("localjava.client.stub.addressbook.wsiftypes.Address"));
			service.mapType(
				new QName("http://wsiftypes.addressbook/", "Phone"),
				Class.forName("localjava.client.stub.addressbook.wsiftypes.Phone"));

The problem is still there, though in another piece of code (for my own 
project), which doesn't have overloaded operations, adding the mappings fixes 
the problem.

Any ideas what is causing this?  Seems like the latest version of WSIF can't 
dynamically find the mappings.

Thanks!




Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com