I'm not sure why you would want to make the whole thing that
complicated.
I seem to have no problem getting the producer/consumer example to work
with these simple steps.

1) Download the nightly build (with the latest bug fixes) from
http://ws.apache.org/muse/nightly/latest/bin/

2) Run update-install

3) Double-check the WsResourcePort in the WsResource.wsdl (wsn-producer)
and the WsnTestClient portType properties (producer_port &
consumer_port) are pointing to the right serviceport (according to your
Tomcat specs).

4) Use the ant build file to build both project-wars

5) Deploy and enjoy

But that said did you have a look in the wsn-consumer WsnTestClient.java
and the wsn-producer WsREsource.wsdl to see if the portTypes match your
Tomcat setup? To me it sounds like it's looking for a consumer that's
not listening on the given port. I could be wrong.

I know the portTypes have been a cause of some of my problems in the
past.

/Lenni

-----Original Message-----
From: Rosberg Mattias [mailto:[EMAIL PROTECTED] 
Sent: 05 February 2007 12:59
To: [email protected]
Subject: RE: wsn-producer/consumer example

If you follow the instructions for "Eclipse Development" described here 

http://ws.apache.org/muse/source-code.html

you get a separate project in Eclipse for every muse jar-file. You can
then export each project as a jar-file and replace the ones found in
your MUSE_HOME/modules subdirectories. This way you get the latest
bugfixes and updates.

-----Original Message-----
From: Callner, David A. [mailto:[EMAIL PROTECTED]
Sent: Mon 2/5/2007 1:45 PM
To: [email protected]
Subject: RE: wsn-producer/consumer example
 
You seemed to get farther than I did with the example.  I been able to
find on the internet that you need to add (#2) below, but your #3.
Created new snapshot from SVN.  Could you explain? 

-----Original Message-----
From: Rosberg Mattias [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 2:40 AM
To: [email protected]
Subject: wsn-producer/consumer example

I have tried to get the wsn-producer/consumer sample to work without
success. I have done the following:

1. Downloaded 2.1.0 distribution and ran update_install.

2. Added row <resource-type use-router-persistence="true"> in
wsn-consumer muse.xml

3. Created new muse.xxx-snapshot-2.2.0.jars from SVN. Replaced old
(2.1.0) jars in modules folders with snapshot 2.2.0 jars.

4. Rebuild wars for wsn-consumer and wsn-producer.

5. Deploy wars on Tomcat without any error messages. Run WsnTestClient 

I still get the following error:

INFO: [ID = 'LastPublishFailed'] The last notification published via
wsnt:Notify
 failed to reach its destination. The consumer may be unavailable. The
original
error was: null
2007-feb-05 08:17:37 org.apache.ws.muse.test.wsrf.MyCapabilityImpl$1
run
INFO: Waiting 10 seconds before sending message...

Any ideas?

/Mattias


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

Reply via email to