on 03-06-2008 12:08 PM
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);
}
Hi ENg beng LEe,
Before executing the WebService model have u created the object of the Node, ie
before this line,
wdContext.currentxxxxxElement().modelObject().execute();
<RequestNode> objReq = null;
try
{
objReq = new <RequestNode>();
wdContext.node<RequestNode>.bind(objReq);
}
Try this out. this might be causing the problem
Regards,
Poojith M V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
thannks Poojith.
I did add the code in WdDoInit method.
please guide me further...
the webservices print screen:
http://i95.photobucket.com/albums/l147/leeeb/method.jpg
here is the code in ini method:
//@@begin wdDoInit()
Request_CalNganViDocument_changeCase req = new Request_CalNganViDocument_changeCase();
wdContext.nodeRequest_CalNganViDocument_changeCase().bind(req);// nodeWebServiceEmail().bind(req);
//@@end
and the action of button:
//@@begin onActionsend(ServerEvent)
try {
wdContext.currentRequest_CalNganViDocument_changeCaseElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
// String result = wdContext.currentResponseElement().getResult();
// wdComponentAPI.getMessageManager().reportSuccess(result);
wdComponentAPI.getMessageManager().reportSuccess("dala");
}
catch(Exception ex) {
wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage()+"no method",true);
}
//@@end
Edited by: ENg beng LEe on Mar 7, 2008 4:00 AM
Edited by: ENg beng LEe on Mar 7, 2008 4:01 AM
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.