List Info

Thread: get_authToken problem




get_authToken problem
user name
2006-07-22 21:55:15
hi

I installed juddi happyjuddi.jsp dosent show any errors, but
when i used
console to execute get_authToken  get E_unknownUser (10150)
error. 

I gave userid = juddi (it is a mysql user) cred = juddi
(mysql user
password).if any one authenticated juddi please guide me i
need to write a
client application to use juddi server for my final project.
i will be very
much thankfull for any kind of guidance.


config details are :

os : winxp
tomcat 5.5.17
axis is happy with no errors.
juddi09.rc4
mysql 5.0.22

i followed 
http://www.socketelf.org:8080/roller/pa
ge/socket?entry=juudi_installation
tutorial to configure my juddi 

added 

# The UDDI user
juddi.users = $TOMCAT_HOME\juddi\WEB-INF\juddi-users.xml 

to juddi.properties,

changed juddi-users.xml to specify appropriate user name and
password

<?xml version="1.0"
encoding="UTF-8"?>
<juddi-users>
  <user userid="sviens"
password="password" />
  <user userid="juddi"
password="juddi" />
</juddi-users>

FULL ERROR i got is given below : 

<?xml version="1.0"
encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/"
xmlnssd=&
quot;http://www.w3.org/20
01/XMLSchema"
xmlnssi=&
quot;http://www.
w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Client</faultcode>
   <faultstring>E_unknownUser (10150) The user ID and
password pair passed
in a get_authToken message is not known to the Operator Site
or is not
valid. get_authToken: userID=juddi</faultstring>
   <detail>
    <dispositionReport generic="2.0"
operator="localhost"
xmlns="urn:uddi-org:api_v2">
     <result errno="10150">
      <errInfo errCode="E_unknownUser"
xsi:type="xsd:string">E_unknownUser
(10150) The user ID and password pair passed in a
get_authToken message is
not known to the Operator Site or is not valid.
get_authToken:
userID=juddi</errInfo>
     </result>
    </dispositionReport>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>


thanks in advance.

-- 
View this message in context: http://www.nabble.com/get_authToken-problem-t
f1986179.html#a5450759
Sent from the jUDDI - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-07-25 20:28:23
khiz,

Try the following solution to see if it will work for you
(see link below).

http://www.nabble.com/RE%3A-get_Aut
hToken-not-working-at-all%21-p5492620.html

Cheers - Alan


khiz wrote:
> 
> hi
> 
> I installed juddi happyjuddi.jsp dosent show any
errors, but when i used
> console to execute get_authToken  get E_unknownUser
(10150) error. 
> 
> I gave userid = juddi (it is a mysql user) cred = juddi
(mysql user
> password).if any one authenticated juddi please guide
me i need to write a
> client application to use juddi server for my final
project. i will be
> very much thankfull for any kind of guidance.
> 
> 
> config details are :
> 
> os : winxp
> tomcat 5.5.17
> axis is happy with no errors.
> juddi09.rc4
> mysql 5.0.22
> 
> i followed 
> http://www.socketelf.org:8080/roller/pa
ge/socket?entry=juudi_installation
> tutorial to configure my juddi 
> 
> added 
> 
> # The UDDI user
> juddi.users =
$TOMCAT_HOME\juddi\WEB-INF\juddi-users.xml 
> 
> to juddi.properties,
> 
> changed juddi-users.xml to specify appropriate user
name and password
> 
> <?xml version="1.0"
encoding="UTF-8"?>
> <juddi-users>
>   <user userid="sviens"
password="password" />
>   <user userid="juddi"
password="juddi" />
> </juddi-users>
> 
> FULL ERROR i got is given below : 
> 
> <?xml version="1.0"
encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/"
> xmlnssd=&
quot;http://www.w3.org/20
01/XMLSchema"
> xmlnssi=&
quot;http://www.
w3.org/2001/XMLSchema-instance">
>  <soapenv:Body>
>   <soapenv:Fault>
>    <faultcode>soapenv:Client</faultcode>
>    <faultstring>E_unknownUser (10150) The user ID
and password pair passed
> in a get_authToken message is not known to the Operator
Site or is not
> valid. get_authToken: userID=juddi</faultstring>
>    <detail>
>     <dispositionReport generic="2.0"
operator="localhost"
> xmlns="urn:uddi-org:api_v2">
>      <result errno="10150">
>       <errInfo errCode="E_unknownUser"
xsi:type="xsd:string">E_unknownUser
> (10150) The user ID and password pair passed in a
get_authToken message is
> not known to the Operator Site or is not valid.
get_authToken:
> userID=juddi</errInfo>
>      </result>
>     </dispositionReport>
>    </detail>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
> 
> 
> thanks in advance.
> 
> 

-- 
View this message in context: http://www.nabble.com/get_authToken-problem-t
f1986179.html#a5492678
Sent from the jUDDI - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-07-26 12:31:07
hi alan

thanks for the help, i followed the link its working fine
now. 

i still have a doubt 

 <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
      userID="pubid1" 
      cred="***"/>

what shall i specify in the place of cred="***",
what doset it mean by
credentials.

what do you mean by

You'll have to change the credential accordingly with your
"publisher"
information ?

thank you again
bye.

-- 
View this message in context: http://www.nabble.com/get_authToken-problem-t
f1986179.html#a5502302
Sent from the jUDDI - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-07-26 14:12:59
khiz,

I believe the "cred" field in the request is
typically the password for 
the user as I have seen in some of their other sql
statements. However, 
the PUBLISHER table that was created using their provided
sql statement 
has NO column for the password field, so I don't think the
"cred" field 
is being used at this time in their request - we must keep
in mind that 
the "console" is a beta product and it may not
have everything they want 
implemented in it yet.

By credential I mean whatever user that you have created
using their 
supplied sql statement (see example below). In their
example, the userID 
is "jdoe" (PUBLISHER_NAME=John Doe). In your
case, it looks like your 
userID is "pubid1". Notice below that the sql
statement used to insert 
the user into the jUDDI database does have fields such as
IS_ENABLED and 
IS_ADMIN but nothing for the password hence I don't think
the "cred" 
field is being checked/used. If you create another user and
insert that 
user ID into the "userID" field of the request,
it would also work 
because that new user ID will also be present in the jUDDI
database.

INSERT INTO PUBLISHER 
(PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADM
IN)
VALUES ('jdoe','John Doe','john.doeapache.org','true','true');

Go into mysql and run the following sql statements and all
of your users 
listed in the PUBLISHER table will be displayed:

mysql> use juddi;
mysql> select * from PUBLISHER;

You should get something like the following output:

+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 

| PUBLISHER_ID | PUBLISHER_NAME                        |
EMAIL_ADDRESS  
| IS_ADMIN | IS_ENABLED |
+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 

| jdoe                     | John Doe                       
           
        | john.doeapache.org | true             | true      
           |
| pubid1                 | Whatever you have put here       
        | 
youryour.domain      | true             | true           
      |
+------------------+--------------------------------------+-
----------------------+------------+----------------+ 


Alan

khiz wrote:
> hi alan
>
> thanks for the help, i followed the link its working
fine now. 
>
> i still have a doubt 
>
>  <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>       userID="pubid1" 
>       cred="***"/>
>
> what shall i specify in the place of
cred="***", what doset it mean by
> credentials.
>
> what do you mean by
>
> You'll have to change the credential accordingly with
your "publisher"
> information ?
>
> thank you again
> bye.
>
>   



------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-07-26 14:08:14
khiz,

I believe the "cred" field in the request is
typically the password for 
the user as I have seen in some of their other sql
statements. However, 
the PUBLISHER table that was created using their provided
sql statement 
has NO column for the password field, so I don't think the
"cred" field 
is being used at this time in their request - we must keep
in mind that 
the "console" is a beta product and it may not
have everything they want 
implemented in it yet.

By credential I mean whatever user that you have created
using their 
supplied sql statement (see example below). In their
example, the userID 
is "jdoe" (PUBLISHER_NAME=John Doe). In your
case, it looks like your 
userID is "pubid1". Notice below that the sql
statement used to insert 
the user into the jUDDI database does have fields such as
IS_ENABLED and 
IS_ADMIN but nothing for the password hence I don't think
the "cred" 
field is being checked/used. If you create another user and
insert that 
user ID into the "userID" field of the request,
it would also work 
because that new user ID will also be present in the jUDDI
database.

INSERT INTO PUBLISHER 
(PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADM
IN)
VALUES ('jdoe','John Doe','john.doeapache.org','true','true');

Go into mysql and run the following sql statements and all
of your users 
listed in the PUBLISHER table will be displayed:

mysql> use juddi;
mysql> select * from PUBLISHER;

You should get something like the following output:

+------------------+--------------------------------------+-
---------------------+-------------+----------------+
| PUBLISHER_ID | PUBLISHER_NAME                        |
EMAIL_ADDRESS  
| IS_ADMIN | IS_ENABLED |
+------------------+--------------------------------------+-
---------------------+-------------+----------------+
| jdoe                     | John Doe                       
           
         | john.doeapache.org | true             | true      
           |
| pubid1                 | Whatever you have put here       
        | 
youryour.domain      | true             | true           
      |
+------------------+--------------------------------------+-
----------------------+------------+----------------+

Alan

khiz wrote:
> hi alan
>
> thanks for the help, i followed the link its working
fine now. 
>
> i still have a doubt 
>
>  <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>       userID="pubid1" 
>       cred="***"/>
>
> what shall i specify in the place of
cred="***", what doset it mean by
> credentials.
>
> what do you mean by
>
> You'll have to change the credential accordingly with
your "publisher"
> information ?
>
> thank you again
> bye.
>
>   

-- 
Alan Vinh
Building and Fire Research Laboratory
National Institute of Standards and Technology
100 Bureau Drive, MS 8630
Building 226, Room B316
Gaithersburg, MD 20899-8630, USA
-----------------------------------------------
E-mail: Alan.Vinhnist.gov
Phone: 301-975-5260
FAX: 301-975-5433
http://www.bfrl.nist.gov/
------------------------------------------------



------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-07-26 15:48:07
thank you for quick reply,
i checked it: get_authToken works even if cred is not
supplied. 
pubid shall be valid pubid from publisher table.
bye.

avinh wrote:
> 
> khiz,
> 
> I believe the "cred" field in the request
is typically the password for 
> the user as I have seen in some of their other sql
statements. However, 
> the PUBLISHER table that was created using their
provided sql statement 
> has NO column for the password field, so I don't think
the "cred" field 
> is being used at this time in their request - we must
keep in mind that 
> the "console" is a beta product and it may
not have everything they want 
> implemented in it yet.
> 
> By credential I mean whatever user that you have
created using their 
> supplied sql statement (see example below). In their
example, the userID 
> is "jdoe" (PUBLISHER_NAME=John Doe). In
your case, it looks like your 
> userID is "pubid1". Notice below that the
sql statement used to insert 
> the user into the jUDDI database does have fields such
as IS_ENABLED and 
> IS_ADMIN but nothing for the password hence I don't
think the "cred" 
> field is being checked/used. If you create another user
and insert that 
> user ID into the "userID" field of the
request, it would also work 
> because that new user ID will also be present in the
jUDDI database.
> 
> INSERT INTO PUBLISHER 
>
(PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADM
IN)
> VALUES ('jdoe','John Doe','john.doeapache.org','true','true');
> 
> Go into mysql and run the following sql statements and
all of your users 
> listed in the PUBLISHER table will be displayed:
> 
> mysql> use juddi;
> mysql> select * from PUBLISHER;
> 
> You should get something like the following output:
> 
>
+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 
> 
> | PUBLISHER_ID | PUBLISHER_NAME                       
| EMAIL_ADDRESS  
> | IS_ADMIN | IS_ENABLED |
>
+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 
> 
> | jdoe                     | John Doe                  
                
>         | john.doeapache.org | true             | true      
           |
> | pubid1                 | Whatever you have put here  
             | 
> youryour.domain      | true             | true           
      |
>
+------------------+--------------------------------------+-
----------------------+------------+----------------+ 
> 
> 
> Alan
> 
> khiz wrote:
>> hi alan
>>
>> thanks for the help, i followed the link its
working fine now. 
>>
>> i still have a doubt 
>>
>>  <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>>       userID="pubid1" 
>>       cred="***"/>
>>
>> what shall i specify in the place of
cred="***", what doset it mean by
>> credentials.
>>
>> what do you mean by
>>
>> You'll have to change the credential accordingly
with your "publisher"
>> information ?
>>
>> thank you again
>> bye.
>>
>>   
> 
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
> For additional commands, e-mail: juddi-user-helpws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/get_authToken-problem-t
f1986179.html#a5505771
Sent from the jUDDI - User forum at Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

get_authToken problem
user name
2006-10-12 09:09:21
Hi , 
can you help me to find the problem, 
it can be the java class that create a custom jUDDI
Authentificator because
I have this problem, i don't know .

the error:
?xml versionfiltered="1.0"
encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http:
//schemas.xmlsoap.org/soap/envelope/"
xmlnssd=&q
uot;http://www.w3.
org/2001/XMLSchema"
xmlnssi=&q
uot;h
ttp://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode
xmlns:ns1="http://xml.apache.org/axis/&qu
ot;>ns1:Server.generalException</faultcode>
   <faultstring></faultstring>
   <faultactor></faultactor>
   <detail/>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
 


 Merci d'avance





khiz wrote:
> 
> thank you for quick reply,
> i checked it: get_authToken works even if cred is not
supplied. 
> pubid shall be valid pubid from publisher table.
> bye.
> 
> avinh wrote:
>> 
>> khiz,
>> 
>> I believe the "cred" field in the request
is typically the password for 
>> the user as I have seen in some of their other sql
statements. However, 
>> the PUBLISHER table that was created using their
provided sql statement 
>> has NO column for the password field, so I don't
think the "cred" field 
>> is being used at this time in their request - we
must keep in mind that 
>> the "console" is a beta product and it
may not have everything they want 
>> implemented in it yet.
>> 
>> By credential I mean whatever user that you have
created using their 
>> supplied sql statement (see example below). In
their example, the userID 
>> is "jdoe" (PUBLISHER_NAME=John Doe). In
your case, it looks like your 
>> userID is "pubid1". Notice below that the
sql statement used to insert 
>> the user into the jUDDI database does have fields
such as IS_ENABLED and 
>> IS_ADMIN but nothing for the password hence I don't
think the "cred" 
>> field is being checked/used. If you create another
user and insert that 
>> user ID into the "userID" field of the
request, it would also work 
>> because that new user ID will also be present in
the jUDDI database.
>> 
>> INSERT INTO PUBLISHER 
>>
(PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADM
IN)
>> VALUES ('jdoe','John Doe','john.doeapache.org','true','true');
>> 
>> Go into mysql and run the following sql statements
and all of your users 
>> listed in the PUBLISHER table will be displayed:
>> 
>> mysql> use juddi;
>> mysql> select * from PUBLISHER;
>> 
>> You should get something like the following output:
>> 
>>
+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 
>> 
>> | PUBLISHER_ID | PUBLISHER_NAME                    
   | EMAIL_ADDRESS  
>> | IS_ADMIN | IS_ENABLED |
>>
+------------------+--------------------------------------+-
---------------------+-------------+----------------+ 
>> 
>> | jdoe                     | John Doe              
                    
>>         | john.doeapache.org | true          
  | true                 
>> |
>> | pubid1                 | Whatever you have put
here                | 
>> youryour.domain      | true             | true
                 |
>>
+------------------+--------------------------------------+-
----------------------+------------+----------------+ 
>> 
>> 
>> Alan
>> 
>> khiz wrote:
>>> hi alan
>>>
>>> thanks for the help, i followed the link its
working fine now. 
>>>
>>> i still have a doubt 
>>>
>>>  <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>>>       userID="pubid1" 
>>>       cred="***"/>
>>>
>>> what shall i specify in the place of
cred="***", what doset it mean by
>>> credentials.
>>>
>>> what do you mean by
>>>
>>> You'll have to change the credential
accordingly with your "publisher"
>>> information ?
>>>
>>> thank you again
>>> bye.
>>>
>>>   
>> 
>> 
>> 
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
>> For additional commands, e-mail:
juddi-user-helpws.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/get_authToken-problem-t
f1986179.html#a6772654
Sent from the jUDDI - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )