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 Ruchith Fernando <ru...@gmail.com> on 2005/09/30 22:57:43 UTC
Re: Clean up (Re: svn commit: r292607 - in /webservices/axis2/trunk/java/modules: addressing/src/org/apache/axis2/handlers/addressing/ databinding/src/org/apache/axis2/databinding/metadata/ databinding/src/org/apache/axis2/databinding/serializers/ da
Hi,
There were a lot of test methods commented out in 'whitemesa.round2',
because they were failing. all of them are uncommented now and
whitemesa.round2 is excluded from itests.
Thanks,
Ruchith
On 9/30/05, Davanum Srinivas <da...@gmail.com> wrote:
> Folks,
>
> :( am getting tired deleting junk lines....there are at least another
> 4882 lines (per IDEA). Please clean up as much as u can. (out of which
> 3654 is in whitemesa.round2)
>
> thanks,
> dims
>
> On 9/29/05, dims@apache.org <di...@apache.org> wrote:
> > Author: dims
> > Date: Thu Sep 29 20:01:28 2005
> > New Revision: 292607
> >
> > URL: http://svn.apache.org/viewcvs?rev=292607&view=rev
> > Log:
> > Remove JUNK!!!!!!!!!! Please don't comment code. Remove it and rely on svn for history.
> >
> >
> > Modified:
> > webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
> > webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/metadata/BeanManager.java
> > webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/serializers/CollectionSerializer.java
> > webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/typemapping/TypeMappingRegistry.java
> > webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/utils/Converter.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/XMLComparatorInterop.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/SunRound2Client.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round3/util/GEListUtil.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/EchoBlockingClient.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/mtom/interop/util/BodyElements.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/MessageComparator.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAP12TestClient.java
> > webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAPCreater.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientCallbackHandler.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SuggestionForm.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SyncPanel.java
> > webservices/axis2/trunk/java/modules/samples/src/sample/mtom/interop/client/UserInterface.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/Java2WSDLGenerator.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/WSDLOptionsPage.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/util/SettingsConstants.java
> > webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/swing/ui/MainWindow.java
> >
> > Modified: webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java (original)
> > +++ webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java Thu Sep 29 20:01:28 2005
> > @@ -101,7 +101,6 @@
> > throw new AxisFault("Invalid Service Group Id." + groupId);
> > }
> > msgContext.setServiceGroupContextId(serviceGroupId.getText());
> > -// msgContext.setProperty( PARAM_SERVICE_GROUP_CONTEXT_ID, serviceGroupId.getText());
> > }
> > }
> >
> > @@ -261,13 +260,6 @@
> > }
> > }
> > }
> > -// OMElement address =
> > -// headerBlock.getFirstChildWithName(
> > -// new QName(addressingNamespace, AddressingConstants.EPR_ADDRESS));
> > -// if (address != null) {
> > -// epr.setAddress(address.getText());
> > -// }
> > -
> > }
> >
> > private boolean checkElement(QName expectedQName, QName actualQName) {
> >
> > Modified: webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/metadata/BeanManager.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/metadata/BeanManager.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/metadata/BeanManager.java (original)
> > +++ webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/metadata/BeanManager.java Thu Sep 29 20:01:28 2005
> > @@ -96,7 +96,6 @@
> > type = iProp.getIndexedPropertyType();
> > elDesc.setIndexedAccessor(beanDesc);
> > isCollection = true;
> > -// elDesc.setItemQName(new QName("http://foo", "item"));
> > } else {
> > type = propDesc.getPropertyType();
> > // TODO : notice if this is a supported collection type
> >
> > Modified: webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/serializers/CollectionSerializer.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/serializers/CollectionSerializer.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/serializers/CollectionSerializer.java (original)
> > +++ webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/serializers/CollectionSerializer.java Thu Sep 29 20:01:28 2005
> > @@ -82,12 +82,6 @@
> > }
> > }
> >
> > -// Collection coll = (Collection)object;
> > -// for (Iterator i = coll.iterator(); i.hasNext();) {
> > -// Object item = i.next();
> > -// context.serializeElement(itemQName, item, serializer);
> > -// }
> > -
> > if (isWrapped) {
> > writer.writeEndElement();
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/typemapping/TypeMappingRegistry.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/typemapping/TypeMappingRegistry.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/typemapping/TypeMappingRegistry.java (original)
> > +++ webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/typemapping/TypeMappingRegistry.java Thu Sep 29 20:01:28 2005
> > @@ -45,7 +45,6 @@
> > if (javaType == String.class) return true;
> > if (Calendar.class.isAssignableFrom(javaType)) return true;
> > if (Date.class.isAssignableFrom(javaType)) return true;
> > -// if (HexBinary.class.isAssignableFrom(javaType)) return true;
> > if (Element.class.isAssignableFrom(javaType)) return true;
> > if (javaType == byte[].class) return true;
> > if (Number.class.isAssignableFrom(javaType)) return true;
> >
> > Modified: webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/utils/Converter.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/utils/Converter.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/utils/Converter.java (original)
> > +++ webservices/axis2/trunk/java/modules/databinding/src/org/apache/axis2/databinding/utils/Converter.java Thu Sep 29 20:01:28 2005
> > @@ -44,15 +44,6 @@
> > // Get the destination held type or the argument held type if they exist
> > Class destHeldType = getHolderValueType(destClass);
> >
> > - // Convert between Axis special purpose HexBinary and byte[]
> > -// if (arg instanceof HexBinary &&
> > -// destClass == byte[].class) {
> > -// return ((HexBinary) arg).getBytes();
> > -// } else if (arg instanceof byte[] &&
> > -// destClass == HexBinary.class) {
> > -// return new HexBinary((byte[]) arg);
> > -// }
> > -
> > // Convert between Calendar and Date
> > if (arg instanceof Calendar && destClass == Date.class) {
> > return ((Calendar) arg).getTime();
> > @@ -93,30 +84,6 @@
> > (destHeldType != null && argHeldType != null))) {
> > return arg;
> > }
> > -
> > - // Take care of Holder conversion
> > -/*
> > - if (destHeldType != null) {
> > - // Convert arg into Holder holding arg.
> > - Object newArg = convert(arg, destHeldType);
> > - Object argHolder = null;
> > - try {
> > - argHolder = destClass.newInstance();
> > - setHolderValue(argHolder, newArg);
> > - return argHolder;
> > - } catch (Exception e) {
> > - return arg;
> > - }
> > - } else if (argHeldType != null) {
> > - // Convert arg into the held type
> > - try {
> > - Object newArg = getHolderValue(arg);
> > - return convert(newArg, destClass);
> > - } catch (HolderException e) {
> > - return arg;
> > - }
> > - }
> > -*/
> >
> > // Flow to here indicates that neither arg or destClass is a Holder
> >
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/XMLComparatorInterop.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/XMLComparatorInterop.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/XMLComparatorInterop.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/XMLComparatorInterop.java Thu Sep 29 20:01:28 2005
> > @@ -232,7 +232,7 @@
> > return false;
> > }
> >
> > -// Do we need to compare prefixes as well
> > + // Do we need to compare prefixes as well
> > return true;
> > }
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/SunRound2Client.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/SunRound2Client.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/SunRound2Client.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/SunRound2Client.java Thu Sep 29 20:01:28 2005
> > @@ -36,7 +36,6 @@
> > public static SOAPEnvelope sendMsg(SunRound2ClientUtil util, String epUrl, String soapAction) throws AxisFault {
> >
> > SOAPEnvelope resEnv = null;
> > -// EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO,"http://demo.openlinksw.com:80/Interop");
> > Call call = null;
> > URL url = null;
> > try {
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java Thu Sep 29 20:01:28 2005
> > @@ -50,11 +50,6 @@
> >
> > SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
> > OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
> > -// SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
> > -// block1.addAttribute("xsi:type", "xsd:string", null);
> > -// block1.addChild(omfactory.createText("string"));
> > -// // header.addChild(headerChild);
> > -// header.addChild(block1); m0:echoMeStructRequest xsi:type="m1:echoMeStructRequest
> >
> > SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", ns1);
> > block2.addAttribute("xsi:type", "hns:echoMeStructRequest", null);
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java Thu Sep 29 20:01:28 2005
> > @@ -61,12 +61,4 @@
> > return reqEnv;
> >
> > }
> > -
> > -//} <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > -// <SOAP-ENV:Body>
> > -// <m:echoString xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
> > -// <inputString xsi:type="xsd:string">String</inputString>
> > -// </m:echoString>
> > -// </SOAP-ENV:Body>
> > -//</SOAP-ENV:Envelope>
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round3/util/GEListUtil.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round3/util/GEListUtil.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round3/util/GEListUtil.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round3/util/GEListUtil.java Thu Sep 29 20:01:28 2005
> > @@ -77,19 +77,6 @@
> > OMElement value12 = omfactory.createOMElement("child", "", null);
> > value12.addAttribute("xsi:type", "xsd:anyType", null);
> > value12.addAttribute(" xsi:nil", "1", null);
> > -//
> > -// OMElement item2 = omfactory.createOMElement("item0", null);
> > -//
> > -// OMElement value20 = omfactory.createOMElement("varString", "", null);
> > -// value20.addAttribute("xsi:type", "xsd:string", null);
> > -// value20.addChild(omfactory.createText("strss fdfing1"));
> > -// OMElement value21 = omfactory.createOMElement("varInt", "", null);
> > -// value21.addAttribute("xsi:type", "xsd:int", null);
> > -// value21.addChild(omfactory.createText("25"));
> > -// OMElement value22 = omfactory.createOMElement("varFloat", "", null);
> > -// value22.addAttribute("xsi:type", "xsd:float", null);
> > -// value22.addChild(omfactory.createText("25.23"));
> > -
> > part.addChild(value00);
> > part.addChild(value01);
> > part.addChild(value02);
> > @@ -97,19 +84,10 @@
> > part2.addChild(value10);
> > part2.addChild(value11);
> > part2.addChild(value12);
> > -//
> > -// item2.addChild(value20);
> > -// item2.addChild(value21);
> > -// item2.addChild(value22);
> > -
> > -// part.addChild(item0);
> > -// part.addChild(item1);
> > -// part.addChild(item2);
> >
> > operation.addChild(part);
> > body.addChild(part2);
> >
> > - //reqEnv.getBody().addChild(method);
> > return reqEnv;
> >
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/EchoBlockingClient.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/EchoBlockingClient.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/EchoBlockingClient.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/EchoBlockingClient.java Thu Sep 29 20:01:28 2005
> > @@ -29,7 +29,6 @@
> >
> > public OMElement sendMsg(WhitemesaR4ClientUtil util, String soapAction) throws AxisFault {
> > OMElement firstchild = null;
> > -// EndpointReference targetEPR = new EndpointReference("http://www.whitemesa.net:80/interop/r4/fault-rpc" );
> > EndpointReference targetEPR = new EndpointReference("http://www.whitemesa.net:80/interop/r4/fault-rpc");
> >
> > try {
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java Thu Sep 29 20:01:28 2005
> > @@ -31,11 +31,6 @@
> >
> > OMElement method = fac.createOMElement("echoMultipleFaults2", omNs);
> > method.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/",null);
> > -// method.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance", null);
> > -// method.addAttribute("xmlns:xsd","http://www.w3.org/2001/XMLSchema", null);
> > -// method.addAttribute("xmlns:ns2","http://soapinterop.org/types", null);
> > -// method.addAttribute("xmlns:soap-enc","http://schemas.xmlsoap.org/soap/encoding/", null);
> > -// method.addAttribute("xmlns:wsdl","http://schemas.xmlsoap.org/wsdl/", null);
> >
> > OMElement value = fac.createOMElement("whichFault", null);
> > OMElement value1 = fac.createOMElement("param1", null);
> > @@ -45,11 +40,6 @@
> > OMElement value4 = fac.createOMElement("Item", null);
> > OMElement value5 = fac.createOMElement("Item", null);
> > OMElement value6 = fac.createOMElement("Item", null);
> > -
> > -
> > -// value.addAttribute("xsi:type", "xsd:int", null);
> > -// value1.addAttribute("xsi:type", "xsd:string", null);
> > -//
> >
> > value3.addAttribute("xmlns:nsa","http://www.w3.org/2001/XMLSchema",null);
> > value3.addAttribute("soapenc:arrayType","nsa:string[3]", null);
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interop/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java Thu Sep 29 20:01:28 2005
> > @@ -29,19 +29,10 @@
> >
> > OMElement method = fac.createOMElement("echoMultipleFaults4", omNs);
> > method.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/",null);
> > -// method.addAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance", null);
> > -// method.addAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema", null);
> > -// method.addAttribute("xmlns:ns2", "http://soapinterop.org/types", null);
> > -// method.addAttribute("xmlns:soap-enc", "http://schemas.xmlsoap.org/soap/encoding/", null);
> > -// method.addAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/", null);
> >
> > OMElement value = fac.createOMElement("whichFault", null);
> > OMElement value1 = fac.createOMElement("param1", null);
> > OMElement value2 = fac.createOMElement("param2", null);
> > -
> > -// value.addAttribute("xsi:type", "xsd:int", null);
> > -// value1.addAttribute("xsi:type", "xsd:int", null);
> > -// value2.addAttribute("xsi:type", "ns2:Enum", null);
> >
> > value.addChild(fac.createText(value, "10"));
> > value1.addChild(fac.createText(value1, "11"));
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/mtom/interop/util/BodyElements.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/mtom/interop/util/BodyElements.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/mtom/interop/util/BodyElements.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/mtom/interop/util/BodyElements.java Thu Sep 29 20:01:28 2005
> > @@ -56,7 +56,7 @@
> > OMFactory fac = OMAbstractFactory.getOMFactory();
> > OMNamespace omNS = fac.createOMNamespace("http://example.org/mtom/data", "x");
> > OMElement echoTest = fac.createOMElement("EchoTest", omNS);
> > -//
> > +
> > File file = null;
> > DataHandler handler = null;
> > file = new File("modules/integration/itest-resources/mtom/mtom.bin");
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/MessageComparator.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/MessageComparator.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/MessageComparator.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/MessageComparator.java Thu Sep 29 20:01:28 2005
> > @@ -60,7 +60,7 @@
> > SOAPComparator soapComparator = new SOAPComparator();
> > //ignore elements that belong to the addressing namespace
> > soapComparator.addIgnorableNamespace("http://schemas.xmlsoap.org/ws/2004/08/addressing");
> > -// ////////////////////////////////////////////////////
> > +
> > System.out.println("######################################################");
> > OMOutputImpl omOutput = new OMOutputImpl(System.out,false);
> > requiredMessageEnvelope.serializeWithCache(omOutput);
> > @@ -72,9 +72,6 @@
> > omOutput1.flush();
> > System.out.println("");
> > System.out.println("`######################################################");
> > - /////////////////////////////////////////////////////
> > -
> > -
> >
> > return soapComparator.compare(requiredMessageEnvelope,replyMessageEnvelope);
> >
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAP12TestClient.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAP12TestClient.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAP12TestClient.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAP12TestClient.java Thu Sep 29 20:01:28 2005
> > @@ -39,14 +39,10 @@
> >
> > Socket socket = new Socket("127.0.0.1",port);
> >
> > -// HttpURLConnection connection = (HttpURLConnection) netUrl.openConnection();
> > -// connection.setDoOutput(true);
> > -
> > SOAPCreater soapCreater = new SOAPCreater();
> > String requestMessage = soapCreater.getStringFromSOAPMessage(testNumber,netUrl);
> > PrintWriter out = new PrintWriter(
> > socket.getOutputStream());
> > -// connection.getOutputStream());
> > out.println(requestMessage);
> > out.flush();
> > out.close();
> > @@ -60,7 +56,6 @@
> > }
> > replyMessage = sb.toString();
> > socket.close();
> > -// connection.disconnect();
> >
> > } catch (MalformedURLException e) {
> > log.info(e.getMessage());
> > @@ -78,7 +73,6 @@
> > String requestMessage = soapCreater.getStringFromSOAPMessage(testNumber,netUrl);
> > PrintWriter out = new PrintWriter(
> > socket.getOutputStream());
> > -// System.out.println("Message: " + requestMessage);
> > out.println(requestMessage);
> > out.flush();
> > socket.shutdownOutput();
> >
> > Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAPCreater.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAPCreater.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAPCreater.java (original)
> > +++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/soap12testing/client/SOAPCreater.java Thu Sep 29 20:01:28 2005
> > @@ -42,8 +42,6 @@
> > new File(
> > MessageComparator.TEST_MAIN_DIR + "test-resources/SOAP12Testing/RequestMessages/SOAP12ReqT" + testNumber + ".xml");
> > FileInputStream stream = new FileInputStream(file);
> > -// BufferedInputStream bf = new BufferedInputStream(stream);
> > -// DataInputStream ds = new DataInputStream(bf);
> > StringBuffer sb = new StringBuffer();
> >
> > sb.append(HTTPConstants.HEADER_POST).append(" ");
> > @@ -58,10 +56,6 @@
> > while ((record = reder.readLine()) != null) {
> > sb.append(record.trim());
> > }
> > -//
> > -// while ((record = ds.readLine()) != null) {
> > -// sb.append(record.trim());
> > -// }
> > return sb.toString();
> > }
> >
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java Thu Sep 29 20:01:28 2005
> > @@ -34,7 +34,6 @@
> > JTextArea result;
> > JTextField queueCode;
> > JTextField enqueue;
> > -// private Log log = LogFactory.getLog(getClass());
> >
> > public RunnableCreateQueue(JTextField createQueue, JTextField queueCode, JTextField enqueue,
> > JTextArea result) {
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java Thu Sep 29 20:01:28 2005
> > @@ -158,7 +158,6 @@
> > Constants.TRANSPORT_HTTP,
> > false);
> >
> > -// System.out.println("Sending the Async message ....");
> > requestContext.getEnvelope().serialize(
> > XMLOutputFactory.newInstance()
> > .createXMLStreamWriter
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientCallbackHandler.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientCallbackHandler.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientCallbackHandler.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientCallbackHandler.java Thu Sep 29 20:01:28 2005
> > @@ -90,22 +90,6 @@
> > SOAPBody body;
> > OMElement operation, elem;
> > SOAPEnvelope resEnvelope;
> > -// /////////////////////////////////////////
> > -// try {
> > -// XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(
> > -// System.out);
> > -// result.getResponseEnvelope().serializeWithCache(writer);
> > -// //part.serialize(writer,false);
> > -// writer.flush();
> > -//
> > -// } catch (XMLStreamException e) {
> > -// // System.out.println("Error occured after responce is received");
> > -// e.printStackTrace();
> > -// } catch (FactoryConfigurationError e) {
> > -// //System.out.println("Error occured after responce is received");
> > -// e.printStackTrace();
> > -// }
> > -// ////////////////////////////////////////////////
> > resEnvelope = result.getResponseEnvelope();
> > body = resEnvelope.getBody();
> > operation = body.getFirstElement();
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java Thu Sep 29 20:01:28 2005
> > @@ -175,7 +175,6 @@
> >
> > SpringLayout.Constraints scrollConstraints = layout.getConstraints(
> > scroll);
> > -// SpringLayout.Constraints scrollConstraints = layout.getConstraints(textEditorPane);
> > xSpring = Spring.constant(0); // Spring we'll use for X
> > ySpring = Spring.constant(30); // Spring we'll use for Y
> > wSpring = Spring.constant(frame.getBounds().width - 8); // Spring we'll use for width
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SuggestionForm.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SuggestionForm.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SuggestionForm.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SuggestionForm.java Thu Sep 29 20:01:28 2005
> > @@ -189,7 +189,6 @@
> > try {
> > String url = e.getURL().toString();
> > helpDisplayPane.setPage(url);
> > -//
> > } catch (Exception err) {
> > JOptionPane.showMessageDialog(this, "Help file not detected", err.getMessage(),
> > JOptionPane.ERROR_MESSAGE);
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SyncPanel.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SyncPanel.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SyncPanel.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/SyncPanel.java Thu Sep 29 20:01:28 2005
> > @@ -20,10 +20,6 @@
> > public SyncPanel() {
> > GridBagLayout gbLayout = new GridBagLayout();
> > GridBagConstraints constraint = new GridBagConstraints();
> > -
> > -// GridLayout layout = new GridLayout();
> > -// layout.setColumns(1);
> > -// layout.setRows(3);
> > this.setLayout(gbLayout);
> >
> > formModel = new FormModel(this);
> >
> > Modified: webservices/axis2/trunk/java/modules/samples/src/sample/mtom/interop/client/UserInterface.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/mtom/interop/client/UserInterface.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/samples/src/sample/mtom/interop/client/UserInterface.java (original)
> > +++ webservices/axis2/trunk/java/modules/samples/src/sample/mtom/interop/client/UserInterface.java Thu Sep 29 20:01:28 2005
> > @@ -141,10 +141,6 @@
> > try {
> > mtomTest.setTargetEPR(EPRName);
> > OMElement result = mtomTest.testEchoXMLSync(fileName);
> > -// jTextArea.setText(result.toString());
> > -// jTextArea.append("\n"+result.getText());
> > -// JOptionPane.showMessageDialog(parent, "Sent & saved Image Succesfully",
> > -// " Success", JOptionPane.PLAIN_MESSAGE);
> > } catch (Exception e) {
> > e.printStackTrace();
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/Java2WSDLGenerator.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/Java2WSDLGenerator.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/Java2WSDLGenerator.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/Java2WSDLGenerator.java Thu Sep 29 20:01:28 2005
> > @@ -18,15 +18,6 @@
> >
> > import java.util.Vector;
> >
> > -//import org.apache.axis.utils.ClassUtils;
> > -//import org.apache.axis.wsdl.fromJava.Emitter;
> > -
> > -/**
> > - * @author Ajith
> > - *
> > - * TODO To change the template for this generated type comment go to Window -
> > - * Preferences - Java - Code Style - Code Templates
> > - */
> > public class Java2WSDLGenerator {
> >
> > public void emit(String classPath,
> > @@ -39,45 +30,5 @@
> > String outputFileName,
> > int mode,
> > Vector listOfIncludedMethods) throws Throwable{
> > - try {
> > -
> > -// ClassUtils.setDefaultClassLoader(ClassUtils.createClassLoader(
> > -// classPath, this.getClass().getClassLoader()));
> > -//
> > -// // Instantiate the emitter
> > -// Emitter emitter = new Emitter();
> > -//
> > -// //implementation class
> > -// emitter.setCls(implementationClassName);
> > -//
> > -// //service location
> > -// if (serviceLocationUrl !=null && !serviceLocationUrl.trim().equals(""))
> > -// emitter.setLocationUrl(serviceLocationUrl);
> > -//
> > -// //input wsdl
> > -// if (inputWsdlName != null && !inputWsdlName.trim().equals(""))
> > -// emitter.setInputWSDL(inputWsdlName);
> > -//
> > -// //portype name
> > -// if (portypeName!=null && !portypeName.trim().equals(""))
> > -// emitter.setPortTypeName(portypeName);
> > -//
> > -// //Style
> > -// if (style!=null && !style.trim().equals(""))
> > -// emitter.setStyle(style);
> > -// if (listOfIncludedMethods!=null)
> > -// emitter.setAllowedMethods(listOfIncludedMethods);
> > -//
> > -// if (mode!= Emitter.MODE_ALL &&
> > -// mode!= Emitter.MODE_IMPLEMENTATION &&
> > -// mode!= Emitter.MODE_INTERFACE)
> > -// mode = Emitter.MODE_ALL; // Default to all in unknown case
> > -
> > -// emitter.emit(outputFileName,mode);
> > -
> > - } catch (Throwable t) {
> > - throw t;
> > -
> > - }
> > }
> > }
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java Thu Sep 29 20:01:28 2005
> > @@ -15,7 +15,6 @@
> > */
> > package org.apache.axis2.tool.codegen.eclipse.ui;
> >
> > -//import org.apache.axis.wsdl.fromJava.Emitter;
> > import org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin;
> > import org.eclipse.swt.SWT;
> > import org.eclipse.swt.events.ModifyEvent;
> > @@ -240,16 +239,6 @@
> > styleSelectionCombo.select(settings.getInt(PREF_JAVA_STYLE_INDEX));
> > }
> > public int getMode(){
> > -// String selectedOption = modeSelectionCombo.getItem(modeSelectionCombo.getSelectionIndex());
> > -// if (WSDL_ALL.equals(selectedOption)){
> > -// return Emitter.MODE_ALL;
> > -// }else if (WSDL_INTERFACE_ONLY.equals(selectedOption)){
> > -// return Emitter.MODE_INTERFACE;
> > -// }else if (WSDL_IMPLEMENTATION_ONLY.equals(selectedOption)){
> > -// return Emitter.MODE_IMPLEMENTATION;
> > -// }else{
> > -// throw new RuntimeException("Unknown Exception");
> > -// }
> > return 0;
> > }
> >
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java Thu Sep 29 20:01:28 2005
> > @@ -142,7 +142,7 @@
> > try
> > {
> > monitor.worked(1);
> > -// create a wizard bean
> > + // create a wizard bean
> > WizardBean wizBean = new WizardBean();
> > monitor.worked(1);
> > wizBean.setPage1bean(classFileLocationPage.getBean());
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/WSDLOptionsPage.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/WSDLOptionsPage.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/WSDLOptionsPage.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/WSDLOptionsPage.java Thu Sep 29 20:01:28 2005
> > @@ -100,7 +100,7 @@
> > }
> > });
> >
> > -// ########################################################
> > + //########################################################
> > gd = new GridData(GridData.FILL_HORIZONTAL);
> > label = new Label(container, SWT.NULL);
> > label.setText(ServiceArchiver.getResourceString("page6.class.label"));
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/util/SettingsConstants.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/util/SettingsConstants.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/util/SettingsConstants.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/util/SettingsConstants.java Thu Sep 29 20:01:28 2005
> > @@ -36,7 +36,7 @@
> > //#######################################################
> > static final String PREF_OUTPUT_LOCATION="OUT_LOCATION";
> > static final String PREF_OUTPUT_NAME="OUT_NAME";
> > -// #######################################################
> > + // #######################################################
> > static final String PREF_SERVICE_GEN_SERVICE_NAME="SERVICE_NAME";
> > static final String PREF_SERVICE_GEN_CLASSNAME="CLASSNAME";
> > static final String PREF_SERVICE_GEN_LOAD_ALL="LOAD_ALL";
> >
> > Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/swing/ui/MainWindow.java
> > URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/swing/ui/MainWindow.java?rev=292607&r1=292606&r2=292607&view=diff
> > ==============================================================================
> > --- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/swing/ui/MainWindow.java (original)
> > +++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/swing/ui/MainWindow.java Thu Sep 29 20:01:28 2005
> > @@ -81,7 +81,7 @@
> > }
> >
> > });
> > -//
> > +
> > this.nextButton = new JButton("Next");
> > this.getContentPane().add(this.nextButton);
> > this.nextButton.setBounds(hgap + bWidth + hgap,
> >
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
>
--
Ruchith