Application Development 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: 

ABAP Function Module published as web service, returning XML string

Former Member
0 Kudos

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

anup_deshmukh4
Active Contributor
0 Kudos

Hello Martin,

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

Former Member
0 Kudos

Martin,

Try redefining the field as XSTRING instead of string.

Regards,

Hardik Mehta