Commited the patch...

~Thilina

On 3/15/06, Hannes Erven <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
>
> attached is a small patch which
>
>
> * modifies the ws-commons/policy dependency to require 0.92 instead of
> 0.90 (its the only version available in current maven repos)
>
> * modifies some source files to reflect a class rename:
>    -import org.apache.axis2.description.ParameterImpl;
>    +import org.apache.axis2.description.Parameter;
> (that rename is kinda strange, the javadoc in the axis sources still
> refer to ParameterImpl ...)
>
> * uncomments the testEchoXMLSync() test case (which always fails if you
> don't have port forwardings and Indigo running)
>
> * adds a maven.properties file with the http://cvs.apache.org/repository
> repo (which seems to be the only source for the axis2-*-0.95 jars)
>
>
> Kandula_2 can now be cleanly compiled by just typing "maven". :-)
>
>
>
> Best regards,
>
>        -hannes
>
>
> Index: java/project.properties
> ===================================================================
> --- java/project.properties     (revision 0)
> +++ java/project.properties     (revision 0)
> @@ -0,0 +1,4 @@
> +maven.repo.remote = http://www.apache.org/dist/java-repository/, 
> http://cvs.apache.org/repository/, http://mirrors.sunsite.dk/maven/, 
> http://www.ibiblio.org/maven, http://dist.codehaus.org, 
> http://jakarta.apache.org/commons/logging/,
> +http://www.reverse.net/pub/apache/java-repository/
> +maven.xdoc.date = left
> +maven.xdoc.version = ${pom.currentVersion}
> \ No newline at end of file
> Index: java/project.xml
> ===================================================================
> --- java/project.xml    (revision 386076)
> +++ java/project.xml    (working copy)
> @@ -230,7 +230,7 @@
>                 <dependency>
>             <groupId>ws-commons</groupId>
>             <artifactId>policy</artifactId>
> -            <version>0.90-SNAPSHOT</version>
> +            <version>0.92-SNAPSHOT</version>
>             <properties>
>                 <module>true</module>
>             </properties>
> Index: 
> java/src/org/apache/kandula/wsat/completion/CompletionInitiatorServiceListener.java
> ===================================================================
> --- 
> java/src/org/apache/kandula/wsat/completion/CompletionInitiatorServiceListener.java
>  (revision 386076)
> +++ 
> java/src/org/apache/kandula/wsat/completion/CompletionInitiatorServiceListener.java
>  (working copy)
> @@ -24,7 +24,7 @@
>  import org.apache.axis2.description.AxisOperation;
>  import org.apache.axis2.description.AxisService;
>  import org.apache.axis2.description.InOnlyAxisOperation;
> -import org.apache.axis2.description.ParameterImpl;
> +import org.apache.axis2.description.Parameter;
>  import org.apache.axis2.receivers.AbstractMessageReceiver;
>  import org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver;
>  import org.apache.kandula.Constants;
> @@ -62,7 +62,7 @@
>                                .getName();
>                String serviceName = "CompletionInitiatorPortType";
>                AxisService service = new AxisService(serviceName);
> -               service.addParameter(new ParameterImpl(
> +               service.addParameter(new Parameter(
>                                AbstractMessageReceiver.SERVICE_CLASS, 
> className));
>                service.setFileName(className);
>
> Index: java/src/org/apache/kandula/wsat/twopc/ParticipantServiceListener.java
> ===================================================================
> --- java/src/org/apache/kandula/wsat/twopc/ParticipantServiceListener.java    
>   (revision 386076)
> +++ java/src/org/apache/kandula/wsat/twopc/ParticipantServiceListener.java    
>   (working copy)
> @@ -24,7 +24,7 @@
>  import org.apache.axis2.description.AxisOperation;
>  import org.apache.axis2.description.AxisService;
>  import org.apache.axis2.description.InOnlyAxisOperation;
> -import org.apache.axis2.description.ParameterImpl;
> +import org.apache.axis2.description.Parameter;
>  import org.apache.axis2.receivers.AbstractMessageReceiver;
>  import org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver;
>  import org.apache.kandula.Constants;
> @@ -61,7 +61,7 @@
>                String className = 
> ParticipantPortTypeRawXMLSkeleton.class.getName();
>                String serviceName = "ParticipantPortType";
>                AxisService service = new AxisService(serviceName);
> -               service.addParameter(new ParameterImpl(
> +               service.addParameter(new Parameter(
>                                AbstractMessageReceiver.SERVICE_CLASS, 
> className));
>                service.setFileName(className);
>
> Index: 
> java/src/org/apache/kandula/wscoor/ActivationCoordinatorPortTypeRawXMLStub.java
> ===================================================================
> --- 
> java/src/org/apache/kandula/wscoor/ActivationCoordinatorPortTypeRawXMLStub.java
>      (revision 386076)
> +++ 
> java/src/org/apache/kandula/wscoor/ActivationCoordinatorPortTypeRawXMLStub.java
>      (working copy)
> @@ -36,7 +36,7 @@
>  import org.apache.axis2.description.AxisServiceGroup;
>  import org.apache.axis2.description.InOnlyAxisOperation;
>  import org.apache.axis2.description.OutInAxisOperation;
> -import org.apache.axis2.description.ParameterImpl;
> +import org.apache.axis2.description.Parameter;
>  import org.apache.axis2.receivers.AbstractMessageReceiver;
>  import org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver;
>  import org.apache.kandula.Constants;
> @@ -156,7 +156,7 @@
>
>                KandulaListener listener = KandulaListener.getInstance();
>                AxisService service = new AxisService(serviceName);
> -               service.addParameter(new ParameterImpl(
> +               service.addParameter(new Parameter(
>                                AbstractMessageReceiver.SERVICE_CLASS, 
> className));
>                service.setFileName(className);
>
> Index: 
> java/src/org/apache/kandula/wscoor/RegistrationCoordinatorPortTypeRawXMLStub.java
> ===================================================================
> --- 
> java/src/org/apache/kandula/wscoor/RegistrationCoordinatorPortTypeRawXMLStub.java
>    (revision 386076)
> +++ 
> java/src/org/apache/kandula/wscoor/RegistrationCoordinatorPortTypeRawXMLStub.java
>    (working copy)
> @@ -36,7 +36,7 @@
>  import org.apache.axis2.description.AxisServiceGroup;
>  import org.apache.axis2.description.InOnlyAxisOperation;
>  import org.apache.axis2.description.OutOnlyAxisOperation;
> -import org.apache.axis2.description.ParameterImpl;
> +import org.apache.axis2.description.Parameter;
>  import org.apache.axis2.receivers.AbstractMessageReceiver;
>  import org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver;
>  import org.apache.kandula.Constants;
> @@ -156,7 +156,7 @@
>
>                KandulaListener listener = KandulaListener.getInstance();
>                AxisService service = new AxisService(serviceName);
> -               service.addParameter(new ParameterImpl(
> +               service.addParameter(new Parameter(
>                                AbstractMessageReceiver.SERVICE_CLASS, 
> className));
>                service.setFileName(className);
>
> Index: 
> java/test/org/apache/kandula/integration/CreateCoordinationContextTest.java
> ===================================================================
> --- 
> java/test/org/apache/kandula/integration/CreateCoordinationContextTest.java 
> (revision 386076)
> +++ 
> java/test/org/apache/kandula/integration/CreateCoordinationContextTest.java 
> (working copy)
> @@ -79,23 +79,23 @@
>        }
>
>        public void testEchoXMLSync() throws Exception {
> -               TransactionManager tm = new TransactionManager(
> -                               Constants.WS_AT,
> -                               new EndpointReference(
> -                                               
> "http://localhost:8082/axis2/services/ActivationCoordinator";));
> -
> -               
> tm.begin("target/initiator-repository","target/initiator-repository/axis2.xml");
> -               // Thread.sleep(10000);
> -               KandulaDemoServiceStub stub = new KandulaDemoServiceStub(
> -                               "target/initiator-repository",
> -                               new EndpointReference(
> -                                               
> "http://127.0.0.1:8085/Transactions_Service_Indigo/TransactionalService.svc";));
> -               stub.creditOperation();
> -               // try{
> -               tm.commit();
> -               // }catch (Exception e)
> -               // {
> -               // e.printStackTrace();
> -               // }
> +//             TransactionManager tm = new TransactionManager(
> +//                             Constants.WS_AT,
> +//                             new EndpointReference(
> +//                                             
> "http://localhost:8082/axis2/services/ActivationCoordinator";));
> +//
> +//             
> tm.begin("target/initiator-repository","target/initiator-repository/axis2.xml");
> +//             // Thread.sleep(10000);
> +//             KandulaDemoServiceStub stub = new KandulaDemoServiceStub(
> +//                             "target/initiator-repository",
> +//                             new EndpointReference(
> +//                                             
> "http://127.0.0.1:8085/Transactions_Service_Indigo/TransactionalService.svc";));
> +//             stub.creditOperation();
> +//             // try{
> +//             tm.commit();
> +//             // }catch (Exception e)
> +//             // {
> +//             // e.printStackTrace();
> +//             // }
>        }
>  }
> \ No newline at end of file
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
"May the SourcE be with u"
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/                
http://www.bloglines.com/blog/Thilina

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to