When I create a ws client in IBM WAS 6.1 as a dynamic project the client works just fine.
But when we do the same thing and try to integrate the client in an existing project which has many other jars we get the following error just before we try to get the reference of the port we get this error :
java.lang.NoSuchMethodError: javax/wsdl/Operation.getExtensibilityElements()Ljava/util/List;
I am not sure if this is to do with some jar version issue or some jar conflict issue as the existing project has many jars.
When debugging I do see this class in the classpath under 2 jars :
- com.ibm.ws.runtime_6.1.0.jar
- com.ibm.jaxws.thinclient_6.1.0.jar
the runtime has the BindignOperation with the getExtensibilityElements method but the thinclient does not.
since runtime is in the plugins folder it gets loaded first , also I think this is not a problem as some other project has the same env and it works but a different set of jars, since there are so many jars its difficult to find out which one could be a possible candidate for this issue
I dont think there is any problem with the webservice.
Thanks.