Hi Shawn,

Scout is a JAXR library to talk to a an XML registry. jUDDI is an implementation of such an XML based registry implementing the UDDI spec. jUDDI 2.x implements the UDDI v2 spec. jUDDI 3.x implements the UDDI v3 spec. Scout comes with its own configuration file: scout.properties. To have it create UDDIv3 requests use

scout.proxy.uddiVersion=3.0
scout.proxy.uddiNamespace=urn:uddi-org:api_v3

See also:

http://svn.apache.org/repos/asf/juddi/scout/trunk/src/test/resources/scoutv3.properties-example

ad 1. The reason for defaulting it to UDDI v2 is that JAXR 1.0 only talks about UDDI v2, and there is no new JAXR version to deal with UDDI v3. Scout support UDDI v3 only where the UDDI v2 and v3 feature set overlap.

ad 2. I think you are confusing the context jUDDI's webservices are deployed at with your webservices. You would deploy your services under a different context (not /juddi). You then will have to register them into jUDDI. You can do that by calling the jUDDI webservice API. Also we create annotations to do 'auto-registration' on deployment. See:

http://juddi.apache.org/docs/3.0/userguide/html/chap-UDDI_annotations.html

Hope that clears things up.

Cheers,

--Kurt

On 5/12/11 3:36 AM, Shawn Jiang wrote:
Hi devs,


1, There are both v2 and v3 impl classes in scout. And some of them has version properties, I noticed that the default version in V3Impl is 2.0.

org.apache.ws.scout.registry.RegistryV3Impl.DEFAULT_UDDI_VERSION=  "2.0";
org.apache.ws.scout.registry.RegistryV3Impl.DEFAULT_UDDI_NAMESPACE = "urn:uddi-org:api_v2";

My question is :

What's the reason to default the V3 impl to 2.0 ? How to specify the version I want to use in uddi war ? I tried juddiv3.properties but it seems not working.


2, I deploy the jaxws web services by myself and these deployed uddi services are not of default v3 services/xxxxService path.

For example, I deployed all the services to /juddi/xxxService. Where can I change these URL mapping with something below ?

juddi.proxy.inquiryURL = http://localhost:8080/juddi/UDDIInquiryService
juddi.proxy.publishURL = http://localhost:8080/juddi/UDDIPublicationService
juddi.proxy.securityURL = http://localhost:8080/juddi/UDDISecurityService


Thanks in advance !

--
Shawn

Reply via email to