Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member186851
Active Contributor


Dear SCN Users,


There might a requirement of pulling XMLs from a webservice.


This blog is about achieving the same using Sender SOAP Adapter with AXIS as Transport protocol and writing the XML as output file


Requirment is to get the exchange rates from this below XML link

http://www.geoplugin.net/xml.gp?base_currency=EUR

ESR OBJECTS:


Data Type: Since no transformation in the XML,Same data type at sender and receiver side.

Message Type: Message Type with above Data Type.

Service Interfaces: One outbound and one inbound with the Same Message Types defined above.


No need of Message/Operation Mapping as there is no any message transformation.


ID OBJECTS:


Sender Soap Channel With (AXIS Protocol):

Then Normal File Channel as below and ICO Configurations as per the requirment.

Below is the output file written in the file directory.

Things to be Noted:

1. If there is no structure created and with enableREST parameter set to 'true', and using dummy interfaces below error was thrown.

2. without structure and with enableREST parameter not set to 'true' below error was thrown.

So with data Structure and setting enableREST parameter to 'true' requirment  completed.

Reference Link :Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS

Reference Note:0001039369

5 Comments
Labels in this area