[Users] PEtALS ESB integration errors and questions

Jérémie Doucy jdoucy at gmail.com
Wed Mar 16 10:38:49 CET 2011


Good evening everyone.
I try to connect PEtALS ESB and Master together. I got this exceptions (sample) on each endpoint deployed on the ESB :

Code:

Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: xsd_5: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 (No such file or directory): java.io.FileNotFoundException: /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 (No such file or directory)
	at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:147)
	at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.<init>(AbstractIncludeImpl.java:101)
	at org.ow2.easywsdl.schema.api.abstractElmt.AbstractImportImpl.<init>(AbstractImportImpl.java:76)
	at org.ow2.easywsdl.schema.impl.ImportImpl.<init>(ImportImpl.java:83)
	at org.ow2.easywsdl.schema.impl.SchemaImpl.<init>(SchemaImpl.java:98)
	at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readSchema(SchemaReaderImpl.java:299)
	at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.read(SchemaReaderImpl.java:201)
	at org.ow2.dragon.service.wsdl.WSDLManagerImpl.importServiceDefFile(WSDLManagerImpl.java:1329)
	... 176 more
Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 (No such file or directory): java.io.FileNotFoundException: /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 (No such file or directory)
	at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:257)
	at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:141)
	... 183 more
Caused by: java.io.FileNotFoundException: /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at java.net.URL.openStream(URL.java:1010)
	at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:254)

...




So I think communication between ESB and Master is ok but WSDL importing from ESB endpoint is falling.

Importation in the WSDL inside the bus is done using XPATH (automatically generated when the SU is deployed on the bus, I think) : <xs:import namespace="http://weblab-project.org/services/exception" schemaLocation="xpath://description/importedDocuments/document/xsd_1"/> :
So my first question is : 
Is master able to manage XPATH imports ?

My second question is more about how can I use correctly Master with PEtALS ESB.

In my point of view, only services exposed by PEtALS (consumes) should appear inside the UDDI registry, but if I look at what Master is trying to import, it's importing all my endpoints, is it a normal behavior ?

In fact I think that each client of my SOA platform should only use services exposed by the bus (consumes in jbi.xml), because if not, it means that if a client uses UDDI to get a list of available services on my SOA platform, he may be able to call a service without using the bus ?

So here is my third question, is there a way to automatically expose in UDDI services which are listed in this web page : http://localhost:8084/petals/services/listServices ?

It works if I add a new service in Master using the exposed wsdl (for example http://localhost:8084/petals/services/repo?wsdl), but in this case, there is no "ESB integration", and I have to add manually each exposed service.

Thanks in advance for your response.

Regards, Jérémie.

------------------------
Information Processing, Control and Cognition (IPCC)
EADS Defence and Security Systems
http://weblab-project.org




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=30391#30391

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/613ba326/attachment.htm>


More information about the Users mailing list