Hello! Can Anyone help me? I'm having a trouble wjile running SaveBusinessExample, my juddihappy.jsphas no error an my configuration files are the following:
samples.prop ------------------------------------------------------------------------------------------------- inquiryURL =http://localhost:8080/juddi/inquiry publishURL =http://localhost:8080/juddi/publish userid =juddi password =juddi TransportClassName=org.uddi4j.transport.ApacheAxisTransport logEnabled=true handlerPackageName=com.sun.net.ssl.internal.www.protocol securityClassName=com.sun.net.ssl.internal.ssl.Provider businessName=Sample Business serviceName=Sample Service tmodelName=Sample TModel sampleEntityName=S assertionRelationship=peer-peer --------------------------------------------------------------------------------------------- juddi-users.xml -------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <juddi-users> <user userid="juddi" password="juddi" /> </juddi-users> ------------------------------------------------------------------------------------------- juddi.properties ------------------------------------------------------------------------------------------- juddi.operatorName = jUDDI.org juddi.i18n.languageCode = pt juddi.i18n.countryCode = BR juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp? juddi.operatorEmailAddress = [EMAIL PROTECTED] juddi.maxNameLength=255 juddi.maxNameElementsAllowed=5 juddi.maxBusinessEntitiesPerUser=25 juddi.maxBusinessServicesPerBusiness=20 juddi.maxBindingTemplatesPerService=10 juddi.maxTModelsPerUser=100 juddi.maxRowsLimit=10 juddi.auth = org.apache.juddi.auth.DefaultAuthenticator juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore juddi.dataSource=java:comp/env/jdbc/juddiDB juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor juddi.validator=org.apache.juddi.validator.DefaultValidator juddi.proxy.adminURL = http://localhost:8080/juddi/admin juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry juddi.proxy.publishURL = http://localhost:8080/juddi/publish juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol ----------------------------------------------------------------------------------------------------- and the exception I'm getting is: *********** Running SaveBusinessExample *********** Configuration properties set: { org.uddi4j.TransportClassName=org.uddi4j.transport.ApacheAxisTransport, org.uddi4j.logEnabled=true} Get authtoken Request message: <uddiv2:get_authToken cred="" generic="2.0" userID="juddi " xmlns:uddiv2="urn:uddi-org:api_v2"/> Response message: <authToken generic="2.0" operator="jUDDI.org" xmlns=""><authInfo>authToken:14D63220-3924-11DC-A525-A4B741105F6B</authInfo></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 org.SaveBusinessExample.run(SaveBusinessExample.java:54) at org.SaveBusinessExample.main(SaveBusinessExample.java:34) Thanks!
