Skip to Content

Web Service vs. Scenario vs Communication arrangement

Hi All,

My goals is to send certain equipment info from C4C to ECC through HIC. This case/scenario seen to be not standard supported (correct me if I’m wrong) so on HCI I’m calling a web service with the same WSDL structure as the inbound service on C4C. however I’m facing some issues which I don’t know how to solve. Let start with my current set-up.

Web Service definition + Scenario + Arrangement

You can find below my web service definition based on WSDL and create scenario + arrangement based on Web service.

Web service consumption + response:

As you can see on my coding below, when I lunch my web service, I pass the update on Request object + pass also the name of the communication arrangement ( following example found on https://www.youtube.com/watch?v=2AHkjSc0fxg&list=PLAN4lvL4kFnh45xtdaBbDbxVLfITqQixH&hd=1). However when the request reaches HCI, the header message is empty. It seem that the system is ignoring the communication arrangement. Does anyone know what I'm doing wrong?

When I hardcode the value of "Sender Party" and "Receiver Party", the request is correctly handle by HCI and the update is performed correctly on ECC. However I dont understand why I get the following error on the respons: "GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL) )". Any idea why?

Also can anyone explain why when consuming extenal web services, the Web Service Message Monitoring only show request which enconter an error but never a succefull request?

thanks in advance,

Kind regards,

Andres

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 14, 2016 at 08:02 AM

    Hi Andres,

    Comment out line:

    RegisteredProductBulkReplicationRequest = ...

    and test.

    Web service message monitoring is only meant to see errors.

    Request.R

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2016 at 07:58 AM

    Hi Andres,

    Could you comment out line

    Var Response = ...

    and test.

    Webservice communication monitoring is only meant to see errors.

    Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 13, 2016 at 09:23 AM

    Hi Andres,

    Could you comment out line

    Var Response = ...

    and test.

    Webservice communication monitoring is only meant to see errors.

    Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Pradeep,

      • If I understand your suggestion correctly, I should lunch my request but dont store the response in any variable? Like this:

        Doing this, It means that I should ignore any kind error during the web service consumption?

      • I get your point regarding web service monitoring, but why for standard SAP services all webservices call are logged?

      Thanks in advance,

      kind regards,

      Andres

      untitled.png (11.0 kB)
      capture2.png (21.1 kB)
  • Oct 17, 2016 at 05:57 AM

    Hi Andres,

    You could store the result in a variable, i wanted to comment out the line
    "RegisteredProductBulkReplicationRequest = ..." to avoid sending empty request.

    The Successful calls are only displayed for the Asynchronous webservice calls.

    Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded