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
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.
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.