0 Replies Latest reply: May 3, 2013 1:42 PM by Klaus Linhard RSS

    Restful post with X-APEX-STATUS-CODE parameter

    Klaus Linhard
      Hello,
      iam running APEX 4.2.1 with APEX Listener 2.0... and have defined a restful post webservice with X-APEX-STATUS-CODE parameter (see following link)

      https://dl.dropboxusercontent.com/u/74957972/parameters.png

      Now i want to create a "Web Service Reference" and after that i want to create a form "Form and Report on Web Service"

      "Web Service Reference":
      First question is has the X-APEX-STATUS-CODE parameter to be defined as
      "REST Output Parameter" or a "REST HTTP Header"

      If i define it as "REST HTTP Header" then APEX complains by creating "Form and Report on Web Service" that there is now Output Parameter
      If i define it as "REST Output Parameter" i can create the "Form and Report on Web Service" but get no response (201) from the service after post.

      What am i doing wrong ?

      The definition of service itself was proposed in the Application Listener Forum. Here i thought that the source type of the output parameter should be "Response Body" but in the forum they told me it has to be "HTTP Header". But as i said, when i define the source type of the out parameter as "HTTP Header" i cannot get it run.

      Thanks very much for your help !

      -- Klaus