Online Tutorials & Training Materials |
Register Login

Consume external web service error

Crnooka || 09 May 2014 1:37 pm || 0

In order to consume external web service from SAP, I have created a proxy object for given WSDL URL and a logical port where I put given endpoint URL. Also, I have created a function module from which external service should be called. When I test proxy object from SE80, I get the following error:

 <?xml version="1.0" encoding="utf-8" ?>
- <asx:abap xmlns:asx="" version="1.0">
- <asx:values>
  <SYSTEMFAULT href="#o163" />
- <asx:heap xmlns:xsd=""      xmlns:abap="" xmlns:cls="" xmlns:dic="">
- <cls:CX_AI_SYSTEM_FAULT id="o163">

When I run function module which calls web service, an error cx_ai_system_fault is caught. Actual error is: INTERNAL_SOURCE_POS Structure: flat & not charlike CODE SoapFaultCode:4 ERRORTEXT net.tmobile.ei.messaging.datatypes.SOABPException Even when I comment complete code from function module except part where I call web service, the error is the same. I couldn't find any conclusion after googling about this subject. Any help would be appreciated. Thank you in advance.