<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-color: #E5E5E5;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11;
        color: #000000;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
p, td                { font-size : 11; color : #000000; }
a:link,a:active,a:visited { color : #006699; }
a:hover                { text-decoration: underline; color : #DD6900; }
hr        { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1,h2                { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline        { background-color: #FFFFFF; border: 1px #98AAB1 solid; }


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; line-height: 12px}
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover        { color: #DD6900; text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink                { font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink         { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link        { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
        font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

-->
</style>
</head>
        <body>

        <div class="postbody">Good evening everyone.<br />
I try to connect PEtALS ESB and Master together. I got this exceptions (sample) on each endpoint deployed on the ESB :<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>Code:</b></span></td>        </tr>        <tr>          <td class="code"><br />
Caused by&#58; org.ow2.easywsdl.schema.api.SchemaException&#58; SchemaException&#58; the imported document cannot be import at&#58; xsd_5&#58; org.ow2.easywsdl.schema.api.SchemaException&#58; SchemaException&#58; java.io.FileNotFoundException&#58; /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 &#40;No such file or directory&#41;&#58; java.io.FileNotFoundException&#58; /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 &#40;No such file or directory&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude&#40;AbstractIncludeImpl.java&#58;147&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.<init>&#40;AbstractIncludeImpl.java&#58;101&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.api.abstractElmt.AbstractImportImpl.<init>&#40;AbstractImportImpl.java&#58;76&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.ImportImpl.<init>&#40;ImportImpl.java&#58;83&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.SchemaImpl.<init>&#40;SchemaImpl.java&#58;98&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readSchema&#40;SchemaReaderImpl.java&#58;299&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.read&#40;SchemaReaderImpl.java&#58;201&#41;<br />
&nbsp; &nbsp;at org.ow2.dragon.service.wsdl.WSDLManagerImpl.importServiceDefFile&#40;WSDLManagerImpl.java&#58;1329&#41;<br />
&nbsp; &nbsp;... 176 more<br />
Caused by&#58; org.ow2.easywsdl.schema.api.SchemaException&#58; SchemaException&#58; java.io.FileNotFoundException&#58; /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 &#40;No such file or directory&#41;&#58; java.io.FileNotFoundException&#58; /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 &#40;No such file or directory&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart&#40;SchemaReaderImpl.java&#58;257&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude&#40;AbstractIncludeImpl.java&#58;141&#41;<br />
&nbsp; &nbsp;... 183 more<br />
Caused by&#58; java.io.FileNotFoundException&#58; /home/marsoinator/weblab/apache-tomcat-6.0.18/bin/xsd_5 &#40;No such file or directory&#41;<br />
&nbsp; &nbsp;at java.io.FileInputStream.open&#40;Native Method&#41;<br />
&nbsp; &nbsp;at java.io.FileInputStream.<init>&#40;FileInputStream.java&#58;106&#41;<br />
&nbsp; &nbsp;at java.io.FileInputStream.<init>&#40;FileInputStream.java&#58;66&#41;<br />
&nbsp; &nbsp;at sun.net.www.protocol.file.FileURLConnection.connect&#40;FileURLConnection.java&#58;70&#41;<br />
&nbsp; &nbsp;at sun.net.www.protocol.file.FileURLConnection.getInputStream&#40;FileURLConnection.java&#58;161&#41;<br />
&nbsp; &nbsp;at java.net.URL.openStream&#40;URL.java&#58;1010&#41;<br />
&nbsp; &nbsp;at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart&#40;SchemaReaderImpl.java&#58;254&#41;<br />
<br />
...<br />
</td>        </tr></table><span class="postbody"><br />
<br />
So I think communication between ESB and Master is ok but WSDL importing from ESB endpoint is falling.<br />
<br />
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"/> :<br />
So my first question is : <br />
Is master able to manage XPATH imports ?<br />
<br />
My second question is more about how can I use correctly Master with PEtALS ESB.<br />
<br />
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 ?<br />
<br />
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 ?<br />
<br />
So here is my third question, is there a way to automatically expose in UDDI services which are listed in this web page : <a href="http://localhost:8084/petals/services/listServices" target="_blank">http://localhost:8084/petals/services/listServices</a> ?<br />
<br />
It works if I add a new service in Master using the exposed wsdl (for example <a href="http://localhost:8084/petals/services/repo?wsdl" target="_blank">http://localhost:8084/petals/services/repo?wsdl</a>), but in this case, there is no "ESB integration", and I have to add manually each exposed service.<br />
<br />
Thanks in advance for your response.<br />
<br />
Regards, Jérémie.</div>
        <div class="postbody"><br /><br /><hr /><br />Information Processing, Control and Cognition (IPCC)<br />
EADS Defence and Security Systems<br />
<a href="http://weblab-project.org" target="_blank">http://weblab-project.org</a></div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
<a href="http://petals.ebmwebsourcing.com/forum/m2f_usercp.php">Subscribe/Unsubscribe</a> emails notifications.<br />
<br />
Response to this email will be posted on the Petals forum.<br />
Please delete the existing text before responding :)<br />
<br />
Read the topic online:<br />
<a href="http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=30391#30391" target="_blank">http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=30391#30391</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>