different java package for wsdl2java generated fault classes (Axis2 1.3)

2007-12-05 Thread Leon Searl

Hi,

I've been using Axis2 v1.3 and wsdl2java with the ADB binding
to create the classes for my services and clients. This has worked
pretty well for me. But I would like to have wsdl2java do one
thing different.

wsdl2java puts the classes for faults into the same java package as the
service skeleton reguardless of the namespace that the fault name
is in.

Is there a way to have a wsdl2java generated fault class package
be based on the namespace of the wsdl fault name?

The rational for wanting this would be cumbersome to explain so
I've left it out of this message. But I will way that it will
allow me to modularize/reuse wsdl 'interfaces' that include faults.
I can provide the rational for anyone that wants it.

Thanks for any information/help you can provide.

leon

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: different java package for wsdl2java generated fault classes (Axis2 1.3)

2007-12-06 Thread Leon Searl

Hi Mauro,

I completely agree with what you have said here.

I even looked at the wsdl2java code generator to see if there was a way
to customize the package of the fault class. As you say, it is coded
to only be determined by the wsdl targetnamespace.

I've considered the manual refactoring that you mentioned. It is a
possibility. But I am lazy.

I'm going to toy with the idea
of patching the wsdl2java code to give me the option
to have the package of the fault class be determined by the namespace
of the fault. I've looked at the code and I believe that it is
very doable.

Would anyone else be interested in this?

Thanks for your input.

leon

Mauro Molinari wrote:

Amila Suriarachchi ha scritto:
fault class package is based on the wsdl targetnamespace. try to 
codegen using the -p option to

specify an different package for wsdl namesapce components.


If I understood Leon right, he means that exception classes are 
generated in the same package of the skeleton, that is the target 
namespace of the wsdl.


Leon, from my experience, WSDL2Java behaves as follows:

- it generates an ADBBean for the type defined in the schema 
corresponding to the description of the fault message: this class is put 
in the package corresponding to the target namespace of the schema
- it generates an exception class with the same name of the  
defined for an operation: this class is put in the package corresponding 
to the target namespace of the package


Example:
Suppose in your WSDL you have:

  
  
  
  


and:

  
  


while, in the schema, you have:

  

  

  


Now, suppose the namespaces are as follows:
- prefix "schema" = target namespace of the schema = 
http://myhost.com/MyService/type
- prefix "wsdl" = target namespace of the WSDL = 
http://myhost.com/MyService/wsdl


WSDL2Java generates the following:
- com.myhost.myservice.type.MyFaultMessage, which is an ADBBean 
describing the details of the fault message
- com.myhost.myservice.wsdl.MyException, which is an extension of 
java.lang.Exception, with a property named "faultMessage" of type 
MyFaultMessage


The skeleton is also put in com.myhost.myservice.wsdl. I don't think 
this is customizable at the moment. If you want to share the same 
exceptions and faults within multiple services, I did as follows:

- I created a common XSD schema, that I import in every WSDL
- in this schema, there's a global element defined which describes my 
fault message
- the schema has a target namespace which is mapped to the package 
containing types that I want to share between services implementations
- then, I manually created an extension of java.lang.Exception with a 
property (+ getter/setter) of the type of the fault message and I put 
this exception in another shared package
- then, every time I generate a new web service skeleton, I delete the 
generated exceptions and refactor the skeleton and the message receiver 
so that they use the shared exception defined manually, instead of the 
auto-generated ones


Obviously, this is a problem if you want (or need) to completely rely on 
auto-generation.


Hope this helps.



--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



[Axis2] axis2 v1.3 maven build test failure ComplexDataTypesComplexDataTypesSOAP11Test

2007-12-11 Thread Leon Searl

Hi,

I'm sure that someone must have run into this before but so far I have
failed to find any information about it with my web searches.
I'm sorry if this is a repeat and been handled previously.

I'm getting 2 failures when I run '> mvn clean install'
for Axis2-1.3.
My version of Java is Sun Standard Edition (build 1.5.0_13-b05)
My OS is Fedora 7.

Looking back through the output of the 'mvn clean install' I see
the following as the first failure.

Running 
org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test
0 [main] INFO org.apache.axis2.deployment.DeploymentEngine  - No 
services directory was found under 
/tmp/axis2-1.3/modules/integration/target/test-resources/samples.
203 [main] INFO org.apache.axis2.deployment.ModuleDeployer  - Deploying 
module: addressing-1.3
Server started on port .469 [HttpListener--1] INFO 
org.apache.axis2.transport.http.server.DefaultConnectionListener  - 
Listening on port 

[SimpleHTTPServer] Stop called
80455 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
connection listener
80486 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
HTTP processors
83492 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Force shut 
down HTTP processors
83514 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - HTTP protocol 
handler shut down
Tests run: 37, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 84.238 
sec <<< FAILURE!


The other test that fails is 
org.apache.axis2.rpc.complex.ComplexDataTypesDocLitBareTest


After looking around I found a 'surefire' report that looks like it is
the output of one of the two tests that failed. I've attached it.

Thanks for any help you can provide.

leon

P.S. The SVN snapshot of Dec. 9, 2007 built without failures. Should
I use it?
--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu
---
Test set: 
org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test
---
Tests run: 37, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 84.238 sec <<< 
FAILURE!
testretObject(org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test)
  Time elapsed: 2.078 sec  <<< FAILURE!
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at junit.framework.Assert.assertNotNull(Assert.java:207)
at 
org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test.testretObject(ComplexDataTypesComplexDataTypesSOAP11Test.java:478)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInPr

Re: Is there WS Eventing for Axis2/Java

2007-12-18 Thread Leon Searl

Hi Samir,

I just did this today.

Go to http://ws.apache.org/savan/source-repository.html
and do the Anonymouse access svn checkout.

Down in the directory savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for WS-Eventing in
Axis2.. Some server and client sample code will be
great.


--- Michele Mazzucco <[EMAIL PROTECTED]>
wrote:


http://ws.apache.org/savan/index.html, but the web
site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:



-- Forwarded message --
From: Prince Singh <[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential, proprietary
or legally  

Privileged information. In case you are not the
original intended  

Recipient of the message, you must not, directly
or indirectly,  

use, disclose, distribute, print, or copy any part
of this message  

and you are requested to delete it and inform the

sender.

Any views expressed in this message are those of
the individual  

sender unless otherwise stated. Nothing contained
in this message  

shall be construed as an offer or acceptance of
any offer by  

Drishti-Soft Solutions Pvt Ltd ("Drishti") unless
sent with that  

express intent and with due authority of Drishti.
Drishti has taken enough precautions to prevent
the spread of  

viruses. However the company accepts no liability
for any damage  

caused by any virus transmitted by this email.




-

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






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: Is there WS Eventing for Axis2/Java

2007-12-18 Thread Leon Searl

Hi Samir,

Yes, although I have not used the mar or jar yet
so I dont know if it has any problems.

In the trunk/java directory I did the following command:
mvn package
The mar shows up in: trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows up in
trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:
trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed. I'm also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service and client/service
to see if I can get it to work.

Other than the javadocs I have not found any other documentation
so you are on your own there unless someone tells us where to find
some documentation. Looking at the javadocs and the example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to
http://ws.apache.org/savan/source-repository.html
and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for WS-Eventing

in

Axis2.. Some server and client sample code will be
great.


--- Michele Mazzucco <[EMAIL PROTECTED]>
wrote:


http://ws.apache.org/savan/index.html, but the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:


-- Forwarded message --
From: Prince Singh <[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally  

Privileged information. In case you are not the
original intended  

Recipient of the message, you must not, directly
or indirectly,  

use, disclose, distribute, print, or copy any

part
of this message  

and you are requested to delete it and inform

the

sender.

Any views expressed in this message are those of
the individual  

sender unless otherwise stated. Nothing

contained
in this message  

shall be construed as an offer or acceptance of
any offer by  

Drishti-Soft Solutions Pvt Ltd ("Drishti")

unless
sent with that  

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to prevent
the spread of  

viruses. However the company accepts no

liability
for any damage  

caused by any virus transmitted by this email.



-

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





 


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search. 

http://tools.search.yahoo.com/newsearch/category.php?category=shopping



-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center,
University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS
66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



-

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






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



[Axis2][Savan] Can savan only be engaged globally

2008-01-17 Thread Leon Searl

Hi,

I've started to try to use Savan for WS-Eventing.

When I put  in my axis2.xml file
(when using Axis2 under TOMCAT) I can see that Savan has been engaged
for all operations for all services (by using the
Axis2 admin web page).

When I only put  in the service.xml file
of one service (and remove it from the axis2.xml) I dont
see Savan engaged for my service (when using the Axis2 admin
webpage to see which serivce/operations have modules engaged).

Can Savan only be engaged globally?

Thanks

leon

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: Is there WS Eventing for Axis2/Java

2008-02-18 Thread Leon Searl

Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru my
proxy.

Can you send me the compiled jar and mar you mention
below?

I'm assuming they'll be exactly the same if i were to
get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar yet
so I dont know if it has any problems.

In the trunk/java directory I did the following
command:
mvn package
The mar shows up in:
trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows up in
trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed. I'm
also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service and
client/service
to see if I can get it to work.

Other than the javadocs I have not found any other
documentation
so you are on your own there unless someone tells us
where to find
some documentation. Looking at the javadocs and the
example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to
http://ws.apache.org/savan/source-repository.html
and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for WS-Eventing

in

Axis2.. Some server and client sample code will

be

great.


--- Michele Mazzucco

<[EMAIL PROTECTED]>

wrote:


http://ws.apache.org/savan/index.html, but the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:


-- Forwarded message --
From: Prince Singh <[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally  

Privileged information. In case you are not

the
original intended  

Recipient of the message, you must not,

directly
or indirectly,  

use, disclose, distribute, print, or copy any

part
of this message  

and you are requested to delete it and inform

the

sender.

Any views expressed in this message are those

of
the individual  

sender unless otherwise stated. Nothing

contained
in this message  

shall be construed as an offer or acceptance

of
any offer by  

Drishti-Soft Solutions Pvt Ltd ("Drishti")

unless
sent with that  

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to

prevent
the spread of  

viruses. However the company accepts no

liability
for any damage  

caused by any virus transmitted by this email.

-

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




 


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search. 

http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology

Center,

University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS
66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



-

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





 


=== message truncated ===



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


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


--
Leon S. Searl, Software Research Engineer
Information and Te

Re: Is there WS Eventing for Axis2/Java

2008-02-18 Thread Leon Searl

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not get
  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but addressing
  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to Savan...
anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru my
proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i were

to

get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar yet
so I dont know if it has any problems.

In the trunk/java directory I did the following
command:
mvn package
The mar shows up in:
trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed. I'm
also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone tells

us

where to find
some documentation. Looking at the javadocs and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

<[EMAIL PROTECTED]>

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:


-- Forwarded message --
From: Prince Singh <[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally  

Privileged information. In case you are not

the
original intended  

Recipient of the message, you must not,

directly
or indirectly,  

use, disclose, distribute, print, or copy

any

part
of this message  

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual  

sender unless otherwise stated. Nothing

contained
in this message  

shall be construed as an offer or acceptance

of
any offer by  

Drishti-Soft Solutions Pvt Ltd ("Drishti")

unless
sent with that  

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to

prevent
the spread of  

viruses. However the company accepts no

liability
for any damage  

caused by any virus transmitted by this

email.

-

To unsu

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-18 Thread Leon Searl

Hi Samir,

The client has to use addressing to talk with the
publisher service. The addressing module
is in the repository 'modules' directory. That
is why the client needs the repository path.

What I did was to unpack the axis binary distribution
in /opt/axis2-1.3 and then pass
/opt/axis2-1.3/repository as the repository path.

I also removed all services from /opt/axis2-1.3/repository/services.

leon

samir shaikh wrote:

Hi,

To run the Savan sample client you need to pass in the
client repository. What are valid values here and what
is this for?

Samir


--- samir shaikh <[EMAIL PROTECTED]> wrote:


Leon,

I was able to make it work finally!

Just curious, what changes are you making to
Savan...
anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru my
proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i

were

to

get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar

yet

so I dont know if it has any problems.

In the trunk/java directory I did the following
command:
mvn package
The mar shows up in:


trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows

up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed.

I'm

also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone

tells

us

where to find
some documentation. Looking at the javadocs and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

<[EMAIL PROTECTED]>

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh

wrote:

-- Forwarded message --
From: Prince Singh

<[EMAIL PROTECTED]>

Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for

Axis2/Java

To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any  

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally  

Privileged information. In case you are

not

the
original intended  

Recipient of the message, you must not,

directly
or indirectly,  

use, disclose, distribute, print, or copy

any

part
of this message  

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual  

sender unless otherwise stated. Nothing

contained
in this message  

=== message truncated ===



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: [Axis2][Savan] Can savan only be engaged globally

2008-02-18 Thread Leon Searl

Hi Samir,

That was my bad. I had a mis-spelling
in the services.xml that kept it from working.


leon

samir shaikh wrote:

Hi Leon,

Did you get an answer on this?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi,

I've started to try to use Savan for WS-Eventing.

When I put  in my axis2.xml
file
(when using Axis2 under TOMCAT) I can see that Savan
has been engaged
for all operations for all services (by using the
Axis2 admin web page).

When I only put  in the
service.xml file
of one service (and remove it from the axis2.xml) I
dont
see Savan engaged for my service (when using the
Axis2 admin
webpage to see which serivce/operations have modules
engaged).

Can Savan only be engaged globally?

Thanks

leon

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center,
University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS
66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



-

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






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: [Axis2][Savan] Can savan only be engaged globally

2008-02-19 Thread Leon Searl

Hi Samir,

Yes, In order for savan to work both the client
sending the subscription message and the publisher
service must have addressing engaged.

services.xml



The client does not have to have the savan module
engaged (I believe).

The example publication listener services do not have
addressing engaged in their services.xml so I don't
believe that it is needed. They definitely do not
need the savan module.

leon

samir shaikh wrote:

Hi Leon,

What does the service xml look like in services.xml
for services that we want to engage savan for. Should
we also engage addressing?.. 


Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

That was my bad. I had a mis-spelling
in the services.xml that kept it from working.


leon

samir shaikh wrote:

Hi Leon,

Did you get an answer on this?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi,

I've started to try to use Savan for WS-Eventing.

When I put  in my axis2.xml
file
(when using Axis2 under TOMCAT) I can see that

Savan

has been engaged
for all operations for all services (by using the
Axis2 admin web page).

When I only put  in the
service.xml file
of one service (and remove it from the axis2.xml)

I

dont
see Savan engaged for my service (when using the
Axis2 admin
webpage to see which serivce/operations have

modules

engaged).

Can Savan only be engaged globally?

Thanks

leon

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology

Center,

University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS
66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



-

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





 


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search. 

http://tools.search.yahoo.com/newsearch/category.php?category=shopping



-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]

--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center,
University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS
66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



-

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






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

Hi Samir,

Please look at https://issues.apache.org/jira/browse/SAVAN-4
I've attached a couple of patches that should fix the
savan-config.xml issue that I described below.

leon

Leon Searl wrote:

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not get
  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but addressing
  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to Savan...
anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru my
proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i were

to

get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar yet
so I dont know if it has any problems.

In the trunk/java directory I did the following
command:
mvn package
The mar shows up in:
trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed. I'm
also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone tells

us

where to find
some documentation. Looking at the javadocs and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

<[EMAIL PROTECTED]>

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:


-- Forwarded message --
From: Prince Singh <[EMAIL PROTECTED]>
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any 

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally 

Privileged information. In case you are not

the
original intended 

Recipient of the message, you must not,

directly
or indirectly, 

use, disclose, distribute, print, or copy

any

part
of this message 

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual 

sender unless otherwise stated. Nothing

contained
in this message 

shall be construed as an offer or acceptance

of
any offer by 

Drishti-Soft Solutions Pvt Ltd ("Drishti")

unless
sent with that 

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to

prevent
the spread of 

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

Hi Samir,

I'm not sure what you mean.
I assume that what you want to do is add some data to the
subscription request that the publisher/eventing service would then add
to the published data sent to a subscriber service when
an event occurs.

If you take a look
at the specification for WS-Eventing you'll
see that there is not much extra that you can put
into the subscribe request. So I doubt that
it is possible to do what you ask.

There is nothing to prevent you from adding more
operations to an eventing service where one operation
would for storing the extra data that you want
sent out with event notifications.

leon

samir shaikh wrote:

Hi Leon,

Is there a way to put a payload in the subscribe
request? I was hoping to call a service on the server
with the subscribe request.

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Please look at
https://issues.apache.org/jira/browse/SAVAN-4
I've attached a couple of patches that should fix
the
savan-config.xml issue that I described below.

leon

Leon Searl wrote:

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not

get

  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but

addressing

  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to

Savan...

anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru

my

proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i

were

to

get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar

yet

so I dont know if it has any problems.

In the trunk/java directory I did the

following

command:
mvn package
The mar shows up in:


trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows

up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed.

I'm

also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own

service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone

tells

us

where to find
some documentation. Looking at the javadocs

and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

<[EMAIL PROTECTED]>

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh

wrote:

-- Forwarded message --
From: Prince Singh

<[EMAIL PROTECTED]>

Date: Dec 17, 2007 6:23 PM

=== message truncated ===



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



-

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-21 Thread Leon Searl

Hi Samir,

No we are getting into an area that I am not very
familiar with.

I saw the same behavior with the savan sample.
I turned on a whole bunch of debugging and found
out that the publication message within the
listener service was getting
through most of the phases but seemed to be
getting dropped at the point where
axis2 uses reflection to try to find the method
in the service implementation class to invoke for
the operation. I did not look any further
to try to determine what the problem was.

I made a whole bunch of changes to savan to
support services and clients using ADB instead
of Axiom which
seems to have solved the problem for me.

leon

samir shaikh wrote:

Leon,

I was just hoping to include a payload in the
subscribe request... but apparently as per the
specification thats not the way this is supposed to
work.

I also noticed that it looks like fireandforget method
is used for publishing events to the event listener.
In my case the event does not appear to be getting
processed by the listener even though a Http Status
code is being returned by the ListenerService.

I suspect this because I can see the same behavior
when I do a fireandforget vs. a sendRecieve from my
subscriber client.

Any ideas or configuration on the web server or on
savan to get around to this?

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I'm not sure what you mean.
I assume that what you want to do is add some data
to the
subscription request that the publisher/eventing
service would then add
to the published data sent to a subscriber service
when
an event occurs.

If you take a look
at the specification for WS-Eventing you'll
see that there is not much extra that you can put
into the subscribe request. So I doubt that
it is possible to do what you ask.

There is nothing to prevent you from adding more
operations to an eventing service where one
operation
would for storing the extra data that you want
sent out with event notifications.

leon

samir shaikh wrote:

Hi Leon,

Is there a way to put a payload in the subscribe
request? I was hoping to call a service on the

server

with the subscribe request.

Thanks,
Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Please look at
https://issues.apache.org/jira/browse/SAVAN-4
I've attached a couple of patches that should fix
the
savan-config.xml issue that I described below.

leon

Leon Searl wrote:

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not

get

  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but

addressing

  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to

Savan...

anything that is needed to get WS-Eventing

going?

Samir

--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru

my

proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i

were

to

get mvn working also.

Samir


--- Leon Searl <[EMAIL PROTECTED]> wrote:


Hi Samir,

Yes, although I have not used the mar or jar

yet

so I dont know if it has any problems.

In the trunk/java directory I did the

following

command:
mvn package
The mar shows up in:


trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API)

shows

up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up

in:

trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed.

I'm

also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own

service

and

client/service
to see if I can get

Re: Build Failure Axis2 1.3

2008-03-10 Thread Leon Searl

Hi Jeffery,

I ran into this same exact test failure.
I changed the maven .../modules/kernel/pom.xml to skip these two tests.

leon


Jeffrey Wells wrote:

All;
 
I am new to axis2 and I have been trying to build the 1.3 version on my 
Linux Fedora Core 6 O.S. with maven 2.0.8 and jdk 1.5.
 
Compilation goes well but package/install fails with these errors.  I 
was wondering if any one else has run into this problem in the past and 
if so, what was done to fix it.
 
Thank you.
 
Jeff Wells
 
Running 
org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test
1 [main] INFO org.apache.axis2.deployment.DeploymentEngine  - No 
services directory was found under 
/mnt/home/wells/axis213/modules/integration/target/test-resources/samples.
90 [main] INFO org.apache.axis2.deployment.ModuleDeployer  - Deploying 
module: addressing-1.3
Server started on port .252 [HttpListener--1] INFO 
org.apache.axis2.transport.http.server.DefaultConnectionListener  - 
Listening on port 

[SimpleHTTPServer] Stop called
81501 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
connection listener
81510 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
HTTP processors
84514 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Force shut 
down HTTP processors
84515 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - HTTP protocol 
handler shut down
Tests run: 37, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 85.237 
sec <<< FAILURE!
 
Running org.apache.axis2.rpc.complex.ComplexDataTypesDocLitBareTest
0 [main] INFO org.apache.axis2.deployment.DeploymentEngine  - No 
services directory was found under 
/mnt/home/wells/axis213/modules/integration/target/test-resources/samples.
89 [main] INFO org.apache.axis2.deployment.ModuleDeployer  - Deploying 
module: addressing-1.3
Server started on port .253 [HttpListener--1] INFO 
org.apache.axis2.transport.http.server.DefaultConnectionListener  - 
Listening on port 

[SimpleHTTPServer] Stop called
75042 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
connection listener
75051 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
HTTP processors
78057 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Force shut 
down HTTP processors
78058 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - HTTP protocol 
handler shut down
Tests run: 34, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 78.78 
sec <<< FAILURE!


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: Build Failure Axis2 1.3

2008-03-10 Thread Leon Searl

Hi Jeff,

It has been a while since I did it.
I can not remember which section it was (surefire?)
but yes, I put some excludes in there. I believe that
there a few other tests that were being excluded already
and I just added the ones that I saw failing.

leon

[EMAIL PROTECTED] wrote:

Leon;

What did you do?

Did you put an "exclude" in the pom.xml file that forced the two tests not
to run?

Thanks!

Jeff Wells

Original Message:
-----
From: Leon Searl [EMAIL PROTECTED]
Date: Mon, 10 Mar 2008 10:10:20 -0500
To: axis-user@ws.apache.org
Subject: Re: Build Failure Axis2 1.3


Hi Jeffery,

I ran into this same exact test failure.
I changed the maven .../modules/kernel/pom.xml to skip these two tests.

leon


Jeffrey Wells wrote:

All;
 
I am new to axis2 and I have been trying to build the 1.3 version on my 
Linux Fedora Core 6 O.S. with maven 2.0.8 and jdk 1.5.
 
Compilation goes well but package/install fails with these errors.  I 
was wondering if any one else has run into this problem in the past and 
if so, what was done to fix it.
 
Thank you.
 
Jeff Wells
 
Running 
org.apache.axis2.rpc.complex.ComplexDataTypesComplexDataTypesSOAP11Test
1 [main] INFO org.apache.axis2.deployment.DeploymentEngine  - No 
services directory was found under 
/mnt/home/wells/axis213/modules/integration/target/test-resources/samples.
90 [main] INFO org.apache.axis2.deployment.ModuleDeployer  - Deploying 
module: addressing-1.3
Server started on port .252 [HttpListener--1] INFO 
org.apache.axis2.transport.http.server.DefaultConnectionListener  - 
Listening on port 

[SimpleHTTPServer] Stop called
81501 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
connection listener
81510 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
HTTP processors
84514 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Force shut 
down HTTP processors
84515 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - HTTP protocol 
handler shut down
Tests run: 37, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 85.237 
sec <<< FAILURE!
 
Running org.apache.axis2.rpc.complex.ComplexDataTypesDocLitBareTest
0 [main] INFO org.apache.axis2.deployment.DeploymentEngine  - No 
services directory was found under 
/mnt/home/wells/axis213/modules/integration/target/test-resources/samples.
89 [main] INFO org.apache.axis2.deployment.ModuleDeployer  - Deploying 
module: addressing-1.3
Server started on port .253 [HttpListener--1] INFO 
org.apache.axis2.transport.http.server.DefaultConnectionListener  - 
Listening on port 

[SimpleHTTPServer] Stop called
75042 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
connection listener
75051 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Shut down 
HTTP processors
78057 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - Force shut 
down HTTP processors
78058 [main] INFO 
org.apache.axis2.transport.http.server.SimpleHttpServer  - HTTP protocol 
handler shut down
Tests run: 34, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 78.78 
sec <<< FAILURE!




--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: [Axis2][1.4] RC1 - doc build problem

2008-03-20 Thread Leon Searl

Hi Guys,

I have tried to build the Axis2 1.4 RC1 from src but
ran into an issue and a BUILD ERROR.

The issue:

When building the docs the javax.servlet.http package can not be found:

 [exec]   [javadoc] Constructing Javadoc information...
 [exec]   [javadoc] 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-637511/modules/kernel/src/org/apache/axis2/builder/MultipartFormDataBuilder.java:40: 
package javax.servlet.http does not exist

 [exec]   [javadoc] import javax.servlet.http.HttpServletRequest;

I'm currently using Sun Standard Edition JDK1.5.0_14.
Should I be using Enterprise Edition to get the javax.servlet.http
package or should I set something up (CLASSPATH env variable)
to get to the Apache Tomcat library to get it's servlet-api.jar?

The BUILD ERROR:

 [exec] [INFO] 


 [exec] [INFO] Building Apache Axis2 - Distribution
 [exec] [INFO]task-segment: [install]
 [exec] [INFO] 


 [exec] [INFO] [antrun:run {execution: package}]
 [exec] [INFO] Executing tasks
 [exec]  [copy] Copying 136 files to 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-637511/modules/distribution/target/tmp-doc-distro/xdocs/1_3
 [exec]  [copy] Copied 10 empty directories to 2 empty 
directories under 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-637511/modules/distribution/target/tmp-doc-distro/xdocs/1_3
 [exec]  [copy] Copying 50 files to 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-637511/modules/distribution/target/tmp-doc-distro/xdocs/1_3
 [exec] [INFO] 


 [exec] [ERROR] BUILD ERROR
 [exec] [INFO] 


 [exec] [INFO] Error executing ant tasks
 [exec]
 [exec] Embedded error: 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-637511/release-docs/readme-files 
not found.
 [exec] [INFO] 




Thanks for your help.

leon

Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I've posted the RC1 here:
http://people.apache.org/~dims/axis2-1.4/RC1/

Notes:
- - There's a text file with revision numbers that i used for all the 
SNAPSHOTS

- - There's a m2-repo.zip with all the m2 artifacts
- - There's an online repo as well 
http://people.apache.org/~dims/axis2-1.4/RC1/m2-repo/


Please kick the tires and raise JIRA's.

Thanks,
dims
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFH3QjegNg6eWEDv1kRAlELAKCK1+hrOnRzWLdVfFIKzR/Q0KWFFgCfe4UX
bZKJr3GADb33Hcv0U4MfNbM=
=RRmP
-END PGP SIGNATURE-

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


--
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu

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



Re: [Axis2] 1.4 RC2

2008-03-24 Thread Leon Searl

Hi,

I'm guessing that this is a m2-repo issue instead of an axis2 issue so
I was reluctant to make a Jira.

When building from the source and using the m2-repo I got
and error when maven was looking for artifact 
org.apache.ws.commons.schema:XmlSchema:jar:640087:


bash-3.2$ mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Axis2 - Parent
[INFO]   Apache Axis2 - Kernel
[INFO]   Apache Axis2 - Data Binding
[INFO]   Apache Axis2 - Code Generation
[INFO]   Apache Axis2 - ADB Codegen
[INFO]   Apache Axis2 - tool - MAR Maven Plugin
[INFO]   Apache Axis2 - Addressing
[INFO]   Apache Axis2 - Java2WSDL
[INFO]   Apache Axis2 - Fast Infoset
[INFO]   Apache Axis2 - JiBX Data Binding
[INFO]   Apache Axis2 - SAAJ API
[INFO]   Apache Axis2 - JAXWS API
[INFO]   Apache Axis2 - SAAJ
[INFO]   Apache Axis2 - JWS API
[INFO]   Apache Axis2 - Metadata
[INFO]   Apache Axis2 - JAXWS
[INFO]   Apache Axis2 - OSGi
[INFO]   Apache Axis2 - JAXWS Integration Tests
[INFO]   Apache Axis2 - Clustering
[INFO]   Apache Axis2 - MTOM Policy
[INFO]   Apache Axis2 - JSON
[INFO]   Apache Axis2 - XMLBeans Data Binding
[INFO]   Apache Axis2 - Scripting
[INFO]   Apache Axis2 - JAXB-RI Data Binding
[INFO]   Apache Axis2 - spring
[INFO]   Apache Axis2 - Integration
[INFO]   Apache Axis2 - MEX
[INFO]   Apache Axis2 - Ping
[INFO]   Apache Axis2 - tool - AAR Maven Plugin
[INFO]   Apache Axis2 - Version Service
[INFO]   Apache Axis2 - SOAP Monitor
[INFO]   Apache Axis2 - tool - Ant Plugin
[INFO]   Apache Axis2 - Root
[INFO]   Apache Axis2 - tool - Eclipse Codegen Plugin
[INFO]   Apache Axis2 - tool - Eclipse service Plugin
[INFO]   Apache Axis2 - tool - Intellij IDEA Plugin
[INFO]   Apache Axis2 - tool - Java2WSDL Maven Plugin
[INFO]   Apache Axis2 - tool - WSDL2Code Maven Plugin
[INFO]   Apache Axis2 - CORBA
[INFO]   Apache Axis2 - Web Application module
[INFO]   Apache Axis2 - Samples
[INFO]   Apache Axis2 - Remote Method Invocation
[INFO] 


[INFO] Building Apache Axis2 - Parent
[INFO]task-segment: [clean, install]
[INFO] 


[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-640261/modules/parent/pom.xml 
to 
/users/searl/.m2/repository/org/apache/axis2/axis2-parent/640261/axis2-parent-640261.pom
[INFO] 


[INFO] Building Apache Axis2 - Kernel
[INFO]task-segment: [clean, install]
[INFO] 


[INFO] [clean:clean]
[INFO] Deleting directory 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-640261/modules/kernel/target

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://ws.zones.apache.org/repository2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom
Downloading: 
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom
Downloading: 
http://repo1.maven.org/eclipse/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom
Downloading: 
https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.schema/poms/XmlSchema-640087.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom
Downloading: 
http://ws.zones.apache.org/repository2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar
Downloading: 
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar
Downloading: 
http://repo1.maven.org/eclipse/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar
Downloading: 
https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.schema/jars/XmlSchema-640087.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.ws.commons.schema:XmlSchema:jar:640087

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.ws.commons.schema 
-DartifactId=XmlSchema -Dversion=640087 -Dpackaging=jar -Dfile=/path/to/file


  Alternatively, if you host your own repository you can deploy the 
file there:
  mvn deploy:deploy-file -DgroupId=org.apache.ws.commons.schema 
-DartifactId=XmlSchema -Dversion=640087 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  Path to depe

Re: [Axis2] 1.4 RC2

2008-03-24 Thread Leon Searl

Hi Dims,

I'm no expert on the m2 repository but there does not seem
to be a XmlSchema-640087.pom or XmlSchema-640087.tar anywhere
in the m2-repo.zip. The build seems to expect one
under org/apache/ws/common/schema but I don't see there.

Any other ideas?

leon

Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leon,

download the m2-repo.zip from the RC2 url and unzip it into your local 
machine. alternative edit modules/parent/pom.xml
and add the http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/ as one 
of the repos.


thanks,
dims

Leon Searl wrote:
| Hi,
|
| I'm guessing that this is a m2-repo issue instead of an axis2 issue so
| I was reluctant to make a Jira.
|
| When building from the source and using the m2-repo I got
| and error when maven was looking for artifact
| org.apache.ws.commons.schema:XmlSchema:jar:640087:
|
| bash-3.2$ mvn clean install
| [INFO] Scanning for projects...
| [INFO] Reactor build order:
| [INFO]   Apache Axis2 - Parent
| [INFO]   Apache Axis2 - Kernel
| [INFO]   Apache Axis2 - Data Binding
| [INFO]   Apache Axis2 - Code Generation
| [INFO]   Apache Axis2 - ADB Codegen
| [INFO]   Apache Axis2 - tool - MAR Maven Plugin
| [INFO]   Apache Axis2 - Addressing
| [INFO]   Apache Axis2 - Java2WSDL
| [INFO]   Apache Axis2 - Fast Infoset
| [INFO]   Apache Axis2 - JiBX Data Binding
| [INFO]   Apache Axis2 - SAAJ API
| [INFO]   Apache Axis2 - JAXWS API
| [INFO]   Apache Axis2 - SAAJ
| [INFO]   Apache Axis2 - JWS API
| [INFO]   Apache Axis2 - Metadata
| [INFO]   Apache Axis2 - JAXWS
| [INFO]   Apache Axis2 - OSGi
| [INFO]   Apache Axis2 - JAXWS Integration Tests
| [INFO]   Apache Axis2 - Clustering
| [INFO]   Apache Axis2 - MTOM Policy
| [INFO]   Apache Axis2 - JSON
| [INFO]   Apache Axis2 - XMLBeans Data Binding
| [INFO]   Apache Axis2 - Scripting
| [INFO]   Apache Axis2 - JAXB-RI Data Binding
| [INFO]   Apache Axis2 - spring
| [INFO]   Apache Axis2 - Integration
| [INFO]   Apache Axis2 - MEX
| [INFO]   Apache Axis2 - Ping
| [INFO]   Apache Axis2 - tool - AAR Maven Plugin
| [INFO]   Apache Axis2 - Version Service
| [INFO]   Apache Axis2 - SOAP Monitor
| [INFO]   Apache Axis2 - tool - Ant Plugin
| [INFO]   Apache Axis2 - Root
| [INFO]   Apache Axis2 - tool - Eclipse Codegen Plugin
| [INFO]   Apache Axis2 - tool - Eclipse service Plugin
| [INFO]   Apache Axis2 - tool - Intellij IDEA Plugin
| [INFO]   Apache Axis2 - tool - Java2WSDL Maven Plugin
| [INFO]   Apache Axis2 - tool - WSDL2Code Maven Plugin
| [INFO]   Apache Axis2 - CORBA
| [INFO]   Apache Axis2 - Web Application module
| [INFO]   Apache Axis2 - Samples
| [INFO]   Apache Axis2 - Remote Method Invocation
| [INFO]
| 
| [INFO] Building Apache Axis2 - Parent
| [INFO]task-segment: [clean, install]
| [INFO]
| 
| [INFO] [clean:clean]
| [INFO] [site:attach-descriptor]
| [INFO] [install:install]
| [INFO] Installing
| 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-640261/modules/parent/pom.xml 


| to
| 
/users/searl/.m2/repository/org/apache/axis2/axis2-parent/640261/axis2-parent-640261.pom 


|
| [INFO]
| 
| [INFO] Building Apache Axis2 - Kernel
| [INFO]task-segment: [clean, install]
| [INFO]
| 
| [INFO] [clean:clean]
| [INFO] Deleting directory
| 
/users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/axis2/axis2-640261/modules/kernel/target 


|
| [INFO] [resources:resources]
| [INFO] Using default encoding to copy filtered resources.
| Downloading:
| 
http://ws.zones.apache.org/repository2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom 


|
| Downloading:
| 
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom 


|
| Downloading:
| 
http://repo1.maven.org/eclipse/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom 


|
| Downloading:
| 
https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.schema/poms/XmlSchema-640087.pom 


|
| Downloading:
| 
http://repo1.maven.org/maven2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.pom 


|
| Downloading:
| 
http://ws.zones.apache.org/repository2/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar 


|
| Downloading:
| 
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar 


|
| Downloading:
| 
http://repo1.maven.org/eclipse/org/apache/ws/commons/schema/XmlSchema/640087/XmlSchema-640087.jar 


|
| Downloading:
| 
https://maven-repository.dev.java.net/nonav/repository//org.apache.ws.commons.schema/jars/XmlSchema-640087.jar 


|
| Downloading:
| 
http://repo1.maven.org/maven2/org/apache/ws/commons/schema/XmlSchema/640087/X

[Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-10 Thread Leon Searl
Hi,

The developers at WS02 OxygenTank provided a very good example of  
implementing
Web Services Security with Rampart (http://wso2.org/library/3190).

In this example, they incorporated the WS-Policy information into the  
service WSDL definition,
and then used the tool, wsdl2java to generate the service stub.
This generated stub incorporated the ws-policy, and so no changes or  
extensions were required
in the client (except to set username/password options).

However, when I tried to do the same with a service that I had  
written, the generated
service stub did not include the ws-policy information.
The key difference between the original example and my code was that  
the example
described the service using WSDL 1.1, and I had a WSDL 2.0 definition  
for my service.

Why doesn't wsdl2java incorporate the ws-policy information in the  
stub when given WSDL 2.0 input?
Have I overlooked some command line option?
Or is it dependent upon where in the WSDL the policy information is  
included
(I have placed the policy element inside the wsdl2:binding element)?

The alternative of attaching the policy to the service stub in the  
client code using,
options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,  );
as in the Rampart samples, is much less desirable for our environment.
thanks for your help !

leon

-- 
Leon S. Searl, Software/Hardware Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-16 Thread Leon Searl
Hi Pradeep,

Thanks you very much!

leon

- Original Message -
From: "Pradeep Fernando" 
To: axis-user@ws.apache.org
Sent: Monday, March 16, 2009 12:38:35 AM GMT -06:00 US/Canada Central
Subject: Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java  
utility

Hi leon,

I raised a JIRA issue on behalf of you. you can track it here[1].

thanks,
Pradeep Fernando.

[1] https://issues.apache.org/jira/browse/AXIS2-4272

-- 
Leon S. Searl, Software/Hardware Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-24 Thread Leon Searl
Hi Pradeep,

We've gotten to the point now where we are going
to have to have the WSDL2.0 version of wsdl2java
write policy information from the WSDL2.0 file
into the services.xml file and the client stub.

We've been doing it by hand on a trial basis so 
that we can do some testing and understand
what is needed in the way of policy. But now
we need to do this for all of our
clients and services and doing it by hand
is not practical.

We talked about ways to get by until JIRA
issue AXIS2-4272 is resolved but none seem
to be reasonable for various reasons.
One possibility is to go ahead and try
to resolve AXIS2-4272 ourselves. We don't
want to duplicate any effort that is already going
on though.

So before we start I want to check to 
see if anyone was already working on this
and if so what the expected time frame would
be? If no one is working on this yet and if there
is no one ready to take it on then we'll take a crack
at it. We are hoping that someone else has already
started on it though.

Thanks

Leon

- Original Message -
From: "Pradeep Fernando" 
To: axis-user@ws.apache.org
Sent: Monday, March 16, 2009 12:38:35 AM GMT -06:00 US/Canada Central
Subject: Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java  
utility

Hi leon,

I raised a JIRA issue on behalf of you. you can track it here[1].

thanks,
Pradeep Fernando.

[1] https://issues.apache.org/jira/browse/AXIS2-4272

-- 
Leon S. Searl, Software/Hardware Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-25 Thread Leon Searl
Hi Pradeep,

That time frame is fantastic and works great for us! I look forward to
hearing from you or seeing the JIRA status change.

Thank you very much.

leon

- Original Message -
From: "Pradeep Fernando" 
To: axis-user@ws.apache.org
Sent: Wednesday, March 25, 2009 8:46:21 AM GMT -06:00 US/Canada Central
Subject: Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java  
utility

Hi leon, 

I'm bit bussy with my GSOC & hopefully i would be able to fix this within this 
week itself. I have gathered required info to 
work on this issue & looks good. Sagara gave me some valuable info on woden 
parser. 

thanks , 
pradeep fernando. 

-- 
Leon S. Searl, Software/Hardware Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu



Re: [ANNOUNCE] Axis2 1.5 Release Candidate refreshed and ready for testing

2009-05-21 Thread Leon Searl
Hi Glen,

I've just run into bug AXIS2-3896. Would it be possible to
get this fixed in v1.5? I'm asking since I have not yet
seen a final release announcement for 1.5.

Thanks

leon



- Original Message -
From: "Glen Daniels" 
To: "Axis-Dev" , axis-user@ws.apache.org
Sent: Thursday, April 30, 2009 10:48:07 PM GMT -06:00 US/Canada Central
Subject: [ANNOUNCE] Axis2 1.5 Release Candidate refreshed and ready for testing

Hi all!

New version of Axis2 1.5 Release Candidate is ready, including a)
NOTICE/LICENSE files in the jars, b) some JiBX fixes from Dennis, c) some
fixes from Amila, d) a README which is more clear about building from
scratch.  Please check it out if you get a chance, and let me know if there
are any issues.  If I don't hear anything back I'll start a VOTE early next
week to accept these bits as 1.5 proper.

You can find the distribution files in here:

http://people.apache.org/~gdaniels/stagingRepo/org/apache/axis2/distribution/1.5/

And the M2 repository with everything is of course:

http://people.apache.org/~gdaniels/stagingRepo

Thanks,
--Glen

-- 
Leon S. Searl, Software/Hardware Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7559
Ph: 785-864-7820 Fax: 785-864-0387
http://www.ittc.ku.edu