Bonjour,
j'ai installé et configuré comme il faut jUDDI, j'arrive à accéder à la page : http://localhost:9000/juddi/happyjuddi.jsp, par contre j'arrive pas à rajouter dans l'interface des services, quand je clique sur le bouton validate, j'obtiens le message : "Validation is not implemented yet. "...
Sinon j'ai essayé via UDDI4J de créer des services, mais ca commence mal :
Quand je lance la lance la méthode, j'obtiens cette exception :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 public static void main(String[] args) { UDDIProxy proxy = new UDDIProxy(); AuthToken authToken = new AuthToken(); try { // Creating a UDDIProxy proxy.setInquiryURL("http://localhost:9000/juddi/"); proxy.setPublishURL("https://localhost:9000/juddi/publishapi"); // get the proxy authentication... authToken = proxy.get_authToken("sviens", "password"); // Publish a business Listing... // Vector entities = new Vector(); // BusinessEntity be = new BusinessEntity("", null); // be.setName("Sample business"); // entities.addElement(be); }catch (MalformedURLException e) { e.printStackTrace(); }catch (TransportException e) { e.printStackTrace(); }catch(UDDIException e){ e.printStackTrace(); } }
Qqu'un aurait une proposition pour résoudre l'un de ces 2 pbs...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/soap/SOAPException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.uddi4j.transport.TransportFactory.getTransport(Unknown Source) at org.uddi4j.client.UDDIProxy.send(Unknown Source) at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source) at sample.FirstSample.main(FirstSample.java:25)
Merci par avance
Partager