You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by BO CHEN WU <bo...@psu.edu> on 2007/06/19 20:27:59 UTC
please help me with uddi4j samples.
I had been working with SaveBusinessExample in the uddi4j samples folder for over a week, and i kept getting the following error messages, can someone please help me with this:
*********** Running SaveBusinessExample ***********
Configuration properties set: {org.uddi4j.TransportClassName=org.uddi4j.transport.ApacheAxisTransport, org.uddi4j.logEna
bled=true}
Get authtoken
Request message:
<uddiv2:get_authToken cred="juddi" generic="2.0" userID="juddi" xmlns:uddiv2="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org" xmlns=""><authInfo>authToken:AE131690-1E91-11DC-B2F9-F10E61CD9D69</authInf
o></authToken>
java.lang.NullPointerException
at org.uddi4j.UDDIException.isValidElement(UDDIException.java:111)
at org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)
at org.uddi4j.response.AuthToken.<init>(AuthToken.java:85)
at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626)
at SaveBusinessExample.run(SaveBusinessExample.java:79)
at SaveBusinessExample.main(SaveBusinessExample.java:53)
Thank You For Your Time.
Bo Chen Wu
Computer Engineering & Mathematic
bow5003@psu.edu
(646)-861-9905
Re: please help me with uddi4j samples.
Posted by Anil GVN <gv...@gmail.com>.
I got a similar error when I tried to get AuthToken. I used MySQL 5 as DB
adn the problem was with the queries written for database. Code needs to
change in JUDDI.
To overcome this, I directly inserted an AuthToken in Database and used that
in my code to get my things done for the moment.
On 6/19/07, BO CHEN WU <bo...@psu.edu> wrote:
>
> I had been working with SaveBusinessExample in the uddi4j samples folder
> for over a week, and i kept getting the following error messages, can
> someone please help me with this:
>
> *********** Running SaveBusinessExample ***********
> Configuration properties set: {
> org.uddi4j.TransportClassName=org.uddi4j.transport.ApacheAxisTransport,
> org.uddi4j.logEna
> bled=true}
>
> Get authtoken
>
> Request message:
> <uddiv2:get_authToken cred="juddi" generic="2.0" userID="juddi"
> xmlns:uddiv2="urn:uddi-org:api_v2"/>
>
> Response message:
> <authToken generic="2.0" operator="jUDDI.org"
> xmlns=""><authInfo>authToken:AE131690-1E91-11DC-B2F9-F10E61CD9D69</authInf
> o></authToken>
> java.lang.NullPointerException
> at org.uddi4j.UDDIException.isValidElement(UDDIException.java:111)
> at org.uddi4j.UDDIElement.<init>(UDDIElement.java:38)
> at org.uddi4j.response.AuthToken.<init>(AuthToken.java:85)
> at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626)
> at SaveBusinessExample.run(SaveBusinessExample.java:79)
> at SaveBusinessExample.main(SaveBusinessExample.java:53)
>
>
>
>
> Thank You For Your Time.
>
>
>
>
>
> Bo Chen Wu
> Computer Engineering & Mathematic
> bow5003@psu.edu
> (646)-861-9905
>
--
Anil GVN
Imagination is more important than Knowledge