Re: [Axis2] JMS tutorial? [signed]

2006-02-11 Thread robert lazarski
Michael, could
you post your stackTrace when calling the axisServlet? I don't often
work directly with the servlet. If its not obvious from the stackTrace,
it may help explaining when and why your calling it. 

BTW, you have looked at the user guide doing async operations via
CallbackHandler, right? That may just be 'good enough' , depending on
what you need. 

Robert 
http://www.braziloutsource.com/
On 2/10/06, Michael Laccetti [c] <[EMAIL PROTECTED]> wrote:
> I run axis2 in a few web applications - hibernate, struts,> spring etc. Its just a matter of having the modules and> services directory, along with axis2.xml, under your apps> WEB-INF. You'll also need to add the relevant parts from the
> axis2.war web.xml into your apps web.xml .  If you want to> use the axis2 jsp's - like listServices - you need those> jsp's at the root of your apps war.I have tried that, but when I try to access the Axis2 servlet I get a null
pointer - specifically about a string index out of bounds [-1].  I canprovide the full exception if it will help.>> This is something that could be documented - lets see what we> can come up with. In the mean time, feel free to ask.
>> The JMS transport is something I haven't tried yet - but> would like to. I mostly use JMS as OpenJMS in tomcat, or with> JBoss. In the meantime, if someone has the JMS transport> working in a app and would like to document it
> - file a jira and if its good it will probably be accepted.I'm trying to build both synchronous and asynchronous services, hence theneed for JMS.  I'm using ActiveMQ with Geronimo, and that part has been
validated to work.  I guess the most important question is to that ofconfiguration - do I need to hardcode it in axis2.xml, can it be done inanother configuration file, or programmatically?Mike
--- [ SECURITY NOTICE ] -To: axis-user@ws.apache.org.For your security, [EMAIL PROTECTED]
digitally signed this message on 11 February 2006 at 01:25:03 UTC.Verify this digital signature at http://www.ciphire.com/verify. [ CIPHIRE DIGITAL SIGNATURE ] 
Q2lwaGlyZSBTaWcuAjhheGlzLXVzZXJAd3MuYXBhY2hlLm9yZwBtaWNoYWVsQHMyZy1saW1pdGVkLmNvbQBlbWFpbCBib2R5ADoEAAB8AHwB7zztQzoEAAAWAwACAAIAAgAghdiaB1RL1GJ5P/MlSIrm9xUfngywhKly/Ob9WJCPAegBAJNtVYWaZKKcHYtuC7hZmjSFW3h/Fm4Z8P/F+IkY81kzf7ywtK7BuEBzn9V+Fji2HGAnVt8x
HiALSTiO37fPvbVVU2lnRW5k-- [ END DIGITAL SIGNATURE ] --


RE: [Axis2] JMS tutorial? [signed]

2006-02-10 Thread Michael Laccetti [c]
> I run axis2 in a few web applications - hibernate, struts, 
> spring etc. Its just a matter of having the modules and 
> services directory, along with axis2.xml, under your apps 
> WEB-INF. You'll also need to add the relevant parts from the 
> axis2.war web.xml into your apps web.xml .  If you want to 
> use the axis2 jsp's - like listServices - you need those 
> jsp's at the root of your apps war. 

I have tried that, but when I try to access the Axis2 servlet I get a null
pointer - specifically about a string index out of bounds [-1].  I can
provide the full exception if it will help.

> 
> This is something that could be documented - lets see what we 
> can come up with. In the mean time, feel free to ask. 
> 
> The JMS transport is something I haven't tried yet - but 
> would like to. I mostly use JMS as OpenJMS in tomcat, or with 
> JBoss. In the meantime, if someone has the JMS transport 
> working in a app and would like to document it
> - file a jira and if its good it will probably be accepted. 

I'm trying to build both synchronous and asynchronous services, hence the
need for JMS.  I'm using ActiveMQ with Geronimo, and that part has been
validated to work.  I guess the most important question is to that of
configuration - do I need to hardcode it in axis2.xml, can it be done in
another configuration file, or programmatically?

Mike



-- 
- [ SECURITY NOTICE ] -
To: [EMAIL PROTECTED]
For your security, [EMAIL PROTECTED]
digitally signed this message on 11 February 2006 at 01:25:03 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
 [ CIPHIRE DIGITAL SIGNATURE ] 
Q2lwaGlyZSBTaWcuAjhheGlzLXVzZXJAd3MuYXBhY2hlLm9yZwBtaWNoYWVsQHMy
Zy1saW1pdGVkLmNvbQBlbWFpbCBib2R5ADoEAAB8AHwB7zztQzoEAAAW
AwACAAIAAgAghdiaB1RL1GJ5P/MlSIrm9xUfngywhKly/Ob9WJCPAegBAJNtVYWa
ZKKcHYtuC7hZmjSFW3h/Fm4Z8P/F+IkY81kzf7ywtK7BuEBzn9V+Fji2HGAnVt8x
HiALSTiO37fPvbVVU2lnRW5k
-- [ END DIGITAL SIGNATURE ] --




RE: [Axis2] JMS tutorial? [signed]

2006-02-10 Thread Michael Laccetti [c]
> Hi Michael,
> 
> Nice to hear that. But we have lot more to come and 
> stabilize, so I don't think this is the perfect time for 
> someone to come in to conclusion abt Axis2. We are getting 
> more and more better, with the valuable comments and 
> feedbacks from the users here.
> 
> -- Chinthaka

Well, I would have used Axis, given its more mature nature, but I have had
some serious difficulties in deploying it/using it with Geronimo.  Besides,
I'm up for getting a jump on technology.  :)

Mike



-- 
- [ SECURITY NOTICE ] -
To: [EMAIL PROTECTED]
For your security, [EMAIL PROTECTED]
digitally signed this message on 11 February 2006 at 01:20:58 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
 [ CIPHIRE DIGITAL SIGNATURE ] 
Q2lwaGlyZSBTaWcuAjhheGlzLXVzZXJAd3MuYXBhY2hlLm9yZwBtaWNoYWVsQHMy
Zy1saW1pdGVkLmNvbQBlbWFpbCBib2R5AI4BAAB8AHwB+jvtQ44BAABx
AwACAAIAAgAghdiaB1RL1GJ5P/MlSIrm9xUfngywhKly/Ob9WJCPAegBAJNtVYWa
ZKKcHYtuC7hZmjSFW3h/Fm4Z8P/F+IkY81kzVrLoLJhTGgdm+pMoGIDIBWaL+/lf
ow8o2ZumCceaiSvzU2lnRW5k
-- [ END DIGITAL SIGNATURE ] --




Re: [Axis2] JMS tutorial?

2006-02-10 Thread robert
> I do accept that we lag in documentations, coz we are concentrating more
> and more on improving Axis2. Iksrazal (ohh, sorry Lazarski ;-) ) and
> Chatra and helping with us to improve our documentations these days.
>

I run axis2 in a few web applications - hibernate, struts, spring etc. Its 
just a matter of having the modules and services directory, along with 
axis2.xml, under your apps WEB-INF. You'll also need to add the relevant 
parts from the axis2.war web.xml into your apps web.xml .  If you want to use 
the axis2 jsp's - like listServices - you need those jsp's at the root of 
your apps war. 

This is something that could be documented - lets see what we can come up 
with. In the mean time, feel free to ask. 

The JMS transport is something I haven't tried yet - but would like to. I 
mostly use JMS as OpenJMS in tomcat, or with JBoss. In the meantime, if 
someone has the JMS transport working in a app and would like to document it 
- file a jira and if its good it will probably be accepted. 

HTH,
robert
http://www.braziloutsource.com/

Em Sexta 10 Fevereiro 2006 03:16, o Eran Chinthaka escreveu:
> Hi Michael,
>
> Michael Laccetti wrote:
> >On another note, is there any documentation on how to integrate Axis2 with
> >an existing web application?
>
> If you want to integrate Axis2, look in to the implementation in
> AxisServlet.doPost.
>
> I do accept that we lag in documentations, coz we are concentrating more
> and more on improving Axis2. Iksrazal (ohh, sorry Lazarski ;-) ) and
> Chatra and helping with us to improve our documentations these days.
>
> But if you have problems, you are always welcome to ask them here.
>
> -- Chinthaka
>
> >Thanks,
> >
> >Michael
> >
> >-Original Message-
> >From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> >Sent: February 9, 2006 11:04 PM
> >To: axis-user@ws.apache.org
> >Subject: Re: [Axis2] JMS tutorial?
> >
> >See
> >http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/int
> >eg ration/test/org/apache/axis2/jms/
> >it has a unit test that starts the jms listener and runs a test.
> >activemq has to be started, you need to tweak entries in axis2.xml as
> >well.
> >
> >thanks,
> >dims
> >
> >On 2/9/06, Michael Laccetti <[EMAIL PROTECTED]> wrote:
> >>I've been doing some research into the best WS framework/implementation,
> >
> >and
> >
> >>Axis2 comes up as a winner.  Originally I chose Axis, but it didn't play
> >
> >too
> >
> >>nicely with Geronimo.  Now, the real question:  is there any
> >> documentation on using the JMS transport?  I've seen the SMTP one, which
> >> is well done,
> >
> >but
> >
> >>doesn't quite work for me.  I know that there is a global configuration
> >
> >for
> >
> >>the transport in the axis2.xml file; can it be configured elsewhere?  Or
> >
> >can
> >
> >>the configuration be done programmatically as well?
> >>
> >>
> >>
> >>Thanks,
> >>
> >>
> >>
> >>Michael
> >
> >--
> >Davanum Srinivas : http://wso2.com/blogs/

-- 


Re: [Axis2] JMS tutorial?

2006-02-09 Thread Eran Chinthaka




Hi Michael,



Michael Laccetti wrote:

  On another note, is there any documentation on how to integrate Axis2 with
an existing web application?

  


If you want to integrate Axis2, look in to the implementation in
AxisServlet.doPost. 

I do accept that we lag in documentations, coz we are concentrating
more and more on improving Axis2. Iksrazal (ohh, sorry Lazarski ;-) ) and Chatra and
helping with us to improve our documentations these days.

But if you have problems, you are always welcome to ask them here.

-- Chinthaka


  Thanks,

Michael

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] 
Sent: February 9, 2006 11:04 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] JMS tutorial?

See
http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/integ
ration/test/org/apache/axis2/jms/
it has a unit test that starts the jms listener and runs a test.
activemq has to be started, you need to tweak entries in axis2.xml as
well.

thanks,
dims

On 2/9/06, Michael Laccetti <[EMAIL PROTECTED]> wrote:
  
  


I've been doing some research into the best WS framework/implementation,

  
  and
  
  
Axis2 comes up as a winner.  Originally I chose Axis, but it didn't play

  
  too
  
  
nicely with Geronimo.  Now, the real question:  is there any documentation
on using the JMS transport?  I've seen the SMTP one, which is well done,

  
  but
  
  
doesn't quite work for me.  I know that there is a global configuration

  
  for
  
  
the transport in the axis2.xml file; can it be configured elsewhere?  Or

  
  can
  
  
the configuration be done programmatically as well?



Thanks,



Michael

  
  

--
Davanum Srinivas : http://wso2.com/blogs/




  





signature.asc
Description: OpenPGP digital signature


Re: [Axis2] JMS tutorial?

2006-02-09 Thread Eran Chinthaka
Hi Michael,

Michael Laccetti wrote:

>I've been doing some research into the best WS framework/implementation, and
>Axis2 comes up as a winner.  
>
Nice to hear that. But we have lot more to come and stabilize, so I
don't think this is the perfect time for someone to come in to
conclusion abt Axis2. We are getting more and more better, with the
valuable comments and feedbacks from the users here.

-- Chinthaka



signature.asc
Description: OpenPGP digital signature


RE: [Axis2] JMS tutorial?

2006-02-09 Thread Michael Laccetti
Is top-posting a no-no on this list?

So there is no way (yet?) to configure the transport outside of the
axis2.xml file?  The ActiveMQ stuff is not a problem, since I've already got
it configured in Geronimo.  I've looked at the test, I'll see about
integrating the code into a sample.

On another note, is there any documentation on how to integrate Axis2 with
an existing web application?

Thanks,

Michael

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: February 9, 2006 11:04 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] JMS tutorial?

See
http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/integ
ration/test/org/apache/axis2/jms/
it has a unit test that starts the jms listener and runs a test.
activemq has to be started, you need to tweak entries in axis2.xml as
well.

thanks,
dims

On 2/9/06, Michael Laccetti <[EMAIL PROTECTED]> wrote:
>
>
>
> I've been doing some research into the best WS framework/implementation,
and
> Axis2 comes up as a winner.  Originally I chose Axis, but it didn't play
too
> nicely with Geronimo.  Now, the real question:  is there any documentation
> on using the JMS transport?  I've seen the SMTP one, which is well done,
but
> doesn't quite work for me.  I know that there is a global configuration
for
> the transport in the axis2.xml file; can it be configured elsewhere?  Or
can
> the configuration be done programmatically as well?
>
>
>
> Thanks,
>
>
>
> Michael


--
Davanum Srinivas : http://wso2.com/blogs/





Re: [Axis2] JMS tutorial?

2006-02-09 Thread Davanum Srinivas
See 
http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/
it has a unit test that starts the jms listener and runs a test.
activemq has to be started, you need to tweak entries in axis2.xml as
well.

thanks,
dims

On 2/9/06, Michael Laccetti <[EMAIL PROTECTED]> wrote:
>
>
>
> I've been doing some research into the best WS framework/implementation, and
> Axis2 comes up as a winner.  Originally I chose Axis, but it didn't play too
> nicely with Geronimo.  Now, the real question:  is there any documentation
> on using the JMS transport?  I've seen the SMTP one, which is well done, but
> doesn't quite work for me.  I know that there is a global configuration for
> the transport in the axis2.xml file; can it be configured elsewhere?  Or can
> the configuration be done programmatically as well?
>
>
>
> Thanks,
>
>
>
> Michael


--
Davanum Srinivas : http://wso2.com/blogs/


[Axis2] JMS tutorial?

2006-02-09 Thread Michael Laccetti








I’ve been doing some research into the best WS
framework/implementation, and Axis2 comes up as a winner.  Originally I chose
Axis, but it didn’t play too nicely with Geronimo.  Now, the real
question:  is there any documentation on using the JMS transport?  I’ve
seen the SMTP one, which is well done, but doesn’t quite work for me.  I
know that there is a global configuration for the transport in the axis2.xml
file; can it be configured elsewhere?  Or can the configuration be done programmatically
as well?

 

Thanks,

 

Michael