Skip to Content
0
Former Member
Jul 23, 2007 at 10:26 AM

Problem in Webservice Consuming

18 Views

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)

{

}</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.