<!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">Hi,<br />
<br />
It doen´t seem to be that bad.<br />
<br />
I have managed to get JBI4Corba Source from <a href="http://sourceforge.net/projects/jbi4corba/develop" target="_blank" class="postlink">SVN repository</a> making the Corba endpoint to work. <br />
Debugging the component it seemed that the problem was that the JBI4Corba component was not identifying the services offered from the jbi.xml file as it was.<br />
<br />
I have modified the jbi.xml to something simpler, withouth especific jbi namespace and also aligning the endpoint name with the wsdl port name and seems to work:<br />
<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 />
<?xml version="1.0" encoding="UTF-8"?><br />
<jbi xmlns="http&#58;//java.sun.com/xml/ns/jbi"<br />
&nbsp; &nbsp;xmlns&#58;corba_urn="http&#58;//Hello" version="1.0"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <services binding-component="true"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;<!-- Import a Service into PEtALS => provides a Service. --><br />
&nbsp; &nbsp;&nbsp; &nbsp;<provides &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;interface-name="corba_urn&#58;HelloPortType"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;service-name="corba_urn&#58;Hello"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;endpoint-name="HelloCorbaPort"/><br />
&nbsp; &nbsp;</services><br />
</jbi><br />
</td>        </tr></table><span class="postbody"><br />
<br />
With this definition, the component identifies the provides section and the endpoint is created. <br />
<br />
An additional thing to do is to have in the classpath of the ESB the IDL2Java compiler available in the tools.jar of the jdk.<br />
What I did for the test was just to copy the tools.jar to my jre lib/ext directory.<br />
<br />
Now I have the corba endpoint registered and the Java classes generated.<br />
<br />
I still need to try in the whole thing works with the Corba service listening.<br />
<br />
jmt</div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
Read this forum topic online here:<br />
<a href="http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=802#802" target="_blank">http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=802#802</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>