tags:

views:

62

answers:

0

Hi,

I get this exception (written in the title) when trying to call a webservice.

The road so far was, I generated a bunch of classes for the objects, service and service methods via wsimport and if I only use the generated objects calling the service works.

The problem is that wsimport also generates classes which already exist as my domain objects and obviously I can't cast between these two so I only want to use my domain objects. Therefore I deleted the generated duplicate objects and added the required JAXB annotations to my domain objects. I also copied the generated package-info.java and ObjectFactory.java into the according packages.
But now, when I try to call the service I get this exception that the proxy object representing the method is unknown to the context.


Has anybody an idea what might be the reason for this problem? Any tip much appreciated.

Thanks, Simon