on 12-23-2005 6:48 AM
Hi Experts ,
I have WSDL file on my Loal system . I have created WebService Model for this file (using WSDL source as Local file system).
Following is the code I have return to execute the model object.
Request_Dept is the name of context model node.
Request_Dept req = new Request_Dept();
wdContext.nodeRequest_Dept().bind(req);
req.setDept(1250);
req.setLoc(0001);
try {
wdContext.currentRequest_DeptElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
String result = null ;
result = wdContext.currentResultElement().getValue();
if (result == null )
{
result = "No Output";
}
String msg = "Email Web Service returned " + result ;
But when I am running the application I am not able to see any data . Is somthing missing?
Thanks in advance,
Dhanashree
hi
did give the http proxyhost and http proxyport
go to your model in the webdynpro explorer.expand it.go to the logical port.check the checkbox usehttp proxy
and give details for proxyhost and proxy port.
regards
saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Its giving size as zero even which is incorrect.
Thanks in advance,
Dhanashree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
just try to print
wdContext.nodeResultElement().size();
Make sure that it is not comming as null.
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.