Can any one tell me how to access the fields in the RFC export structure returned as part of the reply to an API Publish and Wait call in WM Version 5.0 or better?
I am in the process of converting a functioning version 4.0.2 WebMethods integration into version 5.0. The process currently works like this; The request comes from an out side source like a Web Page via a Java Servlet, The Servlet uses API calls to publish the request and wait for the reply. The integration uses a SAP RFC to retrieve the data from SAP and return it as an export table. The new version this fails when I try to access the fields returned in the export table.
When I try to access this line of code:
int LoopCount = aReplies.getSequenceFieldSize(“et_matrix.kunnr”);
This is the error I get when I access the fields in the same way I did in version 4.0.
“Field Not Found (203-1090): The field ‘et_matrix_kunnr’ could not be found in the document.”
I get the same error when I use the same method I use to access fields in the Import Table successfully.
“Field Not Found (203-1090): The field ‘et_matrix.kunnr’ could not be found in the document.”
Can any one tell me what I am doing wrong or better yet show me to an example where they are accessing the fields in an SAP Export table using version 5 or better API calls?