Posts

Showing posts from November, 2013

Methods to Integrate Axis and CXF Webservices in our Code

Axis Download and Unzip the Axis Standard Distribution.Get all the required Axis libraries for generating java files from WSDL. set the Classpath to these libraries from the command prompt.The libraries list are given below axis.jar,org.apache.commons.logging_1.0.4.v200904062259.jar, org.apache.commons.logging_1.0.4.v201005080501.jar, commons-discovery-0.2.jar,jaxrpc.jar,jaxws-rt.jar,jaxws-tools.jar, saaj.jar,resources.jar,javax.wsdl_1.5.1.v200806030408.jar, javax.wsdl_1.5.1.v200806030408.jar use the command from Command Prompt for Eg: java org.apache.axis.wsdl.WSDL2Java mywebservice.WSDL to generate the Java Stub Files. Either write a build script or set the classpath and using javac compile the entire Java Files This will generate required stub classes for you to invoke the actual Service. Configure the WebService EndPoints in your Custom Classes and create an instance of the Stub and pass the URl. Create the Necessary Input which will be passed as the request to t...

ATG Customize and Enhance your CRS Module easily

Firstly we need to create a folder and give the name of your choice,For example i have given Wirelessstore, inside that folder you create a META-INF folder,and create a MANIFEST.MF file,once this is done then modify the Manifest file property to ATG-Install-Unit:MyWirelessStore(MyWirelessStore is the name i have given instead of the name Store in CRS module) and create a folder with the same name MyWirelessStore under Wirelessstore,after this copy all  CRS-Store folders under this folder. You can Refer the CommerceReferenceStore Manifest file for this. Now configure your eclipse and import the necessary folders to your workspace.Resolve the classpath by importing required Jars and Classes to your Buildpath and do a clean build of your Project. Now create a runAssembler command so that it will pick modules from your newly created folder structure. runAssembler -m ATGProduction.ear -m DafEar.Admin DPS DSS  DSS DCS.PublishingAgent MyWirelessStore.EStore MyWirelessStore.Rec...