You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by gigeril <ma...@knapp.com> on 2008/08/19 10:54:27 UTC

Problem on Deploying a ServiceAssembly with a ServiceUnit for JBI4Corba in Servicemix

I've tried to get the JBI4Corba BC from imolainfo (version 0.5). I don't know
how to configure the bc with a xbean.xml.

I tried to create a xbean.xml based on one from the sample SA (su1) (
http://sourceforge.net/project/showfiles.php?group_id=178722&package_id=206790
Link to the Sample ServiceAssembly ).
This xbean looks so:

<?xml version="1.0"?>
<beans>
  <bean class="it.imolinfo.jbi4corba.jbi.JbiServiceDescriptor">
    <property name="serviceNameSpace"
value="urn:it.imolinfo.jbi4corba.test.webservice.generator" />
    <property name="idlFileName" value="Echo.idl" />
    <property name="orbProperties">
      <props>
        <prop key="org.omg.CORBA.ORBInitialPort">1050</prop>
        <prop key="org.omg.CORBA.ORBInitialHost">raffaele</prop>
      </props>
    </property>
    <property name="serviceNames">
      <props>
        <prop
key="it.imolinfo.jbi4corba.test.webservice.generator.Echo">Echo</prop>
      </props>
    </property>
    <property name="localizationType" value="NameService" />
  </bean>
</beans> 


I wonder where are all the definitions for  service="", endpoint="",
role=""???? How can i configure this so that a http consumer can acces the
bc trough servicemix ??

As I deployed the Sampel SA I always get that Debug Output from Servicemix: 
DEBUG - HttpComponent                  - Retrieving proxied endpoint
definition
DEBUG - HttpComponent                  - Could not retrieve endpoint for
service/endpoint


does anyone have some information how to configure this bc??
-- 
View this message in context: http://www.nabble.com/Problem-on-Deploying-a-ServiceAssembly-with-a-ServiceUnit-for-JBI4Corba-in-Servicemix-tp19046565p19046565.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem on Deploying a ServiceAssembly with a ServiceUnit for JBI4Corba in Servicemix

Posted by Davide Gesino <wi...@libero.it>.
I think xbean deployment is no longer supported in recent versions, try
writing directly the WSDL 2.0.
-- 
View this message in context: http://www.nabble.com/Problem-on-Deploying-a-ServiceAssembly-with-a-ServiceUnit-for-JBI4Corba-in-Servicemix-tp19046565p21416172.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem on Deploying a ServiceAssembly with a ServiceUnit for JBI4Corba in Servicemix

Posted by gigeril <ma...@knapp.com>.
Does anyone have some information about deploying this bc?



gigeril wrote:
> 
> I've tried to get the JBI4Corba BC from imolainfo (version 0.5). I don't
> know how to configure the bc with a xbean.xml.
> 
> I tried to create a xbean.xml based on one from the sample SA (su1) (
> http://sourceforge.net/project/showfiles.php?group_id=178722&package_id=206790
> Link to the Sample ServiceAssembly ).
> This xbean looks so:
> 
> <?xml version="1.0"?>
> <beans>
>   <bean class="it.imolinfo.jbi4corba.jbi.JbiServiceDescriptor">
>     <property name="serviceNameSpace"
> value="urn:it.imolinfo.jbi4corba.test.webservice.generator" />
>     <property name="idlFileName" value="Echo.idl" />
>     <property name="orbProperties">
>       <props>
>         <prop key="org.omg.CORBA.ORBInitialPort">1050</prop>
>         <prop key="org.omg.CORBA.ORBInitialHost">raffaele</prop>
>       </props>
>     </property>
>     <property name="serviceNames">
>       <props>
>         <prop
> key="it.imolinfo.jbi4corba.test.webservice.generator.Echo">Echo</prop>
>       </props>
>     </property>
>     <property name="localizationType" value="NameService" />
>   </bean>
> </beans> 
> 
> 
> I wonder where are all the definitions for  service="", endpoint="",
> role=""???? How can i configure this so that a http consumer can acces the
> bc trough servicemix ??
> 
> As I deployed the Sampel SA I always get that Debug Output from
> Servicemix: 
> DEBUG - HttpComponent                  - Retrieving proxied endpoint
> definition
> DEBUG - HttpComponent                  - Could not retrieve endpoint for
> service/endpoint
> 
> 
> does anyone have some information how to configure this bc??
> 

-- 
View this message in context: http://www.nabble.com/Problem-on-Deploying-a-ServiceAssembly-with-a-ServiceUnit-for-JBI4Corba-in-Servicemix-tp19046565p19067576.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.