2. Making URL and other environment related changes in the exported OSB project [server3]Please use customization file for this -
958900 wrote:Well... You can always unpack the jar and do a string based replace in the file and pack it again before deployment...
Thanks for your response and I do agree with your statement. But client is insisting to remove the reference to host name 1 from WSDL too. Is there any way to do this ?
1. The customization file created from the script has less content compared to the customization file created from the SB consoles (System Administration > Create Customization File). Can this be ignored ?No, it can't be ignored. There should be some issue with the code generating the customization file. Can you post it here?
2. My OSB is a simple proxy service having normal components like WSDL, Business Service and Proxy service. Manually edited the customization file, to replace hostname1 with host name2. Imported the process via ant script. From the SB console noticed that in Business Service part, hostname2 is being referenced. But under WSDL, i still see reference to Host name 1.OSB does not make any change in the business service WSDL. You may change the URL in the WSDL to a dummy URL, before uploading it in lower OSB environment. It should address the concern of having an actual URL in the WSDL.
While deploying OSB process using ANT script, can we specify the target folder in OSB, where the project needs to be deployed ?There is nothing like partition in OSB. Each and every OSB project itself is a new folder.
and there are few OSB projects when should get deployed under a specific folder.Here you are making an incorrect assumption. All the projects will have a folder with their name and they cannot be deployed under any other project. However as part of the OSB project, you may add as many resources as you want under any folder. So what you are trying to do is to create a folder inside an existing project and create resources under it, which is valid as per OSB concepts.