You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by klaus <ba...@gmail.com> on 2010/01/06 19:33:38 UTC

Default Authentication right after installation?

Hi Guys,

we need to set up an UDDI Registry for example in university. We choose juddi.
It was nice, that there was a possibility to use it bundled with
tomcat. That worked very well. We unziped the zipfile and started the
tomcat. Nothing else changed.


Now we can add in the web service explorer from eclipse the inquiry
url. But if we want to publish, we got some troubles.

Eclipse itself don't do anymore than. There is a stacktrace with on
top in the started Apache:


Interceptor has thrown exception, unwinding now .. Message part:
get_authToken was not recognized. (Does it exist in service WSDL?)



Where can we define user?
Or whats the default password for the root or uddi user?

The documentation is not really clear on this point.

We simply want to set up one node and have an user with rights to
publish a web service!

Re: Default Authentication right after installation?

Posted by klaus <ba...@gmail.com>.
Sorry for the third mail in a row.

I have found through razorsql (a tool for download) a possibility to
view the derbydb. There in the publishers row i found users jdoe und
jdoe2. I have used this user without a password in the Eclipse
Webservice Browser and from there i can publish and search for
webservices.

Awesome.

But whats the connection with this xml-file and the publishers?
And why can't i save a publisher?

Thank you guy, in special kurt, for listening to my problems. While
writing it down I got some new points .. :)

Regards
Klaus


2010/1/6 klaus <ba...@gmail.com>:
> I have found the juddi-users.xml file with the following content:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <juddi-users>
>  <user userid="sviens" password="password" />
>  <user userid="juddi" password="password" />
> </juddi-users>
>
>
> But if i try to use the users from this file in my eclipse browser, i
> get an simmilar error:
> 2010-01-06 20:57:22,905 INFO
> [org.apache.juddi.function.GetAuthTokenFunction] - 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
> 2010-01-06 20:57:22,905 ERROR
> [org.apache.juddi.registry.service.AbstractService] - 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
> 2010-01-06 20:57:22,905 ERROR
> [org.apache.juddi.registry.service.AbstractService] - A serious error
> has occured while assembling the SOAP Fault.
> javax.xml.soap.SOAPException: faultCode must be of the form prefix:localName
>
>
> Whats the connection betweeen this xml-file and the publisher which i
> can set through the save publisher request?
>
> Is there a possibility to view the derby db? It is hard to set up
> juddi with mysql because every tutorial is for an other version but
> none for the current version.
>
> Greetings
>
>
> 2010/1/6 klaus <ba...@gmail.com>:
>> Hi Kurt,
>>
>> thanks for your help! Now i use the 2.0.1 version of juddi in hope to
>> get it in touch with the eclipse web browser.
>> There is a console bundled, yeah - nice.
>>
>> I try to create a new user with the following request out of "save_publisher":
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>  <soapenv:Body>
>>    <save_publisher generic="1.0" xmlns="urn:juddi-org:api_v1">
>>      <authInfo>juddi authinfo</authInfo>
>>      <publisher
>>         publisherID="juddi"
>>         publisherName="juddi"
>>         admin="true"
>>         enabled="true"
>>         emailAddress="juddi@juddi.de"/>
>>    </save_publisher>
>>  </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>> But i just get a fault:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>> <soapenv:Body>
>> <soapenv:Fault>
>> <faultcode xmlns="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</faultcode>
>> <faultstring>Fault string, and possibly fault code, not set</faultstring>
>> </soapenv:Fault>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>> And I'm wondering where i can set the password for this publisher
>> which i create with this request?
>>
>>
>> Greetings,
>> Klaus
>>
>> 2010/1/6 Kurt T Stam <ku...@gmail.com>:
>>> Hi Klaus,
>>>
>>> The Eclipse plugin only support UDDIv2, not v3. One of the developers has
>>> shown interest to create a new Eclipse
>>> plugin, but I'm not sure how he's gotten.
>>>
>>> If you download the portal-bundel you get a console. With it you can easily
>>> create new publishers. To publish services
>>> see:
>>>
>>> http://apachejuddi.blogspot.com/
>>>
>>>
>>> Cheers,
>>>
>>> --Kurt
>>>
>>> klaus wrote:
>>>>
>>>> Hi Guys,
>>>>
>>>> we need to set up an UDDI Registry for example in university. We choose
>>>> juddi.
>>>> It was nice, that there was a possibility to use it bundled with
>>>> tomcat. That worked very well. We unziped the zipfile and started the
>>>> tomcat. Nothing else changed.
>>>>
>>>>
>>>> Now we can add in the web service explorer from eclipse the inquiry
>>>> url. But if we want to publish, we got some troubles.
>>>>
>>>> Eclipse itself don't do anymore than. There is a stacktrace with on
>>>> top in the started Apache:
>>>>
>>>>
>>>> Interceptor has thrown exception, unwinding now .. Message part:
>>>> get_authToken was not recognized. (Does it exist in service WSDL?)
>>>>
>>>>
>>>>
>>>> Where can we define user?
>>>> Or whats the default password for the root or uddi user?
>>>>
>>>> The documentation is not really clear on this point.
>>>>
>>>> We simply want to set up one node and have an user with rights to
>>>> publish a web service!
>>>>
>>>
>>>
>>
>

Re: Default Authentication right after installation?

Posted by klaus <ba...@gmail.com>.
I have found the juddi-users.xml file with the following content:

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


But if i try to use the users from this file in my eclipse browser, i
get an simmilar error:
2010-01-06 20:57:22,905 INFO
[org.apache.juddi.function.GetAuthTokenFunction] - 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
2010-01-06 20:57:22,905 ERROR
[org.apache.juddi.registry.service.AbstractService] - 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
2010-01-06 20:57:22,905 ERROR
[org.apache.juddi.registry.service.AbstractService] - A serious error
has occured while assembling the SOAP Fault.
javax.xml.soap.SOAPException: faultCode must be of the form prefix:localName


Whats the connection betweeen this xml-file and the publisher which i
can set through the save publisher request?

Is there a possibility to view the derby db? It is hard to set up
juddi with mysql because every tutorial is for an other version but
none for the current version.

Greetings


2010/1/6 klaus <ba...@gmail.com>:
> Hi Kurt,
>
> thanks for your help! Now i use the 2.0.1 version of juddi in hope to
> get it in touch with the eclipse web browser.
> There is a console bundled, yeah - nice.
>
> I try to create a new user with the following request out of "save_publisher":
>
> <?xml version="1.0" encoding="utf-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>  <soapenv:Body>
>    <save_publisher generic="1.0" xmlns="urn:juddi-org:api_v1">
>      <authInfo>juddi authinfo</authInfo>
>      <publisher
>         publisherID="juddi"
>         publisherName="juddi"
>         admin="true"
>         enabled="true"
>         emailAddress="juddi@juddi.de"/>
>    </save_publisher>
>  </soapenv:Body>
> </soapenv:Envelope>
>
>
> But i just get a fault:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <soapenv:Fault>
> <faultcode xmlns="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</faultcode>
> <faultstring>Fault string, and possibly fault code, not set</faultstring>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> And I'm wondering where i can set the password for this publisher
> which i create with this request?
>
>
> Greetings,
> Klaus
>
> 2010/1/6 Kurt T Stam <ku...@gmail.com>:
>> Hi Klaus,
>>
>> The Eclipse plugin only support UDDIv2, not v3. One of the developers has
>> shown interest to create a new Eclipse
>> plugin, but I'm not sure how he's gotten.
>>
>> If you download the portal-bundel you get a console. With it you can easily
>> create new publishers. To publish services
>> see:
>>
>> http://apachejuddi.blogspot.com/
>>
>>
>> Cheers,
>>
>> --Kurt
>>
>> klaus wrote:
>>>
>>> Hi Guys,
>>>
>>> we need to set up an UDDI Registry for example in university. We choose
>>> juddi.
>>> It was nice, that there was a possibility to use it bundled with
>>> tomcat. That worked very well. We unziped the zipfile and started the
>>> tomcat. Nothing else changed.
>>>
>>>
>>> Now we can add in the web service explorer from eclipse the inquiry
>>> url. But if we want to publish, we got some troubles.
>>>
>>> Eclipse itself don't do anymore than. There is a stacktrace with on
>>> top in the started Apache:
>>>
>>>
>>> Interceptor has thrown exception, unwinding now .. Message part:
>>> get_authToken was not recognized. (Does it exist in service WSDL?)
>>>
>>>
>>>
>>> Where can we define user?
>>> Or whats the default password for the root or uddi user?
>>>
>>> The documentation is not really clear on this point.
>>>
>>> We simply want to set up one node and have an user with rights to
>>> publish a web service!
>>>
>>
>>
>

Re: Default Authentication right after installation?

Posted by klaus <ba...@gmail.com>.
Hi Kurt,

thanks for your help! Now i use the 2.0.1 version of juddi in hope to
get it in touch with the eclipse web browser.
There is a console bundled, yeah - nice.

I try to create a new user with the following request out of "save_publisher":

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <save_publisher generic="1.0" xmlns="urn:juddi-org:api_v1">
      <authInfo>juddi authinfo</authInfo>
      <publisher
         publisherID="juddi"
         publisherName="juddi"
         admin="true"
         enabled="true"
         emailAddress="juddi@juddi.de"/>
    </save_publisher>
  </soapenv:Body>
</soapenv:Envelope>


But i just get a fault:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</faultcode>
<faultstring>Fault string, and possibly fault code, not set</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>



And I'm wondering where i can set the password for this publisher
which i create with this request?


Greetings,
Klaus

2010/1/6 Kurt T Stam <ku...@gmail.com>:
> Hi Klaus,
>
> The Eclipse plugin only support UDDIv2, not v3. One of the developers has
> shown interest to create a new Eclipse
> plugin, but I'm not sure how he's gotten.
>
> If you download the portal-bundel you get a console. With it you can easily
> create new publishers. To publish services
> see:
>
> http://apachejuddi.blogspot.com/
>
>
> Cheers,
>
> --Kurt
>
> klaus wrote:
>>
>> Hi Guys,
>>
>> we need to set up an UDDI Registry for example in university. We choose
>> juddi.
>> It was nice, that there was a possibility to use it bundled with
>> tomcat. That worked very well. We unziped the zipfile and started the
>> tomcat. Nothing else changed.
>>
>>
>> Now we can add in the web service explorer from eclipse the inquiry
>> url. But if we want to publish, we got some troubles.
>>
>> Eclipse itself don't do anymore than. There is a stacktrace with on
>> top in the started Apache:
>>
>>
>> Interceptor has thrown exception, unwinding now .. Message part:
>> get_authToken was not recognized. (Does it exist in service WSDL?)
>>
>>
>>
>> Where can we define user?
>> Or whats the default password for the root or uddi user?
>>
>> The documentation is not really clear on this point.
>>
>> We simply want to set up one node and have an user with rights to
>> publish a web service!
>>
>
>

Re: Default Authentication right after installation?

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Klaus,

The Eclipse plugin only support UDDIv2, not v3. One of the developers 
has shown interest to create a new Eclipse
plugin, but I'm not sure how he's gotten.

If you download the portal-bundel you get a console. With it you can 
easily create new publishers. To publish services
see:

http://apachejuddi.blogspot.com/


Cheers,

--Kurt

klaus wrote:
> Hi Guys,
>
> we need to set up an UDDI Registry for example in university. We choose juddi.
> It was nice, that there was a possibility to use it bundled with
> tomcat. That worked very well. We unziped the zipfile and started the
> tomcat. Nothing else changed.
>
>
> Now we can add in the web service explorer from eclipse the inquiry
> url. But if we want to publish, we got some troubles.
>
> Eclipse itself don't do anymore than. There is a stacktrace with on
> top in the started Apache:
>
>
> Interceptor has thrown exception, unwinding now .. Message part:
> get_authToken was not recognized. (Does it exist in service WSDL?)
>
>
>
> Where can we define user?
> Or whats the default password for the root or uddi user?
>
> The documentation is not really clear on this point.
>
> We simply want to set up one node and have an user with rights to
> publish a web service!
>