Scenario:
We need to invoke web service and store response file in a specific location
Pre-Requisites:
WSDL URL : http://www.webservicex.com/globalweather.asmx?WSDL
XML Request : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.webserviceX.NET">
<env:Header/>
<env:Body>
<ns1:GetCitiesByCountry>
<ns1:CountryName>India</ns1:CountryName>
</ns1:GetCitiesByCountry>
</env:Body>
</env:Envelope>
Procedure:
Step 1:
Create Package "PKG_WEBSERVICE"
Step 2:
Drag and drop the ODIInvokeWebservice tool from Tool box into package
Step 3:
Provide properties as mention below
Output:
It will create appropriate response file in a specified location.
Completed Successfully!!!!
We need to invoke web service and store response file in a specific location
Pre-Requisites:
WSDL URL : http://www.webservicex.com/globalweather.asmx?WSDL
XML Request : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.webserviceX.NET">
<env:Header/>
<env:Body>
<ns1:GetCitiesByCountry>
<ns1:CountryName>India</ns1:CountryName>
</ns1:GetCitiesByCountry>
</env:Body>
</env:Envelope>
Procedure:
Step 1:
Create Package "PKG_WEBSERVICE"
Step 2:
Drag and drop the ODIInvokeWebservice tool from Tool box into package
Step 3:
Provide properties as mention below
Output:
It will create appropriate response file in a specified location.
Completed Successfully!!!!
No comments:
Post a Comment