Hi Kurt, Finally, I've got it!!  Thanks a lot for your help. 
 MarilinaDate: Wed, 22 Feb 2012 09:25:16 -0500
From: [email protected]
To: [email protected]
Subject: Re: simple-publish problem


  


    
  
  
    Hi Marilina,

    

    The .project file is an eclipse file. The m2eclipse plugin can
    create both the .project and .classpath file for you by using the
    pom.xml. You do need a valid project when running in eclipse, but
    you do not need either file if you run from the command line. Since
    each IDE has their own artifacts we don't check those into the SVN.

    

    I attached a little screen cast on how to set it up. I use Working
    Sets since I have a lot of projects, but that is optional.

    

    Hope this helps,

    

    --Kurt

    

    

    

    On 2/22/12 6:06 AM, Marilina Ferrer wrote:
    
      
      
        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