Skip to Content

SAPUI5 consuming web service from C4C

Hi,

I'm trying to consume C4C web service. I've maintained my C4C hosts in SCP Destination and my neo-app.json file.

However I still getting error while running the app.

wsdlUrl has maintained in SCP Destination.

request data is my XML data.

Thanks.

Regards,

-Ben-

123.png (12.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 02 at 07:17 AM

    Hello, Yen Shen. Could you check your WSDL soap version, please? SOAP 1.1 or 1.2. According to the namespace, you are using the client is soap 1.1. I guess the server is SOAP 1.2 so you got the SOAP version mismatch error. Once you get the soap version of both server and client side. Modify one side to use the same version. thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 27, 2017 at 02:04 PM

    Hi Yen,

    Could you be more specific on the error itself. One thing that might help is by pressing SHIFT+CTRL+I (F12) on your Chrome or FF browser and inspect the console log for any strange error messages. Also, check the network tab to see if there are are requests being made to the web services destination on SCP (sufix /destination/<name>/<service>).

    Regards,
    Ivan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ivan,

      I was getting below error while inspect in chrome. The network tab does called the web services destination from SCP.

      I tried to change and hard code the url in wsdlUrl and entered username, parameter as shown below. With this I get logon error from inspect element.

      Any idea on this?

      Regards,

      -Ben-

      321.png (20.6 kB)
      3211.png (21.1 kB)