Ah the server port is in the yoko.server.Server java source code. Its the endpoint address:
System.out.println("Starting Server"); Object implementor = new HelloWorldImpl(); String address = "corbaloc::localhost:40000/hw"; Endpoint.publish(address, implementor); 2007/7/13, Mosur Ravi, Balaji <[EMAIL PROTECTED]>:
You would need to specify the address in the wsdl. corba:address extension element of the wsdl:port. Take a look at the samples again for an example. - Balaji -----Original Message----- From: Lukas Zapletal [mailto:[EMAIL PROTECTED] Sent: Fri 7/13/2007 8:38 AM To: yoko-dev@incubator.apache.org Subject: Re: How to use Yoko Binding with 3rd party ORB? Ok. Where can I configure the port to bind the ORB on? <bean class="org.apache.yoko.bindings.corba.CorbaBindingFactory" lazy-init="true"> <property name="bus" ref="cxf"/> <property name="activationNamespaces"> <set> <value>http://schemas.apache.org/yoko/bindings/corba</value> </set> </property> <property name="transportIds"> <list> <value>http://schemas.apache.org/yoko/bindings/corba</value> </list> </property> <property name="orbClass"> <value>org.apache.yoko.orb.CORBA.ORB</value> </property> <property name="orbSingletonClass"> <value>org.apache.yoko.orb.CORBA.ORBSingleton</value> </property> <property name="orbArgs"> <list> <value/> </list> </property> </bean> Or the wrong config file? 2007/7/13, Mosur Ravi, Balaji <[EMAIL PROTECTED]>: > The spring configuration file of yoko is used to hook in to cxf. CXF > registers the binding factory with the namespace specified in the file & > when a service uses that namespace that binding factory is invoked. > > JAX-WS api is used in the server & client to publish endpoint & to get > the proxy port resp. > > CXF doesn't understand any YOKO specific details. Since CXF uses JAX-ws > as a programming model, we use it to hook Yoko to integrate with the cxf > service engine. > > - Balaji > > -----Original Message----- > From: Lukas Zapletal [mailto:[EMAIL PROTECTED] > Sent: Friday, July 13, 2007 8:11 AM > To: yoko-dev@incubator.apache.org > Subject: Re: How to use Yoko Binding with 3rd party ORB? > > Thank you. If I understand correctly with this setting Yoko CORBA > Bridge will work but different ORB will be used for dispatching > requests, right? > > By the way how Yoko ORB is run in the Apache CXF? I mean the CXF > project runs as Servlet (or standalone using Jetty). When running as > servlet in which phase does CXF create the ORB listening server? > > Or have I to deploy Yoko myself using other technology (like JMX > Service in JBoss)? > > LZ > > 2007/7/13, Mosur Ravi, Balaji <[EMAIL PROTECTED]>: > > There is a spring configuration file that needs to be changed. Take a > look at: > bindings/src/main/resources/META-INF/cxf/cxf-extension-corba.xml. You > would need to change the ORBClass & ORBSingletonClass... Then pass this > custom configuration using the system property > -Dcxf.config.file=<config>.xml > > > > - Balaji > > > > > > -----Original Message----- > > From: Lukas Zapletal [mailto:[EMAIL PROTECTED] > > Sent: Fri 7/13/2007 4:19 AM > > To: yoko-dev@incubator.apache.org > > Subject: How to use Yoko Binding with 3rd party ORB? > > > > Hello, > > > > I think Yoko CORBA Binding with CXF can help me implement my > > CORBA-SOAP bridge. The bridge could be written as CXF web service > > relay that will translate all web services to 3rd party WS vendor > > server. I wont need to implement very difficult CORBA to WSDL binding > > and let the hard work on Yoko and focus on finding bugs. > > > > There is only one problem - I must use different ORBs: JacORB and > > VisiBroker. Is it possible to use Yoko Binding in CXF with 3rd party > > vendor? I was told on this list that it should be possible. So what do > > I need to change if I would like to run the hello_world and bank > > examples with JacORB? I am very sceptic here because I think Yoko must > > implement some special functionality to get the binding stuff working. > > > > Thank you very much for help > > > > -- > > Lukas Zapletal > > http://lukas.zapletalovi.com > > > > > > > -- > Lukas Zapletal > http://lukas.zapletalovi.com > -- Lukas Zapletal http://lukas.zapletalovi.com
-- Lukas Zapletal http://lukas.zapletalovi.com