You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Feng yuan <fl...@hotmail.com> on 2003/10/23 03:35:08 UTC

[juddi-Users] Re:About the AuthToken

Hi,
Thank you for your reply.

This is my PROP file used to set up the properties.
*************************************************************
userid = feng
password =
adminURL = http://localhost:8080/juddi/admin
inquiryURL = http://localhost:8080/juddi/inquiry
publishURL = http://localhost:8080/juddi/publish
securityProvider = com.sun.net.ssl.internal.ssl.Provider
protocolHandler = com.sun.net.ssl.internal.www.protocol
businessName = FACT CD Player
TransportClassName=org.uddi4j.transport.ApacheAxisTransport
logEnabled=true
*******************************************************

It seems to be no problems.  And the same exception information returned.
I will check the client side environment.

Regards,
Feng


>From: juddi-users-request@lists.sourceforge.net
>Reply-To: juddi-users@lists.sourceforge.net
>To: juddi-users@lists.sourceforge.net
>Subject: juddi-users digest, Vol 1 #151 - 3 msgs
>Date: Wed, 22 Oct 2003 20:14:31 -0700
>
>Send juddi-users mailing list submissions to
>	juddi-users@lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	https://lists.sourceforge.net/lists/listinfo/juddi-users
>or, via email, send a message with subject or body 'help' to
>	juddi-users-request@lists.sourceforge.net
>
>You can reach the person managing the list at
>	juddi-users-admin@lists.sourceforge.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of juddi-users digest..."
>
>
>Today's Topics:
>
>    1. About the AuthToken (Feng yuan)
>    2. RE: About the AuthToken (Anou Manavalan)
>    3. RE: About the AuthToken (Andy Cutright)
>
>--__--__--
>
>Message: 1
>From: "Feng yuan" <fl...@hotmail.com>
>To: juddi-users@lists.sourceforge.net
>Date: Wed, 22 Oct 2003 19:51:49 +0800
>Subject: [juddi-Users] About the AuthToken
>Reply-To: juddi-users@lists.sourceforge.net
>
>Hi all,
>
>I have just begun to do something in Web Service.  Can anyone give me some
>instruction about
>AuthToken? I ran a program and met a problem at that point.
>
>AuthToken token = proxy.get_authToken(config.getProperty"juddi.userID"),
>config.getProperty("juddi.password"));
>
>And this is the Exception information.
>
>*********** Running SaveBusinessExample ***********
>
>Get authtoken
>Exception in thread "main" java.lang.NoClassDefFoundError:
>org/apache/soap/SOAPE
>xception
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at org.uddi4j.transport.TransportFactory.getTransport(Unknown
>Source)
>         at org.uddi4j.client.UDDIProxy.send(Unknown Source)
>         at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source)
>         at SaveBusinessExample.run(SaveBusinessExample.java:87)
>         at SaveBusinessExample.main(SaveBusinessExample.java:55)
>************************************************
>
>Can anybody show me a hint how to set a authorization token in jUDDI server
>and some document about this?
>
>Thank & Regards,
>Feng
>
>_________________________________________________________________
>Add photos to your e-mail with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>
>--__--__--
>
>Message: 2
>From: "Anou Manavalan" <an...@try.sybase.com>
>To: <ju...@lists.sourceforge.net>
>Subject: RE: [juddi-Users] About the AuthToken
>Date: Wed, 22 Oct 2003 07:26:31 -0600
>Reply-To: juddi-users@lists.sourceforge.net
>
>This is from the deployment guide :
>A publisher is said to be defined when a row identifying the publisher
>exists in the PUBLISHER table of the jUDDI datastore. At the moment the 
>only
>way to do this is via SQL. An example of defining a new publisher named 
>John
>Doe would look like this:
>
>INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,ADMIN)
>VALUES ('jdoe','John Doe','false');
>
>This uses no password. So, userID is 'jdoe' or whatever id you give and the
>password is ''.
>
>
>BTW:
>The exception you have shown is the client side. Looks like it hasn't even
>reached the server.  'NoClassDefFoundError' -  I think you are having
>version problem. There could be 2 different versions of the same class 
>being
>loaded. I believe you need to set the client environment right.
>
>regards,
>-Anou
>
>
>-----Original Message-----
>From: juddi-users-admin@lists.sourceforge.net
>[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Feng yuan
>Sent: Wednesday, October 22, 2003 5:52 AM
>To: juddi-users@lists.sourceforge.net
>Subject: [juddi-Users] About the AuthToken
>
>
>Hi all,
>
>I have just begun to do something in Web Service.  Can anyone give me some
>instruction about
>AuthToken? I ran a program and met a problem at that point.
>
>AuthToken token = proxy.get_authToken(config.getProperty"juddi.userID"),
>config.getProperty("juddi.password"));
>
>And this is the Exception information.
>
>*********** Running SaveBusinessExample ***********
>
>Get authtoken
>Exception in thread "main" java.lang.NoClassDefFoundError:
>org/apache/soap/SOAPE
>xception
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at org.uddi4j.transport.TransportFactory.getTransport(Unknown
>Source)
>         at org.uddi4j.client.UDDIProxy.send(Unknown Source)
>         at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source)
>         at SaveBusinessExample.run(SaveBusinessExample.java:87)
>         at SaveBusinessExample.main(SaveBusinessExample.java:55)
>************************************************
>
>Can anybody show me a hint how to set a authorization token in jUDDI server
>and some document about this?
>
>Thank & Regards,
>Feng
>
>_________________________________________________________________
>Add photos to your e-mail with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by OSDN developer relations
>Here's your chance to show off your extensive product knowledge
>We want to know what you know. Tell us and you have a chance to win $100
>http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>
>--__--__--
>
>Message: 3
>Subject: RE: [juddi-Users] About the AuthToken
>Date: Wed, 22 Oct 2003 06:51:08 -0700
>From: "Andy Cutright" <An...@borland.com>
>To: <ju...@lists.sourceforge.net>
>Reply-To: juddi-users@lists.sourceforge.net
>
>hi,=20
>
>can you please post your UDDI4J client samples.prop file?=20
>
>0. the problem you're seeing is your client is attempting to use a SOAP
>transport that isn't present on the classpath. the UDDI4J client your
>are using can be configured to use several different transports.
>typically, it is setup to use ApacheSOAPTransport. i would suggest
>changing that to ApacheAxisTransport:=20
>
>## disable this in samples.prop:=20
>#TransportClassName=3Dorg.uddi4j.transport.ApacheSOAPTransport
>## enable this:=20
>TransportClassName=3Dorg.uddi4j.transport.ApacheAxisTransport
>
>1. there's also logging available from uddi4j:
>
># set this property pair in samples.prop
>logEnabled=3Dtrue
>
>2. this doesn't appear to be a jUDDI problem, since the call never makes
>it out of your client.=20
>
>please take a look at the FAQ included with our distribution, under
>juddi/docs i believe, and verif your jUDDI server side setup. in
>particular, you'll want to take a look at the happyjuddi.jsp using your
>browser. the URL is typically http://localhost:8080/juddi/happyjuddi.jsp
>. you should verify your setup is working prior to invoking any clients.
>
>
>cheers,
>andy=20
>
>
> > -----Original Message-----
> > From: Feng yuan [mailto:flubwell@hotmail.com]=20
> > Sent: Wednesday, October 22, 2003 4:52 AM
> > To: juddi-users@lists.sourceforge.net
> > Subject: [juddi-Users] About the AuthToken
> >=20
> >=20
> > Hi all,
> >=20
> > I have just begun to do something in Web Service.  Can anyone=20
> > give me some=20
> > instruction about
> > AuthToken? I ran a program and met a problem at that point.
> >=20
> > AuthToken token =3D=20
> > proxy.get_authToken(config.getProperty"juddi.userID"),=20
> > config.getProperty("juddi.password"));
> >=20
> > And this is the Exception information.
> >=20
> > *********** Running SaveBusinessExample ***********
> >=20
> > Get authtoken
> > Exception in thread "main" java.lang.NoClassDefFoundError:=20
> > org/apache/soap/SOAPE
> > xception
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:141)
> >         at org.uddi4j.transport.TransportFactory.getTransport(Unknown=20
> > Source)
> >         at org.uddi4j.client.UDDIProxy.send(Unknown Source)
> >         at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source)
> >         at SaveBusinessExample.run(SaveBusinessExample.java:87)
> >         at SaveBusinessExample.main(SaveBusinessExample.java:55)
> > ************************************************
> >=20
> > Can anybody show me a hint how to set a authorization token=20
> > in jUDDI server=20
> > and some document about this?
> >=20
> > Thank & Regards,
> > Feng
> >=20
> > _________________________________________________________________
> > Add photos to your e-mail with MSN 8. Get 2 months FREE*.=20
> > http://join.msn.com/?page=3Dfeatures/featuredemail
> >=20
> >=20
> >=20
> > -------------------------------------------------------
> > This SF.net email is sponsored by OSDN developer relations
> > Here's your chance to show off your extensive product knowledge
> > We want to know what you know. Tell us and you have a chance=20
> > to win $100
> > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> > _______________________________________________
> > juddi-users mailing list
> > juddi-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/juddi-users
> >=20
>
>
>
>--__--__--
>
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>End of juddi-users Digest

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963