This is really confusing me folks... I don't understand... I'm using the jwsdp to call a remote web service, and have been doing so with relative success until this point. The code I'm having trouble on is as follows:
Pretty simple the getSTDClientStub() looks like this:
Again, pretty simple However, I get a method not found error!
"STDService.java": Error #: 300 : method putFormula(com.kellogg.london.common.beans.standards.FormulaMapBean) not found in class com.kellogg.london.services.standards.StandardsJWSIF_Stub at line 64, column 19 Which is incredibly odd, because both my IF file defines the method as: int putFormula(FormulaMapBean bean) throws RemoteException; And the IMPL implements it as such! So, why on earth would it claim it can't find the method? The method even appears in JBuilder's list of available methods, but upon building, it simply wont compile! Other methods in this class execute properly. The only major different between this method, and the others (that work) is that this one accepts a custom class. However, I've added it to the config-interface.xml file, and rebuilt the service... still nothing wants to work! Any ideas? Thanks, Jeff
This stub that you are using, is this what is generated after running the rmic compiler? If this is the case, instead of casting the type to the stub name, cast it to the original class type. If this doesn't make sense, let Me know and I will try to clarify.