Hello everyone
After investigating the juddi client for almost 2 days, I have to ask
you. Have you ever tested a UDDI Registry other than jUDDI? Is it even
possible to integrate Oracle's Registry with the
org.apache.juddi.api.impl.JUDDIApiImpl dependency in the client
library, which is only implemented by jUDDI?!?!?
Is there a way for a slick integration of the client to connect to
another UDDI Registry????? If yes, how. Any help greatly appreciated.
Thanks in advance
Regards
Cedric
*From:* Cedric Perrot [mailto:[email protected]]
*Sent:* Wednesday, January 06, 2010 12:07 PM
*To:* '[email protected]'
*Cc:* 'Kurt T Stam'; '[email protected]'; '[email protected]';
'[email protected]'; 'Steve Viens'; '[email protected]'
*Subject:* RE: jUDDI and SSL
Hello Tom
I am trying to create a webservice running in glassfish app server
using the juddi client libraries. I want to register the webservice
with Oracle Registry 11.1 (Systinet).
The error mentioned below is thrown in your code of the juddi client.
Your Transport.java class file
> public final static String INQUIRY_SERVICE = "UDDIInquiryService";
> public final static String SECURITY_SERVICE = "UDDISecurityService";
> public final static String PUBLISH_SERVICE = "UDDIPublishService";
And the exception is being thrown here in the jUddi class
JAXWSTransport.java
public UDDISecurityPortType getUDDISecurityService(String
endpointURL) throws TransportException {
if (securityService==null) {
try {
if (endpointURL==null) endpointURL =
UDDIClerkManager.getClientConfig().getUDDINode(nodeName).getSecurityUrl();
QName qName = new
QName(Transport.API_V3_NAMESPACE, Transport.SECURITY_SERVICE);
*>> exception thrown here >>> Service service = Service.create(new
URL(endpointURL), qName);*
securityService = (UDDISecurityPortType)
service.getPort(UDDISecurityPortType.class);
} catch (Exception e) {
throw new TransportException(e.getMessage(), e);
}
}
return securityService;
}
I hope I made myself clearer this time.
Thanks again for your swift replies, it is highly appreciated.
Regards
Cedric
-----Original Message-----
From: Tom Cunningham [mailto:[email protected]]
Sent: Wednesday, January 06, 2010 12:13 AM
To: Cedric Perrot
Cc: 'Kurt T Stam'; [email protected]; [email protected];
[email protected]; 'Steve Viens'; [email protected]
Subject: Re: jUDDI and SSL
Cedric,
Back to Kurt's question- you're trying to bring jUDDI up under https?
Looks like your problem below is lack of underscores
(UDDISecurityService != UDDI_SecuritySoapService). Can you
configure this in your webservice descriptor rather than changing code?
--Tom
Cedric Perrot wrote:
> Hello Kurt
>
> I found the problem with PKIX certificate error. I was under the
assumption
> that the application server would take the JAVA keystore whereas it
has its
> own. I added the certificate to the application servers keystore and it
> doesn't throw the PKIX error but now a new one which I think is
about the
> interfaces of the Oracle Registry.
>
> Any hints are highly appreciated:
>
> Error message:
> javax.xml.ws.WebServiceException:
> {urn:uddi-org:api_v3_portType}UDDISecurityService is not a valid
service.
> Valid services are:
>
{urn:uddi-org:api_v3}UDDI_Inquiry_SoapService,{urn:uddi-org:api_v3}UDDI_Publ
> ication_SoapService,{urn:uddi-org:api_v3}UDDI_Security_SoapService
>
> do I need to change the Strings:
> public final static String INQUIRY_SERVICE =
> "UDDIInquiryService";
> public final static String SECURITY_SERVICE =
> "UDDISecurityService";
> public final static String PUBLISH_SERVICE =
> "UDDIPublishService";
> to
> public final static String INQUIRY_SERVICE =
> "UDDI_Inquiry_SoapService";
> public final static String SECURITY_SERVICE =
> "UDDI_Security_SoapService";
> public final static String PUBLISH_SERVICE =
> "UDDI_Publication_SoapService";
>
> is Oracle Registry not conforming to standards?????
>
> Thanks for your help guys.
>
> Regards
>
> Cedric
>
>
> -----Original Message-----
> From: Kurt T Stam [mailto:[email protected]]
> Sent: Tuesday, January 05, 2010 8:33 PM
> To: Cedric Perrot
> Cc: [email protected]; [email protected]; [email protected]; Steve
Viens;
> [email protected]
> Subject: Re: jUDDI and SSL
>
> Cedric Perrot wrote:
>
>> Hello everyone
>>
>> I am using your jUDDI libraries as client only as I'm using Oracle
>> Registry 11.1.
>>
>> Is there a way to connect to https publishing services? I am getting
>> the PKIX certificate error in Java.
>>
>> Although, I have imported the certificate into the cacerts of my
jdk1.6.
>>
>> All test client are working like a breeze. Is there anything which
>> needs to be configured to connect to a https publishing url?
>>
>> Thanks in advance for your help.
>>
>> Regards
>>
>> Cedric
>>
>>
> Hi Cedric,
>
> I'm not sure what you're trying to do, bringing jUDDI up on https or
> registering https services in jUDDI.
>
> Thx,
>
> --Kurt
>
>