I finally understand what it is you're trying to :). And yes you
*should* be possible to use the juddi client, but you're right you
can't use the JUDDIApi as this is specific to jUDDI, which is why it
is in a separate API. The other APIs are directly taken from the UDDI
spec, so they should work fine. To answer your question, we have not
tested it against Oracle's Registry. What you should do is compare the
WSDLs of the Security and Inquiry APIs. The service names you
mentioned earlier are taken directly from the WSDL. If Oracle/systinet
uses different names, then I guess they deviate from the spec, but we
maybe be able to make this configurable if this is the only thing
needed to make it work.
--Kurt
Cedric Perrot wrote:
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_Pub
l
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