on 07-23-2007 9:28 AM
Dear Experts,
I am new to webservice. I have created a model using Adaptive Webservice option. I had configured a WSDL file location and Destinations for this thing.
After this i had created a object of model, and i am passing some parameters to run this webservice but i am getting following error. Please find the program that i am using and that error below -
<b>try{
Testmodel mod = new Testmodel();
Request_ZHRESS_STATION_REQUISITION inp = new Request_ZHRESS_STATION_REQUISITION(mod);
wdContext.nodeRequest_ZHRESS_STATION_REQUISITION().bind(inp);
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().set.setSERVICEID("12");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().setYYMOD("DIS");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().setYUSERTYPE("EMP");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().modelObject().execute();
}
catch(Exception e)
{
wdContext.currentContextElement().setDEBUG(e.getMessage());
}</b>
But at the line where i am passing SERVICEID as a parameter its throwing error -
<b>Attribute name 'SERVICEID' not defined for model class 'Request_ZHRESS_STATION_REQUISITION'</b>
but i checked thsat its there and its coming from autocompleteion facility also.
Please suggest me some solution.
Hi Roshan,
did you test this webservice stand alone.. ?
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roshan,
Sometimes it's just a cache issue.
Have you tried deleting and re-creating the model again?
Regards,
Barış
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.