Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 21626 invoked from network); 5 Jan 2004 23:33:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Jan 2004 23:33:38 -0000 Received: (qmail 88746 invoked by uid 500); 5 Jan 2004 23:33:20 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 88718 invoked by uid 500); 5 Jan 2004 23:33:20 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 88705 invoked from network); 5 Jan 2004 23:33:20 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 5 Jan 2004 23:33:20 -0000 Received: (qmail 21602 invoked by uid 1144); 5 Jan 2004 23:33:34 -0000 Date: 5 Jan 2004 23:33:34 -0000 Message-ID: <20040105233334.21600.qmail@minotaur.apache.org> From: gdaniels@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/java/src/org/apache/axis/client Call.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N gdaniels 2004/01/05 15:33:33 Modified: java changelog.html java/samples/transport FileReader.java java/src/org/apache/axis/client Call.java Log: Very minor changes: * Update the changelog a touch * Fix some code silliness in FileReader * Answer some commented issues in Call Revision Changes Path 1.8 +3 -1 ws-axis/java/changelog.html Index: changelog.html =================================================================== RCS file: /home/cvs/ws-axis/java/changelog.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- changelog.html 1 Dec 2003 21:31:35 -0000 1.7 +++ changelog.html 5 Jan 2004 23:33:33 -0000 1.8 @@ -20,9 +20,11 @@

Changes from 1.1

    +
  • Preliminary SAAJ 1.2 support!
  • +
  • Improved doc/literal support
  • log4j.properties is no longer in axis.jar. This is to avoid conflicts with the configuration files in other bits of the application.
  • -
  • Many bugfixes.
  • +
  • Many bugfixes.

Axis 1.1

1.22 +1 -2 ws-axis/java/samples/transport/FileReader.java Index: FileReader.java =================================================================== RCS file: /home/cvs/ws-axis/java/samples/transport/FileReader.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- FileReader.java 22 Apr 2003 19:33:32 -0000 1.21 +++ FileReader.java 5 Jan 2004 23:33:33 -0000 1.22 @@ -77,7 +77,6 @@ boolean halted = false ; public void run() { - String tmp = "" ; AxisServer server = new AxisServer(); server.init(); @@ -115,7 +114,7 @@ msg.setMessageContext(msgContext); } - byte[] buf = (byte[]) msg.getSOAPPartAsBytes(); + byte[] buf = msg.getSOAPPartAsBytes(); FileOutputStream fos = new FileOutputStream( "xml" + thisNum + ".res" ); fos.write( buf ); fos.close(); 1.215 +7 -9 ws-axis/java/src/org/apache/axis/client/Call.java Index: Call.java =================================================================== RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Call.java,v retrieving revision 1.214 retrieving revision 1.215 diff -u -r1.214 -r1.215 --- Call.java 26 Dec 2003 15:18:48 -0000 1.214 +++ Call.java 5 Jan 2004 23:33:33 -0000 1.215 @@ -322,10 +322,14 @@ initialize(); } - // fixme: why have this if we have Call(URL) ? /** * Build a call from a URL string. * + * This is handy so that you don't have to manually call Call.initialize() + * in order to register custom transports. In other words, whereas doing + * a new URL("local:...") would fail, new Call("local:...") works because + * we do the initialization of our own and any configured custom protocols. + * * @param url the target endpoint URL * @exception MalformedURLException */ @@ -734,15 +738,12 @@ return useSOAPAction; } // useSOAPAction - // fixme: this never throws IllegalArgumentException /** * Set the soapAction URI. * * @param SOAPActionURI the new SOAP action URI - * @throws IllegalArgumentException if the URI is inapropreate */ - public void setSOAPActionURI(String SOAPActionURI) - throws IllegalArgumentException { + public void setSOAPActionURI(String SOAPActionURI) { useSOAPAction = true; this.SOAPActionURI = SOAPActionURI; } // setSOAPActionURI @@ -1819,8 +1820,6 @@ /* End of core JAX-RPC stuff */ /************************************************************************/ - // fixme: can this throw RemoteException? Is AxisFault hoovering up all the - // faults? /** * Invoke the service with a custom SOAPEnvelope. *

@@ -1829,8 +1828,7 @@ * @param env a SOAPEnvelope to send * @throws AxisFault if there is any failure */ - public SOAPEnvelope invoke(SOAPEnvelope env) - throws java.rmi.RemoteException { + public SOAPEnvelope invoke(SOAPEnvelope env) throws AxisFault { try { Message msg = null ;