Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Function Module published as web service, returning XML string

Former Member
0 Likes
509

Hi,

I have a function module which returns XML via a single parameter defined as STRING.

I have published this function module as a web service. When I run a test of the webservice the response is being chopped off. However, when I run the function module via SE37, I can see the full XML that will be returned.

Has anybody come across this before. Is there an issue with returning a STRING via a webservice.

Thanks


Martin

2 REPLIES 2
Read only

anup_deshmukh4
Active Contributor
0 Likes
466

Hello Martin,

have you tried debugging the function Module while testing the webservice ?

Read only

Former Member
0 Likes
466

Martin,

Try redefining the field as XSTRING instead of string.

Regards,

Hardik Mehta