You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2006/11/01 08:13:58 UTC

svn commit: r469799 - in /webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments: build.xml src/sample/soapwithattachments/client/SWAClient.java

Author: thilina
Date: Tue Oct 31 23:13:58 2006
New Revision: 469799

URL: http://svn.apache.org/viewvc?view=rev&rev=469799
Log:
fixing the EPR problem... hmmm.. For a moment I assumed that we take the service name of the services.xml for the epr :(

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java

Modified: webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/build.xml?view=diff&rev=469799&r1=469798&r2=469799
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/build.xml Tue Oct 31 23:13:58 2006
@@ -12,7 +12,7 @@
 	</path>
 
 	<target name="service" depends="compile">
-		<jar destfile="${build.dir}/swaSample.aar">	
+		<jar destfile="${build.dir}/sample-swa.aar">	
 			<fileset dir="resources/">
 				<include name="META-INF/services.xml" />
 			</fileset>
@@ -20,7 +20,7 @@
 				<include name="sample/soapwithattachments/service/**/*.class" />
 			</fileset>
 		</jar>
-		<copy file="${build.dir}/swaSample.aar" tofile="${axis2.home}/repository/services/sample-swa.aar" overwrite="true" />
+		<copy file="${build.dir}/sample-swa.aar" tofile="${axis2.home}/repository/services/sample-swa.aar" overwrite="true" />
 	</target>
 
 	<target name="compile">

Modified: webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java?view=diff&rev=469799&r1=469798&r2=469799
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java Tue Oct 31 23:13:58 2006
@@ -47,7 +47,7 @@
 public class SWAClient {
 
 	private static EndpointReference targetEPR = new EndpointReference(
-			"http://localhost:8080/axis2/services/swaSample");
+			"http://localhost:8080/axis2/services/sample-swa");
 
 	public static void main(String[] args) throws Exception {
 		CommandLineOptionParser optionsParser = new CommandLineOptionParser(
@@ -132,4 +132,4 @@
 		MessageContext response = mepClient
 				.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
 	}
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org