Hi William, thanks for your previous reply.
Now I get the Client working. The problem I had before was with the xmlbeans*.jar.
 
Now... I got another problem.
When I run the WsdmExplorer class, the "get" and "set" works fine, but the "Listen" is not working as I think it should.
 
My Listen is to:
"http://localhost:8080/muse/filesystem.xml", "listen", "{http://ws.apache.org/resource/example/filesystem}Comment"

The output in the console is this:

Oct 20, 2005 3:10:51 PM org.apache.ws.client.muse.client.impl.notification.NotificationConsumerImpl listenerServiceLoop

INFO: Listener Going into accepting state

Now listening on http://notebook:8089 to Topic {http://ws.apache.org/resource/example/filesystem}Comment

Hit any key to destroy your subscription.

Until then all notifications received will be written here.

 
---  Here I do a set (using ant in the prompt command) and the output in the console is ---:

Oct 20, 2005 3:13:58 PM org.apache.ws.client.muse.client.impl.notification.NotificationConsumerImpl listenerServiceLoop

INFO: This notification socket has been closed.

Oct 20, 2005 3:13:58 PM org.apache.ws.client.muse.client.impl.notification.NotificationConsumerImpl workerServiceLoop

INFO: Processing received notification.

Oct 20, 2005 3:13:58 PM org.apache.ws.client.muse.client.impl.notification.NotificationConsumerImpl listenerServiceLoop

INFO: Notification Listening restarting.

Oct 20, 2005 3:13:58 PM org.apache.ws.client.muse.client.impl.notification.NotificationConsumerImpl listenerServiceLoop

INFO: Listener Going into accepting state

 
I think it should have printed out all the notification message, right?
What probably am I doing wrong? 
 
Thanks again,
Lombrera.
------------------------------------


"Reichardt, William" <[EMAIL PROTECTED]> escreveu:
What is in your classpath?
It looks like you are not including any of the required jars on your classpath.
A batch file called client.bat is provided with the release. It you built from source it would be in the etc directory.

Either way:
java.lang.NoClassDefFoundError:
org/apache/xmlbeans/impl/regex/ParseException
at
org.apache.ws.client.muse.client.ManageableResource$Factory.create(ManageableResource.java:54)

Sounds like a classpath problem.

Try either including all the required jars or running from the provided batch file.

This error may be masking some other problem but I can't tell until you eliminate the java.lang.NoClassDefFoundError.

-Bill

-----Original Message-----
From: Lombrera Lombrera [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 2:56 PM
To: Reichardt, William
Subject: Hel p with WSDM client

Hi William,

My name is Carlos and some days ago I saw your massage about the WSDM Client in the Muse list.
I get interested about trying to enjoy it, but I am having some difficulties and I think you can help me.

I have already compiled it successfully, but when I try to run it passing the parameters (eprurl, etc...) I get a error message.

Just to point out, the steps I did so far are:

1) Downloaded the Client from
http://svn.apache.org/repos/asf/webservices/muse/trunk/client

2) Used Maven to generate the project inside Eclipse

3) Downloaded the .jar files (using maven dist)

Now, I am trying to run the Client with the FileSystem example that comes with Muse 1.0 (which is working well in my machine with the command: ant -f soapclient.xml ...).

This is the way I am trying to execute the WSDM
Client:

D:\wsdmClient\client\target\classes>java WsdmExplorer http://localhost:8080/muse/services/filesystem get {http://ws.apache.org/resource/example/filesystem}Comment

And this is the message I receive:
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/xmlbeans/impl/regex/ParseException
at
org.apache.ws.client.muse.client.ManageableResource$Factory.create(ManageableResource.java:54)
at WsdmExplorer.(WsdmExplorer.java:56)
at WsdmExplorer.main(WsdmExplorer.java:84)

So, I do not know what I have been doing wrong or why it is not working. Hope you can give me some help.

Thanks a lot in advance,
[]s
Carlos Lombrera.








_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/

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


Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe!

Reply via email to