[187840] InovationTargetException when creating Web service.
diff --git a/bundles/org.eclipse.jst.ws.axis2.creation.core/src/org/eclipse/jst/ws/axis2/creation/core/command/Axis2WSDL2JavaCommand.java b/bundles/org.eclipse.jst.ws.axis2.creation.core/src/org/eclipse/jst/ws/axis2/creation/core/command/Axis2WSDL2JavaCommand.java
index a143f4e..4033417 100644
--- a/bundles/org.eclipse.jst.ws.axis2.creation.core/src/org/eclipse/jst/ws/axis2/creation/core/command/Axis2WSDL2JavaCommand.java
+++ b/bundles/org.eclipse.jst.ws.axis2.creation.core/src/org/eclipse/jst/ws/axis2/creation/core/command/Axis2WSDL2JavaCommand.java
@@ -16,6 +16,7 @@
  * 20070518   187311 sandakith@wso2.com - Lahiru Sandakith, Fixing test resource addition
  * 20070813   196173  sandakith@wso2.com - Lahiru Sandakith, Fix 196173, DWP custom location fix
  * 20070814   187840 sandakith@wso2.com - Lahiru Sandakith, Fixing 187840 ITE message
+ * 20070814   193593 sandakith@wso2.com - Lahiru Sandakith, custom package name fix
  *******************************************************************************/
 package org.eclipse.jst.ws.axis2.creation.core.command;
 
@@ -147,12 +148,16 @@
 		Method getTargetNamespaceMethod = AxisServiceClass.getMethod("getTargetNamespace", null);
 		Object targetNamespace = getTargetNamespaceMethod.invoke(axisServiceInstance, null);
 		
-		
-		Class URLProcessorClass = ClassLoadingUtil
-				.loadClassFromAntClassLoader("org.apache.axis2.util.URLProcessor");
-		Method makePackageNameMethod = URLProcessorClass
-				.getMethod("makePackageName", new Class[]{String.class});
-		Object stringReturn = makePackageNameMethod.invoke(null, new Object[]{targetNamespace});
+		Object stringReturn = null;
+		if(model.getPackageText()!=null){
+			stringReturn = model.getPackageText();
+		}else{
+			Class URLProcessorClass = ClassLoadingUtil
+					.loadClassFromAntClassLoader("org.apache.axis2.util.URLProcessor");
+			Method makePackageNameMethod = URLProcessorClass
+					.getMethod("makePackageName", new Class[]{String.class});
+			stringReturn = makePackageNameMethod.invoke(null, new Object[]{targetNamespace});
+		}
 		
 		model.setPackageText(stringReturn.toString());
 		
diff --git a/bundles/org.eclipse.jst.ws.axis2.creation.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.axis2.creation.ui/META-INF/MANIFEST.MF
index 5ac6dae..d0fc75e 100644
--- a/bundles/org.eclipse.jst.ws.axis2.creation.ui/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.jst.ws.axis2.creation.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %PLUGIN_NAME
 Bundle-SymbolicName: org.eclipse.jst.ws.axis2.creation.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.0.1.qualifier
 Bundle-Activator: org.eclipse.jst.ws.internal.axis2.creation.ui.plugin.WebServiceAxis2CreationUIPlugin
 Bundle-Localization: plugin
 Require-Bundle: org.eclipse.ui,
diff --git a/bundles/org.eclipse.jst.ws.axis2.creation.ui/src/org/eclipse/jst/ws/internal/axis2/creation/ui/wsrt/Axis2WebService.java b/bundles/org.eclipse.jst.ws.axis2.creation.ui/src/org/eclipse/jst/ws/internal/axis2/creation/ui/wsrt/Axis2WebService.java
index 0f6abe4..a76c231 100644
--- a/bundles/org.eclipse.jst.ws.axis2.creation.ui/src/org/eclipse/jst/ws/internal/axis2/creation/ui/wsrt/Axis2WebService.java
+++ b/bundles/org.eclipse.jst.ws.axis2.creation.ui/src/org/eclipse/jst/ws/internal/axis2/creation/ui/wsrt/Axis2WebService.java
@@ -11,6 +11,7 @@
  * -------- -------- -----------------------------------------------------------
  * 20070110   168762 sandakith@wso2.com - Lahiru Sandakith, Initial code to introduse the Axis2 runtime to the framework for 168762
  * 20070425   183046 sandakith@wso2.com - Lahiru Sandakith
+ * 20070815   187840 sandakith@wso2.com - Lahiru Sandakith
  *******************************************************************************/
 package org.eclipse.jst.ws.internal.axis2.creation.ui.wsrt;
 
@@ -76,6 +77,9 @@
 			commands.add(new Axis2ServicesXMLValidationCommand());
 			commands.add(new Axis2BUServiceCreationCommand(model,this,project));
 			commands.add(new Axis2WebservicesServerCommand(model, ctx.getScenario().getValue() ));
+			//Including command to build for the fix 187840
+			commands.add( new Axis2BuildProjectCommand(
+					ResourcesPlugin.getWorkspace().getRoot().getProject(project),true));
 		} 
 		else if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) {  
 			commands.add(new Axis2DefaultingCommand( model,this, ctx.getScenario().getValue()  ) );