on 07-16-2007 3:37 PM
Hi,
I am trying to develop a WebDynpro application using Adaptive Webservice model. I have created a model using WSDL in my application in order to get the Sales order data from the Backend (R/3).
The problem is that after doing context and model mapping in the view and custome controller I am not able to create an instance for the Request parameter.
Code in custome controller:
Request_ZFmServDocflow Request = new Request_ZFmServDocflow();
wdContext.nodeRequest_ZFmServDocflow().bind(Request);
Request.setZFmServDocflow(new ZFmServDocflow());
In the above code for "Request_ZFmServDocflow" I am not able to create an instance, Its saying <b>The Constructor "Request_ZFmServDocflow" is not defined </b>(Its expecting some parameter).
I have followed the Email Webservice application in SDN But couldn't understand the problem. Need your expertise in this application. Can anybody explain how to develop an application using WSDL in WebDynpro's. Also if any links that could explain the entire scenario.
if possible try to create web service model selecting webservice from the local server and try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan,
your code is very fine, there are some jars missing.
add theses jars in java build path of your project
1.xmlparserAPIs.jar
2.XmlWrapper.jar
3.webservice.jar
4.jaxrpc-api.jar
5.jaxm.jar
hope this will solve your problem.
Regards,
venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi venkat,
Even after including the jar files that you have mentioned I am getting the same error.
May be it is all due to proxy setting. Can you explain me what should i give in the proxy address and port Input fields.
The settings are at
Windows> Preferences> Workbench (left pane)--> Proxy settings
This is all my assumption that the error is due to proxy settings. It can be any other reason. Can there be any other reasons for this kind of error ?
thanks,
kalyan
Hi kalyan,
Request expects the Instance of ur web service model .Create the instance of ur model & pass that to request.Suppose u have the web service model named SuppliesModel,as i have written in code.
e.g.
SuppliesModel suppliesModel = new SuppliesModel();
FindAllSupplies findSupplies =new FindAllSupplies(suppliesModel);
Request_FindAllSupplies reqModel =new Request_FindAllSupplies(suppliesModel);
findSupplies.setCountry(country);
wdContext.nodeRequest_FindAllSupplies().bind(reqModel);
then execute.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sumit,
I have already tried with the given process earlier but I am getting the below given error.
java.rmi.RemoteException: Service call exception; nested exception is: java.net.UnknownHostException: ftp=internetpln.eds.com:81;gopher=internetpln.eds.com:80;http=internetpln.eds.com:80;https=internetpln.eds.com
Can you help me out.
Regards,
Kalyan
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.