Hi, I've installed the juddi portal bundle 3.0.4 and can register services OK 
(just using the root user and jUDDI authentication for now, and I've registered 
services through soapUI and with a client). I want to set up registration via 
annotations when services are deployed on Glassfish 2.1.1. Glassfish and the 
portal bundle are both running locally. I added the juddi-client and uddi-ws 
jars to glassfish and I can deploy annotated services using netbeans 7.0, but 
nothing is registered. There are a couple of warnings at the end of the 
glassfish output, which I've attached, along with the webservice bean and my 
uddi.xml (which is in META-INF when the jar is deployed). Any ideas where I'm 
going wrong or how to troubleshoot this? Couple of things I'm not sure about -- 
do I need to do anything to set up the clerk (BobCratchit) or the department 
referred to in uddi.xml? Thanks,

///glassfish output
Container com.sun.enterprise.webservice.JAXWSContainer@17b9ff2 doesn't support 
class com.sun.xml.ws.api.server.Module
LDR5010: All ejb(s) of [PeopleWS] loaded successfully!
com.sun.webui.jsf.component.DropDown::The current value of component 
propertyForm:propertyContentPage:propertySheet:propertSectionTextField:instanceNameProp:logFile
 does not match any of the selections. 
Did you forget to reset the value after changing the options? 
JSFT0003: VariableResolver was unable to find key (logEntryDetail) in 
ResourceBundle (help).
com.sun.webui.jsf.component.DropDown::The current value of component 
propertyForm:propertyContentPage:propertySheet:propertSectionTextField:instanceNameProp:logFile
 does not match any of the selections. 
Did you forget to reset the value after changing the options?

//uddi.xml -- I used the same uddi.xml (minus the clerks entry) successfully 
with a client based on the SimplePublish example
<?xml version="1.0" encoding="ISO-8859-1" ?>
<uddi>
  <reloadDelay>5000</reloadDelay>
  <manager name="people-ws">
    <nodes>
      <node>
        <name>default</name>
        <description>Main jUDDI node</description>  
        <properties>
          <property name="serverName"  value="localhost"/>
          <property name="serverPort"  value="8888"/>
          <property name="keyDomain"   value="juddi.apache.org"/>
          <property name="department"  value="businesses" />
        </properties>
        <!-- JAX-WS Transport -->
        
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
        <custodyTransferUrl>
          
http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl
        </custodyTransferUrl>
        <inquiryUrl>
          http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl
        </inquiryUrl>
        <publishUrl>
          http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl
        </publishUrl>
        <securityUrl>
          http://${serverName}:${serverPort}/juddiv3/services/security?wsdl
        </securityUrl>
        <subscriptionUrl>
          http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl
        </subscriptionUrl>
        <subscriptionListenerUrl>
          
http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl
        </subscriptionListenerUrl>
        <juddiApiUrl>
          http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl
        </juddiApiUrl>
      </node>
    </nodes>
    <clerks registerOnStartup="true">  
      <clerk name="BobCratchit" node="default" publisher="root" password="">  
        <class>uk.ac.susx.peoplews.session.PeopleWSServiceBean</class>  
      </clerk>  
    </clerks>
  </manager>
</uddi>

//part of the webservice bean

package uk.ac.susx.peoplews.session;

//imports

/**
 *
 * @author jb453
 */
@Stateless
@UDDIService(  
  businessKey="uddi:juddi.apache.org:cis",  /* this business is registered */
  serviceKey="uddi:cis-peoplews",  
  description = "The People service")   
@UDDIServiceBinding(  
  bindingKey="uddi:cis-peoplews-binding",  
  description="WSDL endpoint for the PeopleWS Service. This service is used for 
"
        + "stuff.",  
  accessPointType="wsdlDeployment",  
  
accessPoint="https://localhost:8181/PeopleWSBean_0_0_1/PeopleWSServiceBean?wsdl";)
@WebService(serviceName = "PeopleWSBean_0_0_1")
@RolesAllowed(value = "webTeamUser") 
public class PeopleWSServiceBean implements PeopleWSServiceBeanLocal {
    
   
    //constructor
    
    /*
     * Web methods
     */
    
    @WebMethod
    public Collection<PeopleDTO> getPeopleBySurname(@WebParam(name = "surname") 
String surname) {
        //etc
    }    
    
}





Reply via email to