Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Issue when we try consume a Webservices RestFul

$
0
0

Hi Experts,

 

Actully facing some this issue when try to consume a WebService RestFul:

 

 

Error: an element named <envelope> present in the XML data input does not exist in the XML format used to set up this XML source in data flow <…>. Validate your XML data.

 

pic1.jpg

 

Steps Followed to connect to webservices:

⦁ The client summit a xsd Request and Response Files

⦁ Summited Files:

⦁ request_cmm.xsd

⦁ response_cmm.xsd

⦁ The request_cmm.xsd file comes with a lline that the Sap Data Services translate like  a input parameter in the import function time. We deleted this line.

 

pic2.jpg

 

 

⦁ Client summit the WADL: wadl_cmm.wadl  File

⦁ We need to modify the wadl to make reference to the xsd files summited by the client. Attached the image of the wadl summited by client:

pic3.jpg

⦁ wadl file After lines adecuations:

pic4.jpg

⦁ We place the xsd and wadl files in th Sap Data Services Designer workstation.

⦁ Create  a new DataStore

⦁ Datastore Type: Web Service REST

⦁ Specify the wadl

⦁ Clic in Apply to test the connectivity

⦁ We imported the needed function.

⦁ the fucntion its added to the DataStore

⦁ We create a Job to consume the WebServices

 

⦁ We create the Job flow in SaP Data Services Designer

pic5.jpg

 

⦁ When execute the  created job we get this in the trace file.  trace_rest.txt

pic6.jpg

⦁ the message its from the WebServices Restful.

 

⦁ The job ends with the following error message.

 

pic7.jpg

 

PLease if you are any suggest or know something to help in this let me knoe and thanks in advance.

 

Or System are in: SAP Data Services 4.2 SP5 patch 3 in RedHat linux 6.6


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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