Quick guide to import XSD (XML Schema Definition) into Service Studio

Quick guide to import XSD (XML Schema Definition) into Service Studio

  
If you receive a XSD file, but what you want is to import it into Service Studio. Try to execute the followings steps:

Based on the generated JSON it will be possible to add a new REST web reference into Service Studio, but it will be necessary to create a fake endpoint. Other option is to import based on a WSDL.
 
Based on the generated WSDL it will be possible to add a new SOAP web reference into Service Studio. Don't forget that is possible to add it from our local drive (eg. C:\temp\test.wsdl).



Regards,
Paulo Garrudo

 

Hello Sir,
Good Morning.
I have attach one of the xsd file which i'm getting an error
The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'. I want to convert this into and XML file and post to a third party.

Regards,
ChandrasekarRadhakrishnan



Hi,

Your file is not a XSD, it seems to be a soap request file. 
I don't know exactly what you want, can you please explain?

Regards,
Paulo Garrudo

Chandrasekar Radhakrishnan wrote:
Hello Sir,
Good Morning.
I have attach one of the xsd file which i'm getting an error
The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'. I want to convert this into and XML file and post to a third party.

Regards,
ChandrasekarRadhakrishnan


 
 
 
Hello Sir,
Thanks for responding.I want to convert this  SOAP FILE into XML file and post to a third party.
Please see the screenshot the error which i'm getting.

Regards,
ChandrasekarRadhakrishnan

Hi,

I'm not able to see the attached image. 

But how do you want to do execute this transformation? runtime, development time? 

Regards,
Paulo Garrudo
Hello,
Ok i need to do in development time.

Regards,
ChandrasekarRadhakrishnan
Hi,

I was able to import your xml soap file into Service Studio, basically it was necessary to:
 
  • Convert JSON based on the previous XML:  http://www.utilities-online.info/xmltojson/
  • (Version 8.0.1) Create a WSDL based on the JSON: https://ardoric.outsystemscloud.com/RESTWebServices/
  • Import the generated WSDL into a new SOAP web reference using Service Studio.
     
You are able to check the result using the attached oml file. 

Regards,
Paulo Garrudo
Hi,

Thank you very much sir,It was so helpfull for me.Just to know how do u do this at run time.

Regards,
ChandrasekarRadhakrishnan
Hi,

If i publish this i'm getting a error you can see in my attachment or just see the error below which i  have mentioned
"The remote name could not be resolved:'nowhere'." May i know the description about the error.

Regards,
ChandrasekarRadhakrishnan