[progress Communities] [progress Openedge Abl] Forum Post: Re: Problem With Webservice -...

  • Thread starter Thread starter rgromadk
  • Start date Start date
Status
Not open for further replies.
R

rgromadk

Guest
Here is a fragment from bprowsdldoc documentation ------------------------------ Order No documentation found in WSDL. Procedure prototype PROCEDURE Order: DEFINE INPUT PARAMETER ApplicationArea AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER DATASET-HANDLE DataArea. DEFINE OUTPUT PARAMETER result AS CHARACTER NO-UNDO. END PROCEDURE. Function prototype FUNCTION Order RETURNS CHARACTER (INPUT ApplicationArea AS CHARACTER, INPUT DATASET-HANDLE DataArea). END FUNCTION. Example DEFINE VARIABLE ApplicationArea AS CHARACTER NO-UNDO. DEFINE VARIABLE DataArea AS HANDLE NO-UNDO. DEFINE VARIABLE result AS CHARACTER NO-UNDO. FUNCTION Order RETURNS CHARACTER (INPUT ApplicationArea AS CHARACTER, INPUT DATASET-HANDLE DataArea) IN hAbcObj. /* Function invocation of Order operation. */ result = Order(ApplicationArea, DATASET-HANDLE DataArea). /* Procedure invocation of Order operation. */ RUN Order IN hAbcObj(INPUT ApplicationArea, INPUT DATASET-HANDLE DataArea, OUTPUT result). ------------------------------- DATASET-HANDLE parameter works correctly. Problem is LONGCHAR. I suppose that we found the cause of our problem. Propbably problem is connection beetwen SoapUI and webservice. We can't read ApplicationArea as DATASET-HANDLE because there is nested elements with this same name one in second. We have to use LONGCHAR but SoapUI has problem with send xml string as parameter. I found similar problems on SoapUi forum. We checked our webservices from OpenEdge procedure and from .Net and it worked correctly. Probably it resolve our problem. We have to use other software to test webservice. I have also other problem. How to prepare ONE-WAY service. Maybe it is strange but we don't need any output parameter.s Our procedure hasn't OUTPUT PARAMETER but bprowsdldoc generate prototype procedure with OUTPUT. We don't know how to create webservice without it. Rafal

Continue reading...
 
Status
Not open for further replies.
Back
Top