axis2 1.3 serialization problem

2007-12-11 Thread samir shaikh
Hi all,

I'm having this problem after upgrading from axis2
1.1.1 to axis2 1.3

Before for a simple object it returned the following
xml

- http://edge.avaya.com/xsd";>
- 
  http://edge.avaya.com/xsd";>0 
  http://edge.avaya.com/xsd";>Success 
  
  

Now it adds more namespace definitions that seem to be
incompatible with some of my clients. 

- http://edge.avaya.com/xsd";>
- http://core.springframework.org/xsd";
xmlns:ax23="http://context.springframework.org/xsd";
xmlns:ax21="http://beans.springframework.org/xsd";
type="com.avaya.edge.ResultBean">
  0
  Success
  
  

as you will notice that the springframework xmlns are
being added to this and the errorCode and errorMsg
fields have ns: pre-pended to them.

I want to find out why this has changed in axis2 1.3
and is there anyway I can configure it so that those
headers dont get sent back and my xml transaction back
to the client is exactly the same as what it was with
axis2 1.1.1

Please help!!

Samir


  

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]



[Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Hi,

I'm trying to trim down the xml exchanged when using a
axis2 client and server. Is there a way I can
configure the serializer to not prefix namespace with
every element e.g. 0 can
just be 0. Also not send back
the additional headers and field types with each call.
I was able to do that in Axis1.3 with the wsdd file.
Can someone point me to where that is done in Axis2.

Thanks a lot.

Samir


  

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]



RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Raghu,

Thanks for your help. I tried that out but I want to
suppress it on the server. I think WSDL2Java is for
generating a client, right?

I'm hoping to find some configuration in services.xml
or axis2.xml... any idea?

Samir


--- Raghu Upadhyayula <[EMAIL PROTECTED]>
wrote:

> Samir,
> 
>   Try WSDL2Java with -sp option to suppress the
> namespace prefix.
> 
> Thanks
> Raghu
> 
> -----Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 12, 2007 2:20 PM
> To: axis-user@ws.apache.org
> Subject: [Axis2] trimming down the xml in axis2 1.3
> 
> Hi,
> 
> I'm trying to trim down the xml exchanged when using
> a
> axis2 client and server. Is there a way I can
> configure the serializer to not prefix namespace
> with
> every element e.g. 0
> can
> just be 0. Also not send back
> the additional headers and field types with each
> call.
> I was able to do that in Axis1.3 with the wsdd file.
> Can someone point me to where that is done in Axis2.
> 
> Thanks a lot.
> 
> Samir
> 
> 
>  
>

> 
> 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]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

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]



Re: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Martin,

You mean using QName in the client code?

I'm trying to tune my server to not send back
excessive xml. I cannot change the xml I send back to
my clients. the extra "ns:" is causing me trouble
after upgrading from axis2 1.1.1 to axis2 1.3 e.g.
0. My clients expect
0.

Samir

--- Martin Gainty <[EMAIL PROTECTED]> wrote:

> you can always use null..e.g.
>  QName paramQName = new QName("", paramName);
> 
> M--
> - Original Message -
> From: "samir shaikh" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, December 12, 2007 7:20 PM
> Subject: RE: [Axis2] trimming down the xml in axis2
> 1.3
> 
> 
> > Raghu,
> >
> > Thanks for your help. I tried that out but I want
> to
> > suppress it on the server. I think WSDL2Java is
> for
> > generating a client, right?
> >
> > I'm hoping to find some configuration in
> services.xml
> > or axis2.xml... any idea?
> >
> > Samir
> >
> >
> > --- Raghu Upadhyayula <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Samir,
> > >
> > > Try WSDL2Java with -sp option to suppress the
> > > namespace prefix.
> > >
> > > Thanks
> > > Raghu
> > >
> > > -Original Message-
> > > From: samir shaikh [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, December 12, 2007 2:20 PM
> > > To: axis-user@ws.apache.org
> > > Subject: [Axis2] trimming down the xml in axis2
> 1.3
> > >
> > > Hi,
> > >
> > > I'm trying to trim down the xml exchanged when
> using
> > > a
> > > axis2 client and server. Is there a way I can
> > > configure the serializer to not prefix namespace
> > > with
> > > every element e.g.
> 0
> > > can
> > > just be 0. Also not send
> back
> > > the additional headers and field types with each
> > > call.
> > > I was able to do that in Axis1.3 with the wsdd
> file.
> > > Can someone point me to where that is done in
> Axis2.
> > >
> > > Thanks a lot.
> > >
> > > Samir
> > >
> > >
> > >
> > >
> >
>

> > > 
> > > 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]
> > >
> > >
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
>

> 
> > 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]
> >
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

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]



RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Alastair,

I have a very convincing argument for glorified text
readers who want to hit a url and get text back to use
my service. Rather then custom coding all that I've
configured Axis2 to accept HTTP GET parameters as
input and return back an xml, just as it would for an
xml call. If I can somehow configure my response to
them the same as what it was with axis1.1.1 i.e.
without the "ns:" in the field tags then I'll be able
to not force a change on their end. 

This is what I return back.

- http://edge.avaya.com/xsd";>
- 
  0 
  Success 
  
  

This is what they expect

- http://edge.avaya.com/xsd";>
- 
  http://edge.avaya.com/xsd";>0 
  http://edge.avaya.com/xsd";>Success 
  
  


Samir


--- Alastair FETTES <[EMAIL PROTECTED]>
wrote:

> Samir.
> 
> If your clients can't handle the difference between
>  xmlns:ns="foo">0 and  xmlns="foo">0
> then I wouldn't bother using SOAP or web services. 
> These are equivalent
> in XML.  I can understand suppressing the prefix in
> regards to efficency
> and the size of the message but not to support a
> client that doesn't
> handle XML properly. 
> 
> Otherwise it's just a glorified text reader...
> 
> Alastair
> 
> -Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 12, 2007 5:31 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] trimming down the xml in axis2
> 1.3
> 
> Martin,
> 
> You mean using QName in the client code?
> 
> I'm trying to tune my server to not send back
> excessive xml. I cannot
> change the xml I send back to my clients. the extra
> "ns:" is causing me
> trouble after upgrading from axis2 1.1.1 to axis2
> 1.3 e.g.
> 0. My clients expect
> 0.
> 
> Samir
> 
> --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> 
> > you can always use null..e.g.
> >  QName paramQName = new QName("", paramName);
> > 
> > M--
> > - Original Message -
> > From: "samir shaikh" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, December 12, 2007 7:20 PM
> > Subject: RE: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > 
> > 
> > > Raghu,
> > >
> > > Thanks for your help. I tried that out but I
> want
> > to
> > > suppress it on the server. I think WSDL2Java is
> > for
> > > generating a client, right?
> > >
> > > I'm hoping to find some configuration in
> > services.xml
> > > or axis2.xml... any idea?
> > >
> > > Samir
> > >
> > >
> > > --- Raghu Upadhyayula
> <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Samir,
> > > >
> > > > Try WSDL2Java with -sp option to suppress the
> namespace prefix.
> > > >
> > > > Thanks
> > > > Raghu
> > > >
> > > > -Original Message-
> > > > From: samir shaikh
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, December 12, 2007 2:20 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > > >
> > > > Hi,
> > > >
> > > > I'm trying to trim down the xml exchanged when
> > using
> > > > a
> > > > axis2 client and server. Is there a way I can
> configure the 
> > > > serializer to not prefix namespace with every
> element e.g.
> > 0
> > > > can
> > > > just be 0. Also not send
> > back
> > > > the additional headers and field types with
> each call.
> > > > I was able to do that in Axis1.3 with the wsdd
> > file.
> > > > Can someone point me to where that is done in
> > Axis2.
> > > >
> > > > Thanks a lot.
> > > >
> > > > Samir
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

> > > > 
> > > > 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

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Raghu,

I tried that and it generates code and services.xml
for me. Its a lot of stuff to comb thru, do you know
exactly what I need to pick up from this generated
code and introduce in my server code which will then
suppress the namespace prefix from going out.

Thanks for your help.

Samir 


--- Raghu Upadhyayula <[EMAIL PROTECTED]>
wrote:

> Samir,
> 
>   WSDL2Java can also be used to generate serverside
> code. Check
> WSDL2Java options, to create serverside code you
> need to specify the
> options -ss -sd -ssi (check the description for
> these options in
> WSDL2Java)
> 
> You can use -sp option with WSDL2Java when you
> generate the serverside
> code in which case the namespace is suppressed on
> the serverside.
> 
> Thanks
> Raghu
> 
> -Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 12, 2007 5:31 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] trimming down the xml in axis2
> 1.3
> 
> Martin,
> 
> You mean using QName in the client code?
> 
> I'm trying to tune my server to not send back
> excessive xml. I cannot change the xml I send back
> to
> my clients. the extra "ns:" is causing me trouble
> after upgrading from axis2 1.1.1 to axis2 1.3 e.g.
> 0. My clients expect
> 0.
> 
> Samir
> 
> --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> 
> > you can always use null..e.g.
> >  QName paramQName = new QName("", paramName);
> > 
> > M--
> > - Original Message -
> > From: "samir shaikh" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, December 12, 2007 7:20 PM
> > Subject: RE: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > 
> > 
> > > Raghu,
> > >
> > > Thanks for your help. I tried that out but I
> want
> > to
> > > suppress it on the server. I think WSDL2Java is
> > for
> > > generating a client, right?
> > >
> > > I'm hoping to find some configuration in
> > services.xml
> > > or axis2.xml... any idea?
> > >
> > > Samir
> > >
> > >
> > > --- Raghu Upadhyayula
> <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Samir,
> > > >
> > > > Try WSDL2Java with -sp option to suppress the
> > > > namespace prefix.
> > > >
> > > > Thanks
> > > > Raghu
> > > >
> > > > -Original Message-
> > > > From: samir shaikh
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, December 12, 2007 2:20 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > > >
> > > > Hi,
> > > >
> > > > I'm trying to trim down the xml exchanged when
> > using
> > > > a
> > > > axis2 client and server. Is there a way I can
> > > > configure the serializer to not prefix
> namespace
> > > > with
> > > > every element e.g.
> > 0
> > > > can
> > > > just be 0. Also not send
> > back
> > > > the additional headers and field types with
> each
> > > > call.
> > > > I was able to do that in Axis1.3 with the wsdd
> > file.
> > > > Can someone point me to where that is done in
> > Axis2.
> > > >
> > > > Thanks a lot.
> > > >
> > > > Samir
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

> > > > 
> > > > 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]
> > > >
> > > >
> > > >
> > >
> >
>
-
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > >
> &

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-12 Thread samir shaikh
Alastair,

Both xml documents are technically equivalent. The
clients that are having a problem are not xml-aware
readers. They scan for text and then pick up what they
need. 

Since, both the documents are equivalent, is there a
way to configure axis2 to use one style. The
difference is between axis2 1.1.1 and axis2 1.3 where
two different styles are being used.

My hope is to find some configuration parameter(s) in
services.xml and/or axis2.xml to suppress the
namespace from going out.

Samir


--- Alastair FETTES <[EMAIL PROTECTED]>
wrote:

> Hi Samir.
> 
> First off let me state that I understand about not
> changing the clients
> of your webservice and feel your pain.  I agree that
> you can't just go
> changing your clients because of a COTS product
> upgrade.  :)
> 
> My point was more along the lines of the fact that I
> wasn't sure _why_
> they have to change.
> 
> The two XML documents that you showed are
> technically equivalent:
> 
>  xmlns:ns="http://edge.avaya.com/xsd";>
>   
> 0
> Success
>   
> 
> 
> Is this not technically the same as...? (except for
> the type attribute
> on the return?)
> 
>  xmlns:ns="http://edge.avaya.com/xsd";>
>   
>  xmlns="http://edge.avaya.com/xsd";>0
>  xmlns="http://edge.avaya.com/xsd";>Success
>   
> 
> 
> Would the first and second not both validate off the
> same XML Schema?
> Unless they aren't XML aware readers.
> 
> Alastair
> 
> -Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 12, 2007 5:59 PM
> To: axis-user@ws.apache.org
> Subject: RE: [Axis2] trimming down the xml in axis2
> 1.3
> 
> Alastair,
> 
> I have a very convincing argument for glorified text
> readers who want to
> hit a url and get text back to use my service.
> Rather then custom coding
> all that I've configured Axis2 to accept HTTP GET
> parameters as input
> and return back an xml, just as it would for an xml
> call. If I can
> somehow configure my response to them the same as
> what it was with
> axis1.1.1 i.e.
> without the "ns:" in the field tags then I'll be
> able to not force a
> change on their end. 
> 
> This is what I return back.
> 
> -  xmlns:ns="http://edge.avaya.com/xsd";>
> - 
>   0
>   Success
>   
>   
> 
> This is what they expect
> 
> -  xmlns:ns="http://edge.avaya.com/xsd";>
> - 
>xmlns="http://edge.avaya.com/xsd";>0
>xmlns="http://edge.avaya.com/xsd";>Success
>   
>   
> 
> 
> Samir
> 
> 
> --- Alastair FETTES <[EMAIL PROTECTED]>
> wrote:
> 
> > Samir.
> > 
> > If your clients can't handle the difference
> between  > xmlns:ns="foo">0 and  > xmlns="foo">0 then I wouldn't bother
> using SOAP or web 
> > services.
> > These are equivalent
> > in XML.  I can understand suppressing the prefix
> in regards to 
> > efficency and the size of the message but not to
> support a client that
> 
> > doesn't handle XML properly.
> > 
> > Otherwise it's just a glorified text reader...
> > 
> > Alastair
> > 
> > -Original Message-
> > From: samir shaikh [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 12, 2007 5:31 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > 
> > Martin,
> > 
> > You mean using QName in the client code?
> > 
> > I'm trying to tune my server to not send back
> excessive xml. I cannot 
> > change the xml I send back to my clients. the
> extra "ns:" is causing 
> > me trouble after upgrading from axis2 1.1.1 to
> axis2
> > 1.3 e.g.
> > 0. My clients expect 
> > 0.
> > 
> > Samir
> > 
> > --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> > 
> > > you can always use null..e.g.
> > >  QName paramQName = new QName("", paramName);
> > > 
> > > M--
> > > - Original Message -
> > > From: "samir shaikh" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Wednesday, December 12, 2007 7:20 PM
> > > Subject: RE: [Axis2] trimming down the xml in
> > axis2
> > > 1.3
> > > 
> > > 
> > > > Raghu,
> > > >
> > > > Thanks for your help. I tried that out but I
>

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-13 Thread samir shaikh
Raghu,

I see in the archives that you ran into the same
problem as this. Did wsdl2java with -sp work for you?

Samir

--- Raghu Upadhyayula <[EMAIL PROTECTED]>
wrote:

> Samir,
> 
>   WSDL2Java can also be used to generate serverside
> code. Check
> WSDL2Java options, to create serverside code you
> need to specify the
> options -ss -sd -ssi (check the description for
> these options in
> WSDL2Java)
> 
> You can use -sp option with WSDL2Java when you
> generate the serverside
> code in which case the namespace is suppressed on
> the serverside.
> 
> Thanks
> Raghu
> 
> -Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 12, 2007 5:31 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] trimming down the xml in axis2
> 1.3
> 
> Martin,
> 
> You mean using QName in the client code?
> 
> I'm trying to tune my server to not send back
> excessive xml. I cannot change the xml I send back
> to
> my clients. the extra "ns:" is causing me trouble
> after upgrading from axis2 1.1.1 to axis2 1.3 e.g.
> 0. My clients expect
> 0.
> 
> Samir
> 
> --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> 
> > you can always use null..e.g.
> >  QName paramQName = new QName("", paramName);
> > 
> > M--
> > - Original Message -
> > From: "samir shaikh" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, December 12, 2007 7:20 PM
> > Subject: RE: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > 
> > 
> > > Raghu,
> > >
> > > Thanks for your help. I tried that out but I
> want
> > to
> > > suppress it on the server. I think WSDL2Java is
> > for
> > > generating a client, right?
> > >
> > > I'm hoping to find some configuration in
> > services.xml
> > > or axis2.xml... any idea?
> > >
> > > Samir
> > >
> > >
> > > --- Raghu Upadhyayula
> <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Samir,
> > > >
> > > > Try WSDL2Java with -sp option to suppress the
> > > > namespace prefix.
> > > >
> > > > Thanks
> > > > Raghu
> > > >
> > > > -Original Message-
> > > > From: samir shaikh
> [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, December 12, 2007 2:20 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > > >
> > > > Hi,
> > > >
> > > > I'm trying to trim down the xml exchanged when
> > using
> > > > a
> > > > axis2 client and server. Is there a way I can
> > > > configure the serializer to not prefix
> namespace
> > > > with
> > > > every element e.g.
> > 0
> > > > can
> > > > just be 0. Also not send
> > back
> > > > the additional headers and field types with
> each
> > > > call.
> > > > I was able to do that in Axis1.3 with the wsdd
> > file.
> > > > Can someone point me to where that is done in
> > Axis2.
> > > >
> > > > Thanks a lot.
> > > >
> > > > Samir
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

> > > > 
> > > > 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]
> > > >
> > > >
> > > >
> > >
> >
>
-
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
>

RE: [Axis2] trimming down the xml in axis2 1.3

2007-12-13 Thread samir shaikh
Raghu,

I use the default databinding i.e. ADB. I typically
build a service and expose it and let Axis2 generate
my wsdl for me. This is actually working back.

I'll try it and let you know...

Thanks a lot!

Samir

--- Raghu Upadhyayula <[EMAIL PROTECTED]>
wrote:

> Samir,
> 
> Yes, it worked for me.
> 
> I used the WSDL2Java with -sp option to generate the
> server code.
> 
> What data binding are you using?
> 
> If you are using ADB, then you have to replace all
> the request &
> response classes.
> 
> Thanks
> Raghu
> -Original Message-
> From: samir shaikh [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 13, 2007 10:50 AM
> To: axis-user@ws.apache.org
> Subject: RE: [Axis2] trimming down the xml in axis2
> 1.3
> 
> Raghu,
> 
> I see in the archives that you ran into the same
> problem as this. Did wsdl2java with -sp work for
> you?
> 
> Samir
> 
> --- Raghu Upadhyayula <[EMAIL PROTECTED]>
> wrote:
> 
> > Samir,
> > 
> > WSDL2Java can also be used to generate serverside
> > code. Check
> > WSDL2Java options, to create serverside code you
> > need to specify the
> > options -ss -sd -ssi (check the description for
> > these options in
> > WSDL2Java)
> > 
> > You can use -sp option with WSDL2Java when you
> > generate the serverside
> > code in which case the namespace is suppressed on
> > the serverside.
> > 
> > Thanks
> > Raghu
> > 
> > -Original Message-
> > From: samir shaikh [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, December 12, 2007 5:31 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] trimming down the xml in
> axis2
> > 1.3
> > 
> > Martin,
> > 
> > You mean using QName in the client code?
> > 
> > I'm trying to tune my server to not send back
> > excessive xml. I cannot change the xml I send back
> > to
> > my clients. the extra "ns:" is causing me trouble
> > after upgrading from axis2 1.1.1 to axis2 1.3 e.g.
> > 0. My clients expect
> > 0.
> > 
> > Samir
> > 
> > --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> > 
> > > you can always use null..e.g.
> > >  QName paramQName = new QName("", paramName);
> > > 
> > > M--
> > > - Original Message -
> > > From: "samir shaikh" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Wednesday, December 12, 2007 7:20 PM
> > > Subject: RE: [Axis2] trimming down the xml in
> > axis2
> > > 1.3
> > > 
> > > 
> > > > Raghu,
> > > >
> > > > Thanks for your help. I tried that out but I
> > want
> > > to
> > > > suppress it on the server. I think WSDL2Java
> is
> > > for
> > > > generating a client, right?
> > > >
> > > > I'm hoping to find some configuration in
> > > services.xml
> > > > or axis2.xml... any idea?
> > > >
> > > > Samir
> > > >
> > > >
> > > > --- Raghu Upadhyayula
> > <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > Samir,
> > > > >
> > > > > Try WSDL2Java with -sp option to suppress
> the
> > > > > namespace prefix.
> > > > >
> > > > > Thanks
> > > > > Raghu
> > > > >
> > > > > -Original Message-
> > > > > From: samir shaikh
> > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, December 12, 2007 2:20 PM
> > > > > To: axis-user@ws.apache.org
> > > > > Subject: [Axis2] trimming down the xml in
> > axis2
> > > 1.3
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm trying to trim down the xml exchanged
> when
> > > using
> > > > > a
> > > > > axis2 client and server. Is there a way I
> can
> > > > > configure the serializer to not prefix
> > namespace
> > > > > with
> > > > > every element e.g.
> > > 0
> > > > > can
> > > > > just be 0. Also not
> send
> > > back
> > > > > the additional headers and field types with
> > each
> > > > > call.
> > > > > I was able to do that in Axis1.3 with the
> wsdd
> > > file.
> > > > > Can someone point me to wh

Re: Setting up Axis in an Apache/Tomcat Environment

2007-12-13 Thread samir shaikh
Hi,

I did this several years ago, but I'll give it a shot
at explaining how it was done as far as I can
remember.

The process for axis1 is similar to just setting up a
web application and wiring it into the web server just
like a servlet. The web.xml will contain references to
AxisServlet. This servlet will initialize the web
service environment. There is a java tool called
AdminClient which takes service definition in the form
of a wsdd file. This tool deploys the service on the
server.

HTH.

Samir


--- Charitha Kankanamge <[EMAIL PROTECTED]> wrote:

> Though i'm not sure about Axis1, 
>
http://ws.apache.org/axis/java/install.html#Step2SettingUpTheLibraries
> 
> will help you a bit. Someone familiar with Axis1 may
> provide more 
> explanation.
> 
> regards
> Charitha
> 
> Jeremiah Weeden wrote:
> 
> > We're actually using axis1. Is that going to make
> a big difference?
> >
> > - Jeremiah
> >
> > On Dec 13, 2007 7:39 PM, Charitha Kankanamge
> <[EMAIL PROTECTED] 
> > > wrote:
> >
> > Hi Jeremiah,
> > Are you referring to Axis2 or Axis1? If it is
> Axis2, please have a
> > look
> > at
> >
>
http://ws.apache.org/axis2/1_3/installationguide.html#servlet_container
> >
> > regards
> > Charitha
> >
> > Jeremiah Weeden wrote:
> >
> > > Hello -
> > >
> > > I am a newbie with Axis and am wondering if
> anyone has tried setting
> > > it up on a server/workstation where tomcat
> and apache are both
> > > running. We have a situation at work where
> we will be doing this and
> > > I'm wondering how different the installation
> is compared to a pure
> > > tomcat installation (I have already done a
> pure tomcat
> > installation).
> > > I know that files need to be in different
> directories and
> > potentially
> > > configuration files need to be modified so I
> was just curious about
> > > how much different the installation process
> would be.
> > >
> > > Thanks!
> > >
> > > --
> > > Jeremiah
> >
> >
> >
> > --
> > Charitha Kankanamge
> > WSO2 inc.
> > Flower Road, Colombo 07
> > +94 714268070
> >
> >
> >
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > 
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> >
> >
> >
> >
> > -- 
> > Jeremiah 
> 
> 
> 
> -- 
> Charitha Kankanamge
> WSO2 inc.
> Flower Road, Colombo 07
> +94 714268070
> 
> A bug in the hand is better than one as yet
> undetected
> 
> 
> 
>
-
> 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]



Re: Is there WS Eventing for Axis2/Java

2007-12-18 Thread samir shaikh
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]



Re: Is there WS Eventing for Axis2/Java

2007-12-18 Thread samir shaikh
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]



[Axis2] SOAP over SIP

2007-12-19 Thread samir shaikh
Hi,

I'm trying to get SIP to be the transport layer for my
Axis2 server. Does anyone know where I can find
examples of that and if that is possible to do.

Thank you.!

Samir


  

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]



Re: [Axis2] SOAP over SIP

2007-12-20 Thread samir shaikh
Paul,

I'll be happy to team up with you on this. If you
could lay out for me what is involved that will be
great. We could have something based off of the
sipservlet specification. Meanwhile, I can also
research the existing transports as part of synapse.

Samir


--- Paul Fremantle <[EMAIL PROTECTED]> wrote:

> Samir
> 
> We do not have a SIP transport for SOAP in Axis2.
> However, if you
> would be willing to help write one we would be very
> happy to help.
> From my knowledge of SIP it would make a good
> transport and has some
> benefits over HTTP. If you want to see how Axis2
> transports are
> written, you might actually start here:
> 
>
http://svn.apache.org/repos/asf/webservices/synapse/trunk/java/modules/transports/src/main/java
> 
> We have written a few new transports for Axis2 under
> the Synapse
> project and there are some base classes to help you.
> 
> Of course there are also the core Axis2 transports:
>
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport
> 
> If you want to collaborate I will certainly help.
> 
> Paul
> 
> On Dec 19, 2007 11:22 PM, samir shaikh
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm trying to get SIP to be the transport layer
> for my
> > Axis2 server. Does anyone know where I can find
> > examples of that and if that is possible to do.
> >
> > Thank you.!
> >
> > Samir
> >
> >
> >  
>

> > 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]
> >
> >
> 
> 
> 
> -- 
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
> 
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
> 
> "Oxygenating the Web Service Platform", www.wso2.com
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

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]



Re: [Axis2] SOAP over SIP

2007-12-21 Thread samir shaikh
Paul,

What do you mean by base SIP function? Do you mean we
need some reference implementation of the sipservlet
specification? can you tell me what it is for http so
then i can understand what we are looking for here.

Samir

--- Paul Fremantle <[EMAIL PROTECTED]> wrote:

> Samir
> 
> The usual first step is to identify a library that
> can be used to
> provide the base SIP function. Also the library
> needs to be compatible
> with Apache Licensing - i.e. it must be Open Source
> and also not GPL
> (but LPGL is ok). Obviously if we can find one under
> the Apache or BSD
> license that is best.
> 
> Paul
> 
> On Dec 21, 2007 12:14 AM, samir shaikh
> <[EMAIL PROTECTED]> wrote:
> > Paul,
> >
> > I'll be happy to team up with you on this. If you
> > could lay out for me what is involved that will be
> > great. We could have something based off of the
> > sipservlet specification. Meanwhile, I can also
> > research the existing transports as part of
> synapse.
> >
> > Samir
> >
> >
> >
> > --- Paul Fremantle <[EMAIL PROTECTED]> wrote:
> >
> > > Samir
> > >
> > > We do not have a SIP transport for SOAP in
> Axis2.
> > > However, if you
> > > would be willing to help write one we would be
> very
> > > happy to help.
> > > From my knowledge of SIP it would make a good
> > > transport and has some
> > > benefits over HTTP. If you want to see how Axis2
> > > transports are
> > > written, you might actually start here:
> > >
> > >
> >
>
http://svn.apache.org/repos/asf/webservices/synapse/trunk/java/modules/transports/src/main/java
> > >
> > > We have written a few new transports for Axis2
> under
> > > the Synapse
> > > project and there are some base classes to help
> you.
> > >
> > > Of course there are also the core Axis2
> transports:
> > >
> >
>
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport
> > >
> > > If you want to collaborate I will certainly
> help.
> > >
> > > Paul
> > >
> > > On Dec 19, 2007 11:22 PM, samir shaikh
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I'm trying to get SIP to be the transport
> layer
> > > for my
> > > > Axis2 server. Does anyone know where I can
> find
> > > > examples of that and if that is possible to
> do.
> > > >
> > > > Thank you.!
> > > >
> > > > Samir
> > > >
> > > >
> > > >
> > >
> >
>

> > > > 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]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Paul Fremantle
> > > Co-Founder and VP of Technical Sales, WSO2
> > > OASIS WS-RX TC Co-chair
> > >
> > > blog: http://pzf.fremantle.org
> > > [EMAIL PROTECTED]
> > >
> > > "Oxygenating the Web Service Platform",
> www.wso2.com
> > >
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >  
>

> > 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]
> >
> >
> 
> 
> 
> -- 
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
> 
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
> 
> "Oxygenating the Web Service Platform", www.wso2.com
> 
>
-
> 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]



Re: Asynchron non blocking causes remaining connections

2007-12-21 Thread samir shaikh
I also ran a load test and the test hung after a
while. The cause could be http connections taken over
on both sides. I see somewhere there is a way to reuse
http connections in Axis, Anyone on the list knows
that?


--- Michael Kopf <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I'm using axis2-1.3.
> 
> If I use asynchron non blocking client with
> seperateListeners there will 
> remain connections open on the server-side after
> calling the web 
> service. And if I recall the web service several
> times I get a 
> connection refused error on the server-side.
> 
> If I use only one Listener by setting
> setSeperateListeners(false) 
> everything works fine, but with big attachments the
> only one connection 
> will be the bottle neck.
> 
> Does anybody have an idea what is wrong with the
> seperate listeners?
> 
> Thanks for help.
> 
> Michael
> 
> 
>
-
> 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]



Re: [Axis2] SOAP over SIP

2008-01-23 Thread samir shaikh
Paul,

Vacation took me away for 3 weeks. I'm back now for
SOAP over SIP..

I think it will be a leg up for axis2 to have support
for the SIP transport independently. SIP messaging is
very close to WS-Eventing in which a SIP INVITE can
yield several messages going back to the client. 

Its all messaging really ;) but we should decide what
approach we should take. Do you want to move to
axis-dev?

Samir


--- Paul Fremantle <[EMAIL PROTECTED]> wrote:

> Samir
> 
> One more thing we should look at. It seems like the
> HTTP code we use
> for non-blocking (HTTPCore) already also has some
> limited support for
> SIP!
> 
> This would mean we would have to code directly to
> that API (i.e. we
> wouldn't use the SIP Servlet model). However, this
> seems to me to have
> two key benefits.
> 
> 1) We could probably start from the NHTTP transport
> and therefore
> re-use a lot of code
> 2) We'd end up with a non-blocking SIP transport
> which is a "good
> thing" (more efficient)
> 
> Also the folks over at HTTPCore are incredibly
> helpful.
> 
> Paul
> 
> 
> On Dec 23, 2007 4:58 AM, Demetris G
> <[EMAIL PROTECTED]> wrote:
> >
> > Likewise Paul - thanks for the pointer.
> >
> >
> > Paul Fremantle wrote:
> > > Good point!
> > >
> > > SIP is basically the standard for doing Voice
> Over Internet Protocol
> > > (VOIP) that is used by systems like Vonage,
> Asterisk, etc to provide
> > > phoning on the internet.
> > >
> > > Merry Christmas and Happy New Year to everyone!
> > >
> > > Paul
> > >
> > > On Dec 22, 2007 8:29 AM, Demetris G
> <[EMAIL PROTECTED]> wrote:
> > >
> > >> Echoing Paul's "I didn't know anything about
> coding SIP in Java" and further
> > >> seeing these terms flying around this list for
> a long time now, wouldn't
> > >> be so
> > >> much nicer for the rest of us who are willing
> to learn, for whoever is
> > >> asking
> > >> a Q out of the list to also spend 3.5 secs to
> write down a definition of the
> > >> term they are requesting help with? I hear
> POJO, MOJO, GOJO, blah blah
> > >> and MTOM and this and that and now SIP ... oh
> sure, everything is just
> > >> a google away but putting it in the context of
> the list educates all of
> > >> us. Just
> > >> a friendly suggestion ...
> > >>
> > >> SIP - away my friends ...
> > >>
> > >>
> > >>
> > >> Paul Fremantle wrote:
> > >>
> > >>> Samir
> > >>>
> > >>> Ok so I didn't know anything about coding SIP
> in Java :)
> > >>>
> > >>> Basically, yes we need a reference impl of the
> SIPServlet spec
> > >>> (assuming that it has a valid license), and we
> also need a client SIP
> > >>> stack too.
> > >>>
> > >>> It seems like this is what we need:
> https://jain-sip.dev.java.net/ tho
> > >>> I can't find out what license that is under.
> > >>>
> > >>> Also I found an interesting alternative to the
> SIP Servlet which is the JIPlet:
> > >>>
> http://www.cafesip.org/projects/jiplet/index.html
> > >>>
> > >>> However, I'm not sure its really worth using
> JIPlet over the SIP
> > >>> servlet. What are your thoughts?
> > >>>
> > >>> Paul
> > >>>
> > >>> PS. In HTTP the equivalent is the servlet plus
> the Commons HTTPClient.
> > >>> However, the newer non-blocking HTTP is based
> on an Apache library
> > >>> called HTTPCore which provides a non-blocking
> IO version of HTTP.
> > >>>
> > >>>
> > >>>
> > >>> On Dec 22, 2007 1:08 AM, samir shaikh
> <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>
> > >>>> Paul,
> > >>>>
> > >>>> What do you mean by base SIP function? Do you
> mean we
> > >>>> need some reference implementation of the
> sipservlet
> > >>>> specification? can you tell me what it is for
> http so
> > >>>> then i can understand what we are looking for
> here.
> > >>>>
> > >>>>
> > >>>> Samir
> > >>>>
> > >>>> --- Paul Fremantle <[EMAIL PRO

Re: Is there WS Eventing for Axis2/Java

2008-02-15 Thread samir shaikh
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  
&

[Axis2] [Savan] Build problems -- woden repository missing

2008-02-15 Thread samir shaikh
Hi,

I'm trying to build savan using mvn package and I get
the error below... please help!!

C:\savan\trunk\java>mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Savan
[INFO]   Savan - Core
[INFO]   Savan - Mar
[INFO]   Savan - Samples
[INFO] snapshot
org.apache.axis2:axis2-parent:SNAPSHOT: checking for
updates fro
m apache-ws-snapshots2
[WARNING] repository metadata for: 'snapshot
org.apache.axis2:axis2-parent:SNAPS
HOT' could not be retrieved from repository:
apache-ws-snapshots2 due to an erro
r: Error transferring file
[INFO] Repository 'apache-ws-snapshots2' will be
blacklisted
[INFO]

[INFO] Building Apache Savan
[INFO]task-segment: [package]
[INFO]

[INFO] [site:attach-descriptor]
[INFO]

[INFO] Building Savan - Core
[INFO]task-segment: [package]
[INFO]

Downloading:
http://ws.zones.apache.org/repository2/org/apache/woden/woden/1.0-i
ncubating-M7b/woden-1.0-incubating-M7b.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/woden/woden/1.0-incubating
-M7b/woden-1.0-incubating-M7b.pom
Downloading:
http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1
.6.2.pom
Downloading:
http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading:
http://ws.zones.apache.org/repository2/org/apache/woden/woden/1.0-i
ncubating-M7b/woden-1.0-incubating-M7b.jar
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/woden/wo
den/1.0-incubating-M7b/woden-1.0-incubating-M7b.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/w
oden/woden/1.0-incubating-M7b/woden-1.0-incubating-M7b.jar
Downloading:
http://repo1.maven.org/eclipse/org/apache/woden/woden/1.0-incubatin
g-M7b/woden-1.0-incubating-M7b.jar
Downloading:
http://jibx.sourceforge.net/maven/org.apache.woden/jars/woden-1.0-i
ncubating-M7b.jar
Downloading:
http://download.java.net/maven/1//org.apache.woden/jars/woden-1.0-i
ncubating-M7b.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/woden/woden/1.0-incubating
-M7b/woden-1.0-incubating-M7b.jar
Downloading:
http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1
.6.2.jar
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository/wsdl4j/wsdl4j/1.6.2
/wsdl4j-1.6.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wsdl4j/wsdl4
j/1.6.2/wsdl4j-1.6.2.jar
Downloading:
http://repo1.maven.org/eclipse/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar

Downloading:
http://jibx.sourceforge.net/maven/wsdl4j/jars/wsdl4j-1.6.2.jar
Downloading:
http://download.java.net/maven/1//wsdl4j/jars/wsdl4j-1.6.2.jar
Downloading:
http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.woden:woden:jar:1.0-incubating-M7b

  Try downloading the file manually from the project
website.

  Then, install it using the command:
  mvn install:install-file
-DgroupId=org.apache.woden -DartifactId=woden -Dv
ersion=1.0-incubating-M7b -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.woden -DartifactId=woden -Dver
sion=1.0-incubating-M7b -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -Drepos
itoryId=[id]

  Path to dependency:
1) org.apache.ws.savan:savan-core:jar:SNAPSHOT
2) org.apache.axis2:axis2-kernel:jar:1.3
3)
org.apache.woden:woden:jar:1.0-incubating-M7b

2) wsdl4j:wsdl4j:jar:1.6.2

  Try downloading the file manually from the project
website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=wsdl4j
-DartifactId=wsdl4j -Dversion=1.
6.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you
can deploy the file there:

  mvn deploy:deploy-file -DgroupId=wsdl4j
-DartifactId=wsdl4j -Dversion=1.6.
2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
1) org.apache.ws.savan:savan-core:jar:SNAPSHOT
2) org.apache.axis2:axis2-kernel:jar:1.3
3) wsdl4j:wsdl4j:jar:1.6.2

--
2 required artifacts are missing.

for artifact:
  org.apache.ws.savan:savan-core:jar:SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache-ws-snapshots2
(http://ws.zones.apache.org/repository2),
  apache-snapshots
(http://people.apache.org/repo/m2-snapshot-repository)


[INFO]

[INFO] For more 

Re: spring with aop problem

2008-02-16 Thread samir shaikh
Upendra,

I'm having the same problem also and have filed a bug
with the Axis team on this.

The way you can get around at the moment is by
declaring a ServiceClass in the services.xml. 

I've not been able to get the proxy-d bean loaded but
the error goes away.

Sorry, not complete solution I know of yet.

Samir

--- Upendra Moturi <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> when i am configuring spring and axis2 with aop iam
> getting the following
> error.
> 
> org.apache.axis2.deployment.DeploymentException: The
> following error
> occurred during schema generation: Unable to load
> bytecode for class $Proxy0
> at
>
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
> ServiceGroupBuilder.java:106)
> at
>
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
> ArchiveReader.java:103)
> at
>
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
> (ArchiveReader.java:172)
> at
> org.apache.axis2.deployment.ServiceDeployer.deploy(
> ServiceDeployer.java:78)
> at
>
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy
> (DeploymentFileData.java:137)
> at
>
org.apache.axis2.deployment.DeploymentEngine.doDeploy(
> DeploymentEngine.java:571)
> at
>
org.apache.axis2.deployment.repository.util.WSInfoList.update(
> WSInfoList.java:141)
> at
>
org.apache.axis2.deployment.RepositoryListener.update(
> RepositoryListener.java:318)
> at
>
org.apache.axis2.deployment.RepositoryListener.checkServices(
> RepositoryListener.java:220)
> at
>
org.apache.axis2.deployment.DeploymentEngine.loadServices(
> DeploymentEngine.java:118)
> at
>
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
> WarBasedAxisConfigurator.java:272)
> at
>
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> (ConfigurationContextFactory.java:78)
> at
>
org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:500)
> at
>
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
> :420)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1091)
> at
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
> :925)
> at
>
org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:3857)
> at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4118)
> at
>
org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
> at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> at
>
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at
>
org.apache.catalina.startup.HostConfig.deployDirectory(
> HostConfig.java:894)
> at
>
org.apache.catalina.startup.HostConfig.deployDirectories(
> HostConfig.java:857)
> at
>
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :475)
> at
>
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
> at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :311)
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
> at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> at
>
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
>
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> at
>
org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
> at
>
org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> at
>
org.apache.catalina.core.StandardServer.start(StandardServer.java
> :683)
> at
>
org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> 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.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> at
>
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> 
> 
> I am able to run the application without aop defined
> in
> applicationcontext.xml
> 
> Please say me what i am missing
> 
> Thanks in advance
> 
> 
> Thanks and regards,
> Upendra
> 



  

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]



Re: Is there WS Eventing for Axis2/Java

2008-02-18 Thread samir shaikh
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
> >>>>>>>
> >>>>&g

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

2008-02-18 Thread samir shaikh
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:
> > >>>>>>
> > >>>

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

2008-02-18 Thread samir shaikh
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]



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

2008-02-18 Thread samir shaikh
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]



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

2008-02-20 Thread samir shaikh
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
> >>>>>

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

2008-02-20 Thread samir shaikh
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:
> >>>>>

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

2008-02-22 Thread samir shaikh
Hi Leon,

I was able to get around to the service not executing
the function by defining a simple servlet as the event
listeners vs. using the listener service in the sample
code.

I see a SOAP message as an event, do you of a way to
tweek this to get a simple xml.

What advantage did you get by moving from AXIOM to
ADB.

Samir

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

> 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
> >>>>>  

Re: [Axis2] Moving Axis2 code base into JDK 1.5

2008-02-28 Thread samir shaikh
+1 for Axis2 to java 1.5


--- Andreas Veithen <[EMAIL PROTECTED]> wrote:

> 
> On 27 Feb 2008, at 05:15, Deepal Jayasinghe wrote:
> 
> > So if we move to JDK 1.5 we can get better support
> , and I do not  
> > think any advantage of staying in 1.4 . If some
> user want to use  
> > Axis2 in JDK 1.4 they can happily use Axis2 1.3 ,
> which is very  
> > stable version and working fine in 1.4 and 1.5.
> >
> > If any user or developers have any concern on
> moving to JDK 1.5  
> > please come forward and reply to this mail that
> will be very helpful  
> > for all of us.
> 
> Deepal,
> 
> Moving to Java 1.5 doesn't necessarily mean to
> abandon support for  
> Java 1.4. I am currently working on a project for a
> company that still  
> uses Java 1.4 (and I think there are lots of them).
> We needed a  
> library to generate MS Project files, but the only
> one we could find  
> was from an Open Source project that migrated to
> Java 1.5 a few  
> releases ago. The code in this library makes use of
> generics and has a  
> dependency on JAXB 2. What we did was to use
> retrotranslator
> (http://retrotranslator.sourceforge.net/ 
> ) to translate the library as well as its
> dependencies (including JAXB  
> 2) back to Java 1.4. The tool operates at bytecode
> level and supports  
> all Java 5 constructs (generics, enums, annotations,
> etc.). It also  
> emulates the most important parts of the Java API.
> We were able to use  
> the library to generate MS Project XML files on a
> Java 1.4 VM without  
> any problems, meaning that retrotranslator
> successfully backported the  
> JAXB 2 RI to Java 1.4! There is also a plugin
> (retrotranslator-maven- 
> plugin) that allows to generate Java 1.4 artifacts
> during Maven  
> builds. Maybe this could be an option for Axis2?
> 
> Regards,
> 
> Andreas
> 
> 
> 
> 
>
-
> 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]



[Axis2] Reference to AxisServlet

2008-03-25 Thread samir shaikh
Hi,

I'm building an Axis2 service that recieves calls from
difference calls. I notice that the following function
gets called by Axis engine to initialize the service.

public void init(ServiceContext)

I defined that function. Now I need to get a reference
to the AxisServlet so that I can extract the session
information and the authenticated principal. 

Any idea how I can get that from within the service
class?

Thanks,
Samir


  

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]



Re: Generating Stubs

2008-03-27 Thread samir shaikh
you might want to paste the complete wsdl.


--- O Aiken <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> When generating stubs with Axis2 1.3  -- some of the
> class files are  
> generated twice, once with a number appended.
> 
> ie. this wsdl snippit :
> 
> ==
> 
>   name="loginRequest"/>
>  
> ==
> 
> will result in 2 classes :
> 
> LoginRequest.java
> LoginRequest15.java
> 
> 
> Does anybody know why ?
> 
> thank you & regards,
> 
> -O Aiken
> 
>
-
> 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]