Published on WSO2 Oxygen Tank (http://wso2.org)

Registry Protocol using HTTP

By sakku999
Created 2008-03-11 07:42

 

new URL(http://localhost:8080/wso2registry/atom/CalculatorWSService.wsdl;versions [1]);new BufferedReader(new InputStreamReader(connection.getInputStream()));while (response !=null)out.println(response);

URLConnection connection = url.openConnection();

BufferedReader reader =

 

String response = (String)reader.readLine();

 

{

System.

response = reader.readLine();

}

I tried this way but am getting HTTP 500 Error.

Any attempt to clarify my understanding would be really appreciated.

Thanks

Just getting into this. Being a RESTful registry, does it mean that each every registry protocol can be applied through direct HTTP commands like GET, POST, DELETE, PUT etc. Is my understanding correct?

If that is the case, can I write a program instead of Registry API to access the resources like the snippet provided below - 

For instance, if i want to get all the versions of CalculatorWSSevice.wsdl resource, can the following code be used?

URL url =


Source URL:
http://wso2.org/forum/thread/3349