Skip to Content
avatar image
Former Member

call to Application Service Operation inconsistent from WD

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 03, 2008 at 06:39 PM

    Hi,

    The CAF Web Dynpro model has various limitations and it has been removed from NW CE 7.1 as well. Recommended is to use the Adaptive Web Service model of the CAF Web Service from Web Dynpro instead of using the CAF Web Dynpro model.

    Thanks,

    Dipankar

    Add comment
    10|10000 characters needed characters exceeded