This documentation is for WSO2 Governance Registry 5.3.0. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample request
Code Block
languagexmljs
curl -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Media-Type: application/xml" -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -H "Postman-Token: fa3c1088-48d9-1330-c398-bac27182ddc9" -d '<metadata xmlns="http://www.wso2.org/governance/metadata">
	<overview>
    	<namespace>http://soap.amazon.com</namespace>
    	<name>AmazonSearchService</name>
    	<description>Adding the WSDL file  Amazon Web Services.wsdl</description>
    	<version>1.0.0</version>
	</overview>
	<endpoints>
    	<entry>:http://soap.amazon.com/onca/soap2</entry>
	</endpoints>
	<categorization>
    	<tier>Bronze</tier>
    	<language>Java</language>
	</categorization>
	<interface>
    	<wsdlURL>/_system/governance/trunk/wsdls/com/amazon/soap/1.0.0/Amazon Web Services.wsdl</wsdlURL>
	</interface>
</metadata>' "https://localhost:9443/resource/1.0.0/artifact/_system/governance/trunk/sample.xml" -i -k

...

Sample request
Code Block
languagexmljs
curl -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Media-Type: application/xml" -H "Content-Type: application/xml" -H "Cache-Control: no-cache" -d '<metadata xmlns="http://www.wso2.org/governance/metadata">
	<overview>
    	<namespace>http://soap.amazon.com</namespace>
    	<name>AmazonSearchService</name>
    	<description>Adding the WSDL Updated </description>
    	<version>1.0.0</version>
	</overview>
	<endpoints>
    	<entry>:http://soap.amazon.com/onca/soap2</entry>
	</endpoints>
	<categorization>
    	<tier>Bronze</tier>
    	<language>Java</language>
	</categorization>
	<interface>
    	<wsdlURL>/_system/governance/trunk/wsdls/com/amazon/soap/1.0.0/Amazon Web Services.wsdl</wsdlURL>
	</interface>
</metadata>' "https://localhost:9443/resource/1.0.0/artifact/_system/governance/trunk/sample.xml" -i -k

...