juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SourceForge.net" <nore...@sourceforge.net>
Subject [juddi-Developers] [ juddi-Bugs-803826 ] Registry.get_authToken fails to check return value
Date Thu, 11 Sep 2003 09:23:33 GMT
Bugs item #803826, was opened at 2003-09-10 16:08
Message generated for change (Comment added) made by sviens
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=803826&group_id=42875

>Category: Proxy
Group: Development
Status: Open
Resolution: None
>Priority: 7
Submitted By: andy cutright (acutright)
Assigned to: Steve Viens (sviens)
Summary: Registry.get_authToken fails to check return value

Initial Comment:
if the call to get_authToken fails because there is no 

publisher in the database, a null pointer exception is 

generated. 



the stack is:

           [java] java.lang.NullPointerException

           [java]    at 

org.juddi.client.RegistryProxy.execute

(RegistryProxy.java:128)

           [java]    at 

org.juddi.registry.Registry.get_authToken

(Registry.java:351)

           [java]    at SavePublisherSample.main

(SavePublisherSample.java:34)





you can use the save_publisher sample to test. make 

sure the publisher used for get_auithToken isn't 

registered in the database. 



here's the response that causes the null pointer:





HTTP/1.1 200 OK



Content-Type: text/xml; charset=utf-8



Date: Wed, 10 Sep 2003 15:58:27 GMT



Server: Apache Coyote/1.0



Connection: close







<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope 

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelo

pe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance">

 

<soapenv:Body><Fault><faultcode>Client</faultcode><f

aultstring>Client 

Error</faultstring><faultactor></faultactor><detail><disp

ositionReport generic="2.0" operator="jUDDI.org" 

xmlns="urn:uddi-org:api_v2"><result 

errno="10150"><errInfo errCode="E_unknownUser">The 

user ID and password pair passed in a get_authToken 

message is not known to the Operator Site or is not 

valid.</errInfo></result></dispositionReport></detail></F

ault> </soapenv:Body>

</soapenv:Envelope>

----------------------------------------------------------------------

>Comment By: Steve Viens (sviens)
Date: 2003-09-11 14:39

Message:
Logged In: YES 
user_id=73959

This is actually a larger jUDDIProxy issue and so is not 

specific to get_authToken.  Currently jUDDIProxy does not 

check the response for returning SOAP Fault values for any of 

the API calls. I should have a fix posted before the weekend.



Steve

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=803826&group_id=42875


Mime
View raw message