Structure: flat & not charlike when calling external service

Interfaces (ALE, IDOC, RFC, EDI etc.)

Moderators: Snowy, thx4allthefish

Post Reply
Posts: 3
Joined: Tue Apr 29, 2014 3:44 am

Structure: flat & not charlike when calling external service

Post by Crnooka » Fri May 09, 2014 3:36 am

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:

Code: Select all

<?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 conslusion after googling about this subject.

Any help would be appreciated.
Thank you in advance.

Post Reply