Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Response from webservice : Object Aggregate


I have an Interactive Form with a ton of data on it. I'm using a Web Service to post this to PI, which then does an RFC to other systems to process the data.

In the PI monitor and using an application like SoapUI I can see and test the service. The return is put like this with constants (so it's always this, never different) :

<SOAP:Envelope xmlns:SOAP="">
      <ns1:AdobePDF xmlns:ns1="">
         <RETURN>Test return message</RETURN>

I call the webservice in my form with a button with this code :

var response = SOAP.request ({
cURL: "http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TIMEREGISTRATION:CC_SOAP_UpdateTimereg&version=3.0&Sender.Service=BS_TIMEREGISTRATION&Interface=^MI_TimeRegistration",
oRequest: myRequest,
cAction: "",
oAuthenticate: myAuthentication

The response should be caught in the variable <i>response</i>."Response : " + response + "","Information",3);

The above returns "Response : Object aggregate".

var result = response["AdobePDF"];"Result : " + result + "","Information",3);

The above returns "Result : undefined".

var result = response["AdobePDF"]["RETURN"];"Return : " + result + "","Information",3);

The above returns an error : "response.AdobePDF has no properties".

Any ideas?

Thanks in advance,

Frederik-Jan Roose

Former Member
Not what you were looking for? View more on this topic or Ask a question