Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

SOAP framework accessing XML element attributes

$
0
0

Hi,

 

I have looked around and spent considerable time in the ABAP debugger without cracking this. Hope someone here can help me.

 

I have generated an ABAP SOAP proxy for consuming a web service. All works well.

 

This web service uses a generic method to retrieve data for any entity. To achieve this the response has the data stored in the XML element attributes rather than in the element content.

 

So instead of seeing something like this....

<Object>  <Name>Fred</Name>  <Address>1 Plane Street</Address>  <City>Sydney</City></Object>

...I need to handle something like this...

 

<Object name="Fred" address="1 Plane Street" city="Sydney"></Object>

I can't figure out how to do this from the generated proxy class. Has anyone come across this before?

 

Thanks

Graham Robbo


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>