This is useful when uploading large files, since atom based remote registry API is not that efficient in uploading large files.
-Before getting the sample to work you have to run ant from GREG_HOME/bin and start the registry server.
+Before getting the sample to work you have to run ant from registry-home/bin and start the registry server.
Steps to get this sample to work:
-1. Edit the build.xml at following points.
- - replace the GREG_HOME with the location you have deployed the registry.
- - replace the AXIS_HOME by the location you have extracted an axis2 distribution (we need axis2-ant-plugin-1.4 to generate code from WSDLs).
+1.Run the ant build file. i.e.( ant upload)
+2. Provide keystore path which is provided with bin distribution "GREG_HOME/resources/security/client-truststore.jks".
-2. Replace the GREG_HOME in RegistryServiceClient.java and SimpleRegistryServiceClient.java.
-3. Replace the "filePath" in RegistryServiceClient.java with the file you need to upload.
-4. Run the ant build file, i.e. ant upload
+3. Provide filepath which you want to upload.