function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SuzieSuzie 

Complex Data Type in WSDL

Hi,

 

I am trying to integrate Salesforce with SAP ABAP using Web Services.

I created a Client Proxy in ABAP with the Enterprise WSDL file available from developerforce.

But the generated Data Types have some complex data types( recursive tructures)

hence do not get activated but instead throw errors.

Is there any way I can solve this issue?

 

Regards

Suzie

Best Answer chosen by Admin (Salesforce Developers) 
Santhosh KumarSanthosh Kumar

You can write a Apex WebService with set of inner classes defined and exposed in the service. With this, you can control how the wsdl payload looks like and I think SAP will happy then :)

All Answers

Santhosh KumarSanthosh Kumar

You can write a Apex WebService with set of inner classes defined and exposed in the service. With this, you can control how the wsdl payload looks like and I think SAP will happy then :)

This was selected as the best answer
SuzieSuzie

Thank you so much Santhosh for your fast response,

but I am absolutly new to Web Services and Salesforce,

so I have to admit I have no idea how to do what you said.

Can you please explain more how to actually do this?

It would heklp me a lot

 

Suzie

SamuelBSamuelB

I would like to know too :)