Skip to Content
0
Former Member
Sep 02, 2008 at 10:39 AM

call to Application Service Operation inconsistent from WD

9 Views

Hi All,

I am trying to call the Application service operation from a WebDynPro application.

The call to the operation behaves inconsistently.

some times it executes and sometimes it just wont work with the same code.

i dont understand the reason.

please let me know if some has any clue on this!!

Code follows:

-


wdDoInit() {

QASTestCreateMaterial query = null;

query = ASTestProxy.createCreateMaterialQuery();

wdContext.nodeQASTestCreateMaterial().bind(query);

}

callAppService() {

QASTestCreateMaterial query = null;

query = ASTestProxy.createCreateMaterialQuery();

IStructure inp_struct = query.getInputParameterStructure();

inp_struct.setAttributeValue("businessKey",wdContext.currentContextElement().getNum());

query.execute();

wdContext.nodeResult().invalidate();

}

-


The service works fine from the Service Browser.

Thanks in anticipation,

Sudheer.

Edited by: Sudheer Kareti on Sep 2, 2008 4:10 PM