Hi Kurt,thanks for your fast response.I've looked this two points and I get a 
wsdl and the uddi.xml has the same port as point 1.So, I decided to do it again.
I checkout the project from svn 
(http://svn.apache.org/repos/asf/juddi/trunk/docs/examples/simple-publish/)
and  I've the folder src and two files the pom.xml and README.txt, but there 
isn't file .project as the demo shows.
Am I doing anything wrong?
Marilina
 Date: Tue, 21 Feb 2012 10:30:54 -0500
From: [email protected]
To: [email protected]
Subject: Re: simple-publish problem


  


    
  
  
    Hi Marilina,

    

    So it looks like your 'security' Port is null. You should make sure
    you have a running (j)UDDI server and that the (clientside) uddi.xml
    contains the right connection info.

    

    1. Check http://localhost:8080/juddiv3/services/security?wsdl gives
    you a wsdl (this checks the server is up and running on post 8080
    and that the webservices are deployed.

    

    2. Make sure that on the client side the META-INF/uddi.xml is on the
    classpath, and contains the same port as found out in 1.

    

    Cheers,

    

    --Kurt

    

    On 2/21/12 7:09 AM, Marilina Ferrer wrote:
    
      
        
          
            
              
                
                
                  Hi,

                   

                  I'm trying to run the simple-publish example,I've
                  followed the demo detailed in your blog and I've this
                  error when I compile the code:
                

                   
                
                        java.lang.NullPointerException
                      
                       at
                        org.apache.juddi.example.publish.SimplePublish.publish(
                    
                  SimplePublish.java:59)
                   at
                      org.apache.juddi.example.publish.SimplePublish.main(

                    

                  SimplePublish.java:120)

                
                
---------------------------------------------------------------------------------
 
                 
                Line 59 -->  AuthToken
                    rootAuthToken = 

                  security.getAuthToken(getAuthTokenRoot);

                
                 
                Line 120--> 
                     SimplePublish sp = 
                  
                  new SimplePublish();
                   sp.publish(); 

                  
                Can you tell me where is the problem?
                 
                Thanks a lot,
                 
                Maria

                   

                
              
            
          
        
      
    
    
                                          

Reply via email to