You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by Paul Fremantle <pz...@gmail.com> on 2007/05/22 11:54:09 UTC
[Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Based on a post I made on axis-user, I've posted a blog entry on how
to do your first WS-ReliableMessaging interaction with Axis2 and RM.
Let me know if I can improve it.
http://pzf.fremantle.org/2007/05/getting-started-with-wsrm-and-axis2.html
Paul
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org
Re: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Posted by Paul Fremantle <pz...@gmail.com>.
Ted
Firstly, I forgot, this code won't work with 1.1.1 without changing to
a callback.1.1.1 only supports async RM not the replay model.
Secondly, I'm also having problems getting 1.1.1 and 1.1 to work :-(
I thought I had got this working before. My apologies for misleading you!
I will look into this, but maybe its worth biting the bullet and trying 1.2.
Paul
On 5/22/07, Ted Jones <Tj...@metamatrix.com> wrote:
> Hi Paul. I tried the example with Axis2 1.1.1 and Sandesha2 1.1 and
> received the following error:
>
> org.apache.axis2.AxisFault: Incoming message input stream is null
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
> ls.java:64)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
> ation.java:252)
> at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
> peration.java:202)
> at
> sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
> at sample.axisversion.TestRM.main(TestRM.java:47)
>
> This was the same error I ran into with my previous attempt. I then
> changed my code to use a callback with a separate listener per an email
> thread I came across. That prevented my service from being executed and
> the onComplete() of the callback was never executing. The files I posted
> reproduce this issue.
>
> I tried the same change with the example (added a callback and separate
> listener) and saw the same behavior. The web service is never executed
> and consequently neither is the callback's onComplete() method.
>
> Is it possible the separate listener is not working for Axis2 1.1.1
> either? Do I need to bite the bullet and upgrade to Axis2 1.2 is I want
> to use WS-RM?
>
> Thanks very much for your help!
>
> Ted
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Tuesday, May 22, 2007 7:27 AM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] Getting started with Axis2 and Sandesha2 to do
> WS-ReliableMessaging
>
> Ted
>
> Should work fine, as long as you use Sandesha2 1.1 with Axis2 1.1.1.
> Let me know if it doesn't and I'll fix it :-)
>
> Paul
>
> On 5/22/07, Ted Jones <Tj...@metamatrix.com> wrote:
> >
> > Very nice Paul. Nice job. Just curious, will this work with Axis2
> 1.1.1? I'm not sure that I have time to upgrade to Axis2 1.2 given that
> I've seen several posts stating things have broken moving from 1.1.1 to
> 1.2 and time is running out on my project.
> >
> > Thanks again for the great example.
> >
> > Ted
> >
> > -----Original Message-----
> > From: Paul Fremantle [mailto:pzfreo@gmail.com]
> > Sent: Tue 5/22/2007 4:54 AM
> > To: axis-user@ws.apache.org; axis-dev@ws.apache.org;
> > sandesha-dev@ws.apache.org
> > Subject: [Axis2] Getting started with Axis2 and Sandesha2 to do
> > WS-ReliableMessaging
> >
> > Based on a post I made on axis-user, I've posted a blog entry on how
> > to do your first WS-ReliableMessaging interaction with Axis2 and RM.
> > Let me know if I can improve it.
> >
> > http://pzf.fremantle.org/2007/05/getting-started-with-wsrm-and-axis2.h
> > tml
> >
> > Paul
> > --
> > Paul Fremantle
> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >
> >
> > paul@wso2.com
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: Miscellaneous comments
Posted by Furash Gary <fu...@mcao.maricopa.gov>.
Thanks.
-----Original Message-----
From: Stefan Magnus Landrø [mailto:stefan.landro@gmail.com]
Sent: Tuesday, May 22, 2007 7:36 AM
To: axis-user@ws.apache.org
Subject: Re: Miscellaneous comments
Have a look here:
http://wiki.apache.org/ws/FrontPage/Axis2
2007/5/22, Furash Gary <fu...@mcao.maricopa.gov>:
> 1. AXIS and XMLBEANS are capable of handling those weird .NET SOAP
> datasets! Whooo!
>
> 2. Is there an AXIS wiki? With groovy, there's a wiki where users can
> take stuff from the list and work it into documentation.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: XSB files?
Posted by Furash Gary <fu...@mcao.maricopa.gov>.
Yea, I let the scomp tool make the jars and it worked fine. Very nice -
like spring it kind of hides the complexity from you.
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, May 22, 2007 10:12 AM
To: axis-user@ws.apache.org
Subject: Re: XSB files?
Yes, that's exactly where they need to be. There is a brief mention in
the doc.
http://ws.apache.org/axis2/1_2/migration.html
-- dims
On 5/22/07, Furash Gary <fu...@mcao.maricopa.gov> wrote:
> I'm just curious. It was unclear from the documentation about where
> they needed to be. It SEEMS like if they're in a jar file that you've
> put in the classpath it works okay.
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Tuesday, May 22, 2007 9:58 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSB files?
>
> those are generated by the xmlbeans codegenerator and used by xmlbeans
> runtime.
>
> -- dims
>
> On 5/22/07, Rich Adili <Ri...@xata.com> wrote:
> > I'm experimenting with Axis2 1.1.1 XML binding. It generates a
> > passel of files with an XSB extension. What is the purpose of this
file?
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: XSB files?
Posted by Davanum Srinivas <da...@gmail.com>.
Yes, that's exactly where they need to be. There is a brief mention in the doc.
http://ws.apache.org/axis2/1_2/migration.html
-- dims
On 5/22/07, Furash Gary <fu...@mcao.maricopa.gov> wrote:
> I'm just curious. It was unclear from the documentation about where
> they needed to be. It SEEMS like if they're in a jar file that you've
> put in the classpath it works okay.
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Tuesday, May 22, 2007 9:58 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSB files?
>
> those are generated by the xmlbeans codegenerator and used by xmlbeans
> runtime.
>
> -- dims
>
> On 5/22/07, Rich Adili <Ri...@xata.com> wrote:
> > I'm experimenting with Axis2 1.1.1 XML binding. It generates a passel
> > of files with an XSB extension. What is the purpose of this file?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: XSB files?
Posted by Furash Gary <fu...@mcao.maricopa.gov>.
I'm just curious. It was unclear from the documentation about where
they needed to be. It SEEMS like if they're in a jar file that you've
put in the classpath it works okay.
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Tuesday, May 22, 2007 9:58 AM
To: axis-user@ws.apache.org
Subject: Re: XSB files?
those are generated by the xmlbeans codegenerator and used by xmlbeans
runtime.
-- dims
On 5/22/07, Rich Adili <Ri...@xata.com> wrote:
> I'm experimenting with Axis2 1.1.1 XML binding. It generates a passel
> of files with an XSB extension. What is the purpose of this file?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: XSB files?
Posted by Davanum Srinivas <da...@gmail.com>.
those are generated by the xmlbeans codegenerator and used by xmlbeans runtime.
-- dims
On 5/22/07, Rich Adili <Ri...@xata.com> wrote:
> I'm experimenting with Axis2 1.1.1 XML binding. It generates a passel of
> files with an XSB extension. What is the purpose of this file?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
XSB files?
Posted by Rich Adili <Ri...@xata.com>.
I'm experimenting with Axis2 1.1.1 XML binding. It generates a passel of
files with an XSB extension. What is the purpose of this file?
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Miscellaneous comments
Posted by Stefan Magnus Landrø <st...@gmail.com>.
Have a look here:
http://wiki.apache.org/ws/FrontPage/Axis2
2007/5/22, Furash Gary <fu...@mcao.maricopa.gov>:
> 1. AXIS and XMLBEANS are capable of handling those weird .NET SOAP
> datasets! Whooo!
>
> 2. Is there an AXIS wiki? With groovy, there's a wiki where users can
> take stuff from the list and work it into documentation.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Miscellaneous comments
Posted by Furash Gary <fu...@mcao.maricopa.gov>.
1. AXIS and XMLBEANS are capable of handling those weird .NET SOAP
datasets! Whooo!
2. Is there an AXIS wiki? With groovy, there's a wiki where users can
take stuff from the list and work it into documentation.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Posted by Ted Jones <Tj...@metamatrix.com>.
Hi Paul. I tried the example with Axis2 1.1.1 and Sandesha2 1.1 and
received the following error:
org.apache.axis2.AxisFault: Incoming message input stream is null
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:64)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:252)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)
at
sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
at sample.axisversion.TestRM.main(TestRM.java:47)
This was the same error I ran into with my previous attempt. I then
changed my code to use a callback with a separate listener per an email
thread I came across. That prevented my service from being executed and
the onComplete() of the callback was never executing. The files I posted
reproduce this issue.
I tried the same change with the example (added a callback and separate
listener) and saw the same behavior. The web service is never executed
and consequently neither is the callback's onComplete() method.
Is it possible the separate listener is not working for Axis2 1.1.1
either? Do I need to bite the bullet and upgrade to Axis2 1.2 is I want
to use WS-RM?
Thanks very much for your help!
Ted
-----Original Message-----
From: Paul Fremantle [mailto:pzfreo@gmail.com]
Sent: Tuesday, May 22, 2007 7:27 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Getting started with Axis2 and Sandesha2 to do
WS-ReliableMessaging
Ted
Should work fine, as long as you use Sandesha2 1.1 with Axis2 1.1.1.
Let me know if it doesn't and I'll fix it :-)
Paul
On 5/22/07, Ted Jones <Tj...@metamatrix.com> wrote:
>
> Very nice Paul. Nice job. Just curious, will this work with Axis2
1.1.1? I'm not sure that I have time to upgrade to Axis2 1.2 given that
I've seen several posts stating things have broken moving from 1.1.1 to
1.2 and time is running out on my project.
>
> Thanks again for the great example.
>
> Ted
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Tue 5/22/2007 4:54 AM
> To: axis-user@ws.apache.org; axis-dev@ws.apache.org;
> sandesha-dev@ws.apache.org
> Subject: [Axis2] Getting started with Axis2 and Sandesha2 to do
> WS-ReliableMessaging
>
> Based on a post I made on axis-user, I've posted a blog entry on how
> to do your first WS-ReliableMessaging interaction with Axis2 and RM.
> Let me know if I can improve it.
>
> http://pzf.fremantle.org/2007/05/getting-started-with-wsrm-and-axis2.h
> tml
>
> Paul
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
>
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Posted by Paul Fremantle <pz...@gmail.com>.
Ted
Should work fine, as long as you use Sandesha2 1.1 with Axis2 1.1.1.
Let me know if it doesn't and I'll fix it :-)
Paul
On 5/22/07, Ted Jones <Tj...@metamatrix.com> wrote:
>
> Very nice Paul. Nice job. Just curious, will this work with Axis2 1.1.1? I'm not sure that I have time to upgrade to Axis2 1.2 given that I've seen several posts stating things have broken moving from 1.1.1 to 1.2 and time is running out on my project.
>
> Thanks again for the great example.
>
> Ted
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Tue 5/22/2007 4:54 AM
> To: axis-user@ws.apache.org; axis-dev@ws.apache.org; sandesha-dev@ws.apache.org
> Subject: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
>
> Based on a post I made on axis-user, I've posted a blog entry on how
> to do your first WS-ReliableMessaging interaction with Axis2 and RM.
> Let me know if I can improve it.
>
> http://pzf.fremantle.org/2007/05/getting-started-with-wsrm-and-axis2.html
>
> Paul
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
>
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
[Axis 1.2] parameters values are misplaced
Posted by Ce...@linedata.com.
Hi,
I have some strange thing happening with my tests.
When I run the server in debug mode, I type in the test window in Eclipse:
http://localhost:9000/noeews/services/CRMS7_SOAP_IDENTIFICATION?method=recupererInfos&login=log_E&motDePasse=mdp_E&codeTccp=0-111
and I get what I expect.
But when I type this URL in Internet explorer, I see in the debug mode
that the values of parameters are completely mixed :
login=mdp_E
&motDePasse=0-111
&codeTccp=log_E
do you have any idea about what might cause that ? thanks
RE: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Posted by Ted Jones <Tj...@metamatrix.com>.
Very nice Paul. Nice job. Just curious, will this work with Axis2 1.1.1? I'm not sure that I have time to upgrade to Axis2 1.2 given that I've seen several posts stating things have broken moving from 1.1.1 to 1.2 and time is running out on my project.
Thanks again for the great example.
Ted
-----Original Message-----
From: Paul Fremantle [mailto:pzfreo@gmail.com]
Sent: Tue 5/22/2007 4:54 AM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org; sandesha-dev@ws.apache.org
Subject: [Axis2] Getting started with Axis2 and Sandesha2 to do WS-ReliableMessaging
Based on a post I made on axis-user, I've posted a blog entry on how
to do your first WS-ReliableMessaging interaction with Axis2 and RM.
Let me know if I can improve it.
http://pzf.fremantle.org/2007/05/getting-started-with-wsrm-and-axis2.html
Paul
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org