Skip to Content
0
Former Member
Mar 06, 2008 at 12:08 PM

java.lang.NoSuchMethodError: solution?

270 Views

please !!!

error message:

"java.lang.NoSuchMethodError: com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub._initParameter(Lcom/sap/engine/services/webservices/jaxrpc/wsdl2java/ServiceParam;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V

"

i came accross this error when i deploy and test a web dynpro project.

in this project, i add a web services model depreciated into the WD project.

the web serives is tested ok before i import it to my WD. the function of this WS is to gather a input and return it in upper case.

can anyone came accross similar problem and found the solution?

thanks.

This line cause the problem:

wdContext.currentxxxxxElement().modelObject().execute();

-


More information on the implementation:

try {

wdContext.currentRequest_CalNganViDocument_changeCaseElement().modelObject().execute();

wdContext.nodeResponse().invalidate();

String result = wdContext.currentResponseElement().getResult();

wdComponentAPI.getMessageManager().reportSuccess(result);

}

catch(Exception ex) {

wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(),true);

}