<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>yoko-user@incubator.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/</id>
<updated>2013-05-21T08:31:16Z</updated>
<entry>
<title>Exception while binding servant</title>
<author><name>Wojtek Janiszewski &lt;wojtek.janiszewski@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200808.mbox/%3c48B0977E.70201@gmail.com%3e"/>
<id>urn:uuid:%3c48B0977E-70201@gmail-com%3e</id>
<updated>2008-08-23T23:04:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;I'm not sure if this problem really regards to Yoko, maybe it's &#010;something with Yoko configuration in Geronimo. I'm getting following &#010;error during binding CORBA servant:&#010;&#010;[start of stack trace]&#010;&#010;org.omg.CORBA.BAD_OPERATION: :  vmcid: 0x0 minor code: 0x0  completed: No&#010;&#009;at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:25)&#010;&#009;at &#010;org.apache.yoko.orb.CORBA.OutputStream.write_Object(OutputStream.java:1180)&#010;&#009;at org.omg.CORBA.ObjectHelper.write(ObjectHelper.java:43)&#010;&#009;at &#010;org.omg.CosNaming._NamingContextExtStub.rebind(_NamingContextExtStub.java:297)&#010;&#009;at MyServlet.doGet(MyServlet.java:43)&#010;&#009;at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)&#010;&#009;at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)&#010;&#009;at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)&#010;&#009;at &#010;org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)&#010;&#009;at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)&#010;&#009;at &#010;org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)&#010;&#009;at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)&#010;&#009;at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)&#010;&#009;at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)&#010;&#009;at &#010;org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59)&#010;&#009;at &#010;org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)&#010;&#009;at &#010;org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)&#010;&#009;at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)&#010;&#009;at org.mortbay.jetty.Server.handle(Server.java:324)&#010;&#009;at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)&#010;&#009;at &#010;org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)&#010;&#009;at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)&#010;&#009;at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)&#010;&#009;at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)&#010;&#009;at &#010;org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)&#010;&#009;at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)&#010;&#009;at &#010;org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)&#010;&#009;at &#010;java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)&#010;&#009;at &#010;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)&#010;&#009;at java.lang.Thread.run(Thread.java:619)&#010;&#010;[end of stack trace]&#010;&#010;The code which I'm running is:&#010;&#010;[start of MyServlet class]&#010;&#010;public class MyServlet extends HttpServlet {&#010;&#010;     protected void doGet(HttpServletRequest req, HttpServletResponse &#010;resp) throws ServletException, IOException {&#010;         try {&#010;             InitialContext ctx = new InitialContext();&#010;             ORB orb = (ORB)ctx.lookup("java:comp/ORB");&#010;             NamingContextExt nce = &#010;NamingContextExtHelper.narrow(orb.resolve_initial_references("NameService"));&#010;             NameComponent nc = new NameComponent("path", "");&#010;             MyServant serv = new MyServant();&#010;             nce.rebind(new NameComponent[] {nc}, serv);&#010;             resp.getOutputStream().write("success!".getBytes());&#010;         } catch (Exception e) {&#010;             throw new ServletException(e);&#010;         }&#010;     }&#010;&#010;}&#010;&#010;[end of MyServlet class]&#010;&#010;[start of MyServant class]&#010;&#010;public class MyServant extends ObjectImpl implements InvokeHandler {&#010;&#010;     @Override&#010;     public String[] _ids() {&#010;         // TODO Auto-generated method stub&#010;         return new String[] {"IDL:something:1.0"};&#010;     }&#010;&#010;     public OutputStream _invoke(String method, InputStream input, &#010;ResponseHandler handler) throws SystemException {&#010;         // TODO Auto-generated method stub&#010;         return null;&#010;     }&#010;&#010;}&#010;&#010;[end of MyServant class]&#010;&#010;Configuration:&#010;Geronimo 2.1.2&#010;Linux 2.6&#010;JDK 1.5.0_09/1.6.0_02.&#010;&#010;Where could be the problem? Maybe I'm missing something?&#010;&#010;Thanks,&#010;Wojtek&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>a generic question about marshalling</title>
<author><name>zhangguoping@gmail.com</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200711.mbox/%3c8a9435f80711211831v78737e40x842c66ed75f4b412@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8a9435f80711211831v78737e40x842c66ed75f4b412@mail-gmail-com%3e</id>
<updated>2007-11-22T02:31:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;I want to ask a question about IIOP Marshalling?&#010;&#010;In java to idl specification, it says if an object implements&#010;writeObject method, it needs to be mapped to custom value type.&#010;But in IBM's JDK AIX version, java.util.Vector does not have&#010;writeObject method, but in Sun's JDK, java.util.Vector has writeObject&#010;method.&#010;Custom value type with writeObject would marshall differently as it&#010;would add format id and a boolean to indicate whether&#010;defaultWriteObject called or not.&#010;Because of this, Vector would be mapped different in IDL and hence it&#010;would be marshalled differently.&#010;So how to solve this problem as client/server side has different class&#010;definition? How does one side know if it is custom value type&#010;marshalling except looking into class definition?&#010;&#010;Thanks,&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: where is the IDLToWSDL tool in the latest Yoko realse?</title>
<author><name>&quot;Meir Yanovich&quot; &lt;meiry@fts-soft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200710.mbox/%3c7FF923B77C9A3D46BD808F3BD91473AC02F47991@ftsmail.fts-soft.com%3e"/>
<id>urn:uuid:%3c7FF923B77C9A3D46BD808F3BD91473AC02F47991@ftsmail-fts-soft-com%3e</id>
<updated>2007-10-25T10:52:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi when I try to build all Yoko&#010;Im getting this error :&#010;&#010;&#010;$ mvn -e install&#010;+ Error stacktraces are turned on.&#010;[INFO] Scanning for projects...&#010;[INFO] Reactor build order: &#010;[INFO]   Apache Yoko CORBA Server&#010;[INFO]   Apache Yoko CORBA Spec&#010;[INFO]   Apache Yoko RMI Spec&#010;[INFO]   Apache Yoko Core&#010;[INFO]   Apache Yoko RMI Implementation&#010;[INFO]   Apache Yoko Public API&#010;[INFO]   Apache Yoko Command Line Tools&#010;[INFO]   Apache Yoko Maven plugins&#010;[INFO]   Apache Yoko Bindings&#010;[INFO]   Apache Yoko Distribution&#010;[INFO]&#010;------------------------------------------------------------------------&#010;----&#010;[INFO] Building Apache Yoko CORBA Server&#010;[INFO]    task-segment: [install]&#010;[INFO]&#010;------------------------------------------------------------------------&#010;----&#010;[INFO] Skipping missing optional mojo:&#010;org.apache.maven.plugins:maven-site-plugin:attach-descriptor&#010;[INFO] artifact org.apache.maven.plugins:maven-one-plugin: checking for&#010;updates from apache-snapshots&#010;[WARNING] repository metadata for: 'artifact&#010;org.apache.maven.plugins:maven-one-plugin' could not be retrieved from&#010;repository: apache-snapshots due to an error: Error transferring file&#010;[INFO] Repository 'apache-snapshots' will be blacklisted&#010;[INFO] [install:install]&#010;[INFO] Installing&#010;d:\Java_2\Web_Services\yoko-distribution-1.0-incubating-M2-src\yoko-incu&#010;bating-src-1.0-M2\pom.xml to C:\Documents and&#010;Settings\vmware\.m2\repository\org\apache\yoko\yoko\1.0-incubating-M2\yo&#010;ko-1.0-incubating-M2.pom&#010;[INFO] [maven-one-plugin:install-maven-one-repository {execution:&#010;default}]&#010;[INFO] Installing&#010;d:\Java_2\Web_Services\yoko-distribution-1.0-incubating-M2-src\yoko-incu&#010;bating-src-1.0-M2\pom.xml to C:\Documents and&#010;Settings\vmware\.maven\repository\org.apache.yoko\poms\yoko-1.0-incubati&#010;ng-M2.pom&#010;[INFO]&#010;------------------------------------------------------------------------&#010;----&#010;[INFO] Building Apache Yoko CORBA Spec&#010;[INFO]    task-segment: [install]&#010;[INFO]&#010;------------------------------------------------------------------------&#010;----&#010;[INFO] [idlj:generate {execution: default}]&#010;[INFO] [resources:resources]&#010;[INFO] Using default encoding to copy filtered resources.&#010;[INFO] [compiler:testCompile]&#010;[INFO] Nothing to compile - all classes are up to date&#010;[INFO] [surefire:test]&#010;[INFO] Setting reports dir:&#010;D:\Java_2\Web_Services\yoko-distribution-1.0-incubating-M2-src\yoko-incu&#010;bating-src-1.0-M2\yoko-spec-corba\target/surefire-reports&#010;Unrecognized option: -ea&#010;Could not create the Java virtual machine.&#010;[INFO]&#010;------------------------------------------------------------------------&#010;[ERROR] BUILD ERROR&#010;[INFO]&#010;------------------------------------------------------------------------&#010;[INFO] There are test failures.&#010;[INFO]&#010;------------------------------------------------------------------------&#010;[INFO] Trace&#010;org.apache.maven.lifecycle.LifecycleExecutionException: There are test&#010;failures.&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default&#010;LifecycleExecutor.java:564)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec&#010;ycle(DefaultLifecycleExecutor.java:480)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL&#010;ifecycleExecutor.java:459)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle&#010;Failures(DefaultLifecycleExecutor.java:311)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(&#010;DefaultLifecycleExecutor.java:278)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec&#010;ycleExecutor.java:143)&#010;        at&#010;org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)&#010;        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)&#010;        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)&#010;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#010;        at&#010;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav&#010;a:39)&#010;        at&#010;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor&#010;Impl.java:25)&#010;        at java.lang.reflect.Method.invoke(Method.java:585)&#010;        at&#010;org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)&#010;        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)&#010;        at&#010;org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)&#010;        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)&#010;Caused by: org.apache.maven.plugin.MojoExecutionException: There are&#010;test failures.&#010;        at&#010;org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:389)&#010;        at&#010;org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa&#010;nager.java:443)&#010;        at&#010;org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default&#010;LifecycleExecutor.java:539)&#010;        ... 16 more&#010;[INFO]&#010;------------------------------------------------------------------------&#010;[INFO] Total time: 1 minute 5 seconds&#010;[INFO] Finished at: Thu Oct 25 12:48:47 IST 2007&#010;[INFO] Final Memory: 8M/15M&#010;[INFO]&#010;------------------------------------------------------------------------&#010;&#010;&#010;&#010;-----Original Message-----&#010;From: Nolan, Edell [mailto:Edell.Nolan@iona.com] &#010;Sent: Thursday, October 25, 2007 11:38 AM&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi,&#010;&#010;I actually remember now the last release had just the core orb related&#010;stuff as the release was needed by Geronimo&#010;And the bindings and tools were now in a stable position at the time. &#010;&#010;One way to get these is to do a checkout and then run mvn install in the&#010;tools directory and you should get the tools jar.&#010;&#010; svn checkout http://svn.apache.org/repos/asf/incubator/yoko/trunk &#010;&#010;Hope this helps, Edell.&#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com] &#010;Sent: 25 October 2007 10:30&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi&#010;I downloaded the just one zip from : &#010;http://cwiki.apache.org/YOKO/download.html&#010;no yoko-tools.jar there ...&#010;&#010;-----Original Message-----&#010;From: Nolan, Edell [mailto:Edell.Nolan@iona.com]&#010;Sent: Thursday, October 25, 2007 10:58 AM&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi,&#010;&#010;It should be in the yoko-tools.jar - have you downloaded this jar.&#010;&#010;What version have you downloaded.&#010;&#010;Edell. &#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com]&#010;Sent: 25 October 2007 08:34&#010;To: yoko-user@incubator.apache.org&#010;Subject: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hello all&#010;Im trying to find away to expose Corba idl as web services And in my&#010;search I found about Yoko project , I download the zip But I can't find&#010;the IDLtoWSDL to there .. do I miss something? &#010;Thanks &#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland) Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4,&#010;Ireland&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4,&#010;Ireland&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: where is the IDLToWSDL tool in the latest Yoko realse?</title>
<author><name>&quot;Nolan, Edell&quot; &lt;Edell.Nolan@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200710.mbox/%3cE91104197DA2654DA833B6EB53B6C48802AA3227@emea-ems1.IONAGLOBAL.com%3e"/>
<id>urn:uuid:%3cE91104197DA2654DA833B6EB53B6C48802AA3227@emea-ems1-IONAGLOBAL-com%3e</id>
<updated>2007-10-25T09:38:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;I actually remember now the last release had just the core orb related&#010;stuff as the release was needed by Geronimo&#010;And the bindings and tools were now in a stable position at the time. &#010;&#010;One way to get these is to do a checkout and then run mvn install in the&#010;tools directory and you should get the tools jar.&#010;&#010; svn checkout http://svn.apache.org/repos/asf/incubator/yoko/trunk &#010;&#010;Hope this helps, Edell.&#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com] &#010;Sent: 25 October 2007 10:30&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi&#010;I downloaded the just one zip from : &#010;http://cwiki.apache.org/YOKO/download.html&#010;no yoko-tools.jar there ...&#010;&#010;-----Original Message-----&#010;From: Nolan, Edell [mailto:Edell.Nolan@iona.com]&#010;Sent: Thursday, October 25, 2007 10:58 AM&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi,&#010;&#010;It should be in the yoko-tools.jar - have you downloaded this jar.&#010;&#010;What version have you downloaded.&#010;&#010;Edell. &#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com]&#010;Sent: 25 October 2007 08:34&#010;To: yoko-user@incubator.apache.org&#010;Subject: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hello all&#010;Im trying to find away to expose Corba idl as web services And in my&#010;search I found about Yoko project , I download the zip But I can't find&#010;the IDLtoWSDL to there .. do I miss something? &#010;Thanks &#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland) Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4,&#010;Ireland&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: where is the IDLToWSDL tool in the latest Yoko realse?</title>
<author><name>&quot;Meir Yanovich&quot; &lt;meiry@fts-soft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200710.mbox/%3c7FF923B77C9A3D46BD808F3BD91473AC02F478F7@ftsmail.fts-soft.com%3e"/>
<id>urn:uuid:%3c7FF923B77C9A3D46BD808F3BD91473AC02F478F7@ftsmail-fts-soft-com%3e</id>
<updated>2007-10-25T09:30:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi &#010;I downloaded the just one zip from : &#010;http://cwiki.apache.org/YOKO/download.html&#010;no yoko-tools.jar there ...&#010;&#010;-----Original Message-----&#010;From: Nolan, Edell [mailto:Edell.Nolan@iona.com] &#010;Sent: Thursday, October 25, 2007 10:58 AM&#010;To: yoko-user@incubator.apache.org&#010;Subject: RE: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hi,&#010;&#010;It should be in the yoko-tools.jar - have you downloaded this jar.&#010;&#010;What version have you downloaded.&#010;&#010;Edell. &#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com] &#010;Sent: 25 October 2007 08:34&#010;To: yoko-user@incubator.apache.org&#010;Subject: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hello all&#010;Im trying to find away to expose Corba idl as web services And in my&#010;search I found about Yoko project , I download the zip But I can't find&#010;the IDLtoWSDL to there .. do I miss something? &#010;Thanks &#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4,&#010;Ireland&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: where is the IDLToWSDL tool in the latest Yoko realse?</title>
<author><name>&quot;Nolan, Edell&quot; &lt;Edell.Nolan@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200710.mbox/%3cE91104197DA2654DA833B6EB53B6C48802AA3222@emea-ems1.IONAGLOBAL.com%3e"/>
<id>urn:uuid:%3cE91104197DA2654DA833B6EB53B6C48802AA3222@emea-ems1-IONAGLOBAL-com%3e</id>
<updated>2007-10-25T08:58:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;It should be in the yoko-tools.jar - have you downloaded this jar.&#010;&#010;What version have you downloaded.&#010;&#010;Edell. &#010;&#010;-----Original Message-----&#010;From: Meir Yanovich [mailto:meiry@fts-soft.com] &#010;Sent: 25 October 2007 08:34&#010;To: yoko-user@incubator.apache.org&#010;Subject: where is the IDLToWSDL tool in the latest Yoko realse?&#010;&#010;Hello all&#010;Im trying to find away to expose Corba idl as web services And in my&#010;search I found about Yoko project , I download the zip But I can't find&#010;the IDLtoWSDL to there .. do I miss something? &#010;Thanks &#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>where is the IDLToWSDL tool in the latest Yoko realse?</title>
<author><name>&quot;Meir Yanovich&quot; &lt;meiry@fts-soft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200710.mbox/%3c7FF923B77C9A3D46BD808F3BD91473AC02F477F7@ftsmail.fts-soft.com%3e"/>
<id>urn:uuid:%3c7FF923B77C9A3D46BD808F3BD91473AC02F477F7@ftsmail-fts-soft-com%3e</id>
<updated>2007-10-25T07:33:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all&#010;Im trying to find away to expose Corba idl as web services &#010;And in my search I found about Yoko project , I download the zip &#010;But I can't find the IDLtoWSDL to there .. do I miss something? &#010;Thanks &#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3cb5a439280708052343j1546e000x5042fca4369c2b5d@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280708052343j1546e000x5042fca4369c2b5d@mail-gmail-com%3e</id>
<updated>2007-08-06T06:43:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Corba service and WS client (using SOAP or XML binding) with Dispatch&lt;Source&gt; should&#010;work. The problem you run into (NPE in CorbaStreamOutInterceptor.java:78 or NPE in TypeMapCache.java:38)&#010;seems all related to Corba binding not being properly initialized, CXF runtime tries to retrieve&#010;Corba binding info from service model, but it returns null.&#010;&#010;Is there a way to init it by hand? I am unable to move forward...&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Liu, Jervis&quot; &lt;jliu@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3c9A4696F35B459043970EE4A85A3173900668F9@amer-ems1.IONAGLOBAL.COM%3e"/>
<id>urn:uuid:%3c9A4696F35B459043970EE4A85A3173900668F9@amer-ems1-IONAGLOBAL-COM%3e</id>
<updated>2007-08-05T02:23:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#013;&#010;&#013;&#010;&gt; -----Original Message-----&#013;&#010;&gt; From: Lukas Zapletal [mailto:lukas.zapletal@gmail.com]&#013;&#010;&gt; Sent: 2007年8月3日 18:21&#013;&#010;&gt; To: cxf-user@incubator.apache.org&#013;&#010;&gt; Cc: yoko-user@incubator.apache.org&#013;&#010;&gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&gt; &#013;&#010;&gt; &#013;&#010;&gt; Hello,&#013;&#010;&gt; &#013;&#010;&gt; &gt; To get Dispatch/Provider interface working with CORBA &#013;&#010;&gt; binding, we need to figure out what the T is in the Provider&lt;T&gt;.&#013;&#010;&gt; &#013;&#010;&gt; I understand. Its a question to Yoko developers.&#013;&#010;&gt; &#013;&#010;&gt; &gt; If you use CORBA server &amp; web services client as described &#013;&#010;&gt; in YOKO ws\hello_world sample (i.e., the server is using &#013;&#010;&gt; CORBA binding, the client is using SOAP or XML binding), &#013;&#010;&gt; Dispatch&lt;Source&gt; should definitely work, because what sent on &#013;&#010;&gt; the wire is SOAP or XML message.&#013;&#010;&gt; &#013;&#010;&gt; You say you have CORBA service and WS client implemented with&#013;&#010;&gt; Dispatch&lt;Source&gt; should work? Or what you mean exactly with working&#013;&#010;&gt; Dispatch?&#013;&#010;&gt; &#013;&#010;&#013;&#010;Corba service and WS client (using SOAP or XML binding) with Dispatch&lt;Source&gt; should&#010;work. The problem you run into (NPE in CorbaStreamOutInterceptor.java:78 or NPE in TypeMapCache.java:38)&#010;seems all related to Corba binding not being properly initialized, CXF runtime tries to retrieve&#010;Corba binding info from service model, but it returns null.&#013;&#010;&#013;&#010;&#013;&#010;&gt; Talking about WS client calling CORBA we have tried to use dynamic&#013;&#010;&gt; proxy over CORBA and it doesnt work:&#013;&#010;&gt; &#013;&#010;&gt;             QName svcQname = new QName(&#013;&#010;&gt;                     "http://schemas.apache.org/yoko/idl/calc",&#013;&#010;&gt;                     "com.pikeelectronic.calc.CalculatorCORBAService");&#013;&#010;&gt;             QName portQName = new QName(&#013;&#010;&gt;                     "http://schemas.apache.org/yoko/idl/calc",&#013;&#010;&gt;                     "com.pikeelectronic.calc.CalculatorCORBAPort");&#013;&#010;&gt; &#013;&#010;&gt;             File wsdl = new File("calc-soapbinding.wsdl");&#013;&#010;&gt;             Service svc = Service.create(wsdl.toURL(),svcQname);&#013;&#010;&gt;             ComPikeelectronicCalcCalculator calc =&#013;&#010;&gt; svc.getPort(portQName, ComPikeelectronicCalcCalculator.class);&#013;&#010;&gt;             double result = calc.add(4, 5);&#013;&#010;&gt;             System.out.println(result);&#013;&#010;&gt; &#013;&#010;&gt; When I run this with SOAP binding it works but when I try to do this&#013;&#010;&gt; with CORBA binding I am getting exception:&#013;&#010;&gt; &#013;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt; java.lang.NullPointerException&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInte&#013;&#010;&gt; rceptor.handleOutBoundMessage(CorbaStreamOutInterceptor.java:78)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInte&#013;&#010;&gt; rceptor.handleMessage(CorbaStreamOutInterceptor.java:65)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIn&#013;&#010;&gt; terceptorChain.java:206)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:204)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.&#013;&#010;&gt; java:134)&#013;&#010;&gt; &#009;at $Proxy34.add(Unknown Source)&#013;&#010;&gt; &#009;at com.pikeelectronic.calc.WSDIIClient.main(WSDIIClient.java:46)&#013;&#010;&gt; javax.xml.ws.WebServiceException: java.lang.NullPointerException&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.&#013;&#010;&gt; java:172)&#013;&#010;&gt; &#009;at $Proxy34.add(Unknown Source)&#013;&#010;&gt; &#009;at com.pikeelectronic.calc.WSDIIClient.main(WSDIIClient.java:46)&#013;&#010;&gt; Caused by: java.lang.NullPointerException&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInte&#013;&#010;&gt; rceptor.handleOutBoundMessage(CorbaStreamOutInterceptor.java:78)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInte&#013;&#010;&gt; rceptor.handleMessage(CorbaStreamOutInterceptor.java:65)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIn&#013;&#010;&gt; terceptorChain.java:206)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:204)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)&#013;&#010;&gt; &#009;at &#013;&#010;&gt; org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.&#013;&#010;&gt; java:134)&#013;&#010;&gt; &#009;... 2 more&#013;&#010;&gt; &#013;&#010;&gt; &#013;&#010;&gt; &#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; Jervis&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; -----Original Message-----&#013;&#010;&gt; &gt; From: Lukas Zapletal [ mailto:lukas.zapletal@gmail.com]&#013;&#010;&gt; &gt; Sent: 2007年8月2日 23:00&#013;&#010;&gt; &gt; To: cxf-user@incubator.apache.org; yoko-user@incubator.apache.org&#013;&#010;&gt; &gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using &#013;&#010;&gt; Provider&lt;CorbaMessage&gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; Hello,&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; the operation info and CORBA parameters are not the reason why do we&#013;&#010;&gt; &gt; need the support. We would like to create a web service &#013;&#010;&gt; provider that&#013;&#010;&gt; &gt; will be accessible from CORBA client. We have no clue how to do this&#013;&#010;&gt; &gt; because we cannot simply create Provider&lt;CorbaMessage&gt;,&#013;&#010;&gt; &gt; Provider&lt;SOAPMessage&gt; or even Provider&lt;Source&gt;. Exception &#013;&#010;&gt; occurs when&#013;&#010;&gt; &gt; we try this so it seems nobody ever used it before and the code&#013;&#010;&gt; &gt; contains a bug or we are doing something wrong.&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; On the other side we are also trying to call (normal) CORBA service&#013;&#010;&gt; &gt; with web service client implemented in CXF/Yoko dynamicaly (DII&#013;&#010;&gt; &gt; client). We do not know if is it possible to create SOAPMessage and&#013;&#010;&gt; &gt; pass it to Yoko CORBA binding along with WSDL file to make a dynamic&#013;&#010;&gt; &gt; call.&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; It seems to me the terms "corba cxf binding" and "dynamic" &#013;&#010;&gt; cannot live&#013;&#010;&gt; &gt; together...&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; Best regards, Lukas&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; 2007/8/2, Liu, Jervis &lt;jliu@iona.com&gt;:&#013;&#010;&gt; &gt; &gt; Hi, have a new question. I suppose the reason why you &#013;&#010;&gt; want to use Provider interface for CORBA binding is that you &#013;&#010;&gt; want to access "raw CORBA message payload" so that you can &#013;&#010;&gt; parse operation info and input parameters by yourself. &#013;&#010;&gt; However the question is what the "raw CORBA message payload" &#013;&#010;&gt; is? In the world of SOAP binding or XML binding, the content &#013;&#010;&gt; sent on the wire normally can be represented as XML, thus we &#013;&#010;&gt; can have typed provider interface like Provider&lt;Source&gt;, &#013;&#010;&gt; Provider&lt;SOAPMessage&gt;. However, in the world of CORBA, I &#013;&#010;&gt; don't think we have a well-defined type to represent "raw &#013;&#010;&gt; CORBA message payload", do we? Please note, &#013;&#010;&gt; org.apache.yoko.bindings.corba.CorbaMessage is not the one we &#013;&#010;&gt; are looking for. Same as the &#013;&#010;&gt; org.apache.cxf.binding.soap.SoapMessage and &#013;&#010;&gt; org.apache.cxf.binding.xml.XMLMessage, they are just a &#013;&#010;&gt; content holder, which represent the whole input/output &#013;&#010;&gt; message rather than the message payload. The type class that &#013;&#010;&gt; can be used in Provider&lt;T&gt; is sth that can be produced by &#013;&#010;&gt; Object&lt;T&gt; = DataReader.read(...).  Before we can go ahead to &#013;&#010;&gt; support Provider&lt;T&gt; for CORBA binding, we really need to &#013;&#010;&gt; figure out what the T is.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; BTW, if what you want is CorbaMessage, you can access it &#013;&#010;&gt; from Exchange. See Dan's previous comment in this thread on &#013;&#010;&gt; how to access Exchange.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; I will send this message across to yoko mailing list, &#013;&#010;&gt; hopefully Yoko guys can give some insight on this.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Cheers,&#013;&#010;&gt; &gt; &gt; Jervis&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; -----Original Message-----&#013;&#010;&gt; &gt; &gt; From: msafr@pikeelectronic.com [ mailto:msafr@pikeelectronic.com]&#013;&#010;&gt; &gt; &gt; Sent: 2007年7月30日 19:52&#013;&#010;&gt; &gt; &gt; To: cxf-user@incubator.apache.org; Liu, Jervis&#013;&#010;&gt; &gt; &gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using &#013;&#010;&gt; Provider&lt;CorbaMessage&gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Hi Jervis, it really sounds great, cxf would be more &#013;&#010;&gt; flexible then. Thank you for your replies. So do you plan &#013;&#010;&gt; adding support of that to cxf? And would it be possible to &#013;&#010;&gt; know when? :-)&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Cheers,&#013;&#010;&gt; &gt; &gt; Michael&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; -----Original Message-----&#013;&#010;&gt; &gt; &gt; From: Liu, Jervis [ mailto:jliu@iona.com]&#013;&#010;&gt; &gt; &gt; Sent: Monday, July 30, 2007 1:12 PM&#013;&#010;&gt; &gt; &gt; To: cxf-user@incubator.apache.org; dkulp@apache.org&#013;&#010;&gt; &gt; &gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;&gt; &gt; &gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using &#013;&#010;&gt; Provider&lt;CorbaMessage&gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Coming to think of this again, I found supporting &#013;&#010;&gt; Provider&lt;CorbaMessage&gt; isn't that difficult as I originally &#013;&#010;&gt; thought. We have some manual checks of binding type in &#013;&#010;&gt; DispatchInDatabindingInterceptor\DispatchOutDatabindingInterce&#013;&#010;&gt; ptor, such as if (binding == soapbinding) then blabla. &#013;&#010;&gt; Actually we were just being lazy, we should really implement &#013;&#010;&gt; DispatchInDatabindingInterceptor as &#013;&#010;&gt; DispatchInSoapBindingDatabindingInterceptor and &#013;&#010;&gt; DispatchInXMLbindingDatabindingInterceptor. This way, &#013;&#010;&gt; different dispatch/provider interceptors for different &#013;&#010;&gt; bindings can be added by corresponding binding providers, &#013;&#010;&gt; which allows the support of new bindings without the need to &#013;&#010;&gt; modify existing code base. E.g., adding  CORBA binding &#013;&#010;&gt; support for dispatch/provider involves in writing a &#013;&#010;&gt; DispatchInCorbaBindingDatabindingInterceptor, doing whatever &#013;&#010;&gt; you want in this interceptor then making sure the &#013;&#010;&gt; CORBABinding provider has this &#013;&#010;&gt; DispatchInCorbaBindingDatabindingInterceptor registered into &#013;&#010;&gt; interceptor chain during provider/dispatch case.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Cheers,&#013;&#010;&gt; &gt; &gt; Jervis&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; -----Original Message-----&#013;&#010;&gt; &gt; &gt; From: Daniel Kulp [ mailto:dkulp@apache.org]&#013;&#010;&gt; &gt; &gt; Sent: 2007年7月28日 11:23&#013;&#010;&gt; &gt; &gt; To: cxf-user@incubator.apache.org&#013;&#010;&gt; &gt; &gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;&gt; &gt; &gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using &#013;&#010;&gt; Provider&lt;CorbaMessage&gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Michal,&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Right now, we don't support any Provider (or Dispatch) &#013;&#010;&gt; that takes the raw&#013;&#010;&gt; &gt; &gt; CXF Message types.   That's a good suggestion though.  &#013;&#010;&gt; Could you log a&#013;&#010;&gt; &gt; &gt; Jira for it?&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; What's worse, looking at the code for the &#013;&#010;&gt; Dispatch/Provider stuff on&#013;&#010;&gt; &gt; &gt; trunk, it only will work for XML and SOAP bindings.   It &#013;&#010;&gt; specifically&#013;&#010;&gt; &gt; &gt; checks for those and does "bad" things.   I was hoping to &#013;&#010;&gt; say you could&#013;&#010;&gt; &gt; &gt; do something like:&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#013;&#010;&gt; &gt; &gt; }&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; to use the data from the CORBA stream reader, but that &#013;&#010;&gt; doesn't even work&#013;&#010;&gt; &gt; &gt; right now. Even trying a Source doesn't work.    I think &#013;&#010;&gt; some Jira's&#013;&#010;&gt; &gt; &gt; need to be added for that as well.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; Dan&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; On Friday 27 July 2007 09:29, Michal Šafr wrote:&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; firstly I'm not sure, if this is CXF or YOKO problem, &#013;&#010;&gt; so please excuse&#013;&#010;&gt; &gt; &gt; &gt; me if I've sent this problem to a wrong place. I've got &#013;&#010;&gt; the problem&#013;&#010;&gt; &gt; &gt; &gt; described below.&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; I started from simple WSDL describing service with &#013;&#010;&gt; CORBA binding. I&#013;&#010;&gt; &gt; &gt; &gt; generated standalone server and client using CXF tool wsdl2java&#013;&#010;&gt; &gt; &gt; &gt; -server (-client) . Implemented service and everything &#013;&#010;&gt; worked fine&#013;&#010;&gt; &gt; &gt; &gt; without any problem. I was able to call WS using &#013;&#010;&gt; generated client and&#013;&#010;&gt; &gt; &gt; &gt; WS was returning expected values. Then I decided to &#013;&#010;&gt; implement WS using&#013;&#010;&gt; &gt; &gt; &gt; interface javax.xml.ws.Provider so I had:&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; //Service class, annotations are not mentioned here, &#013;&#010;&gt; but i changed&#013;&#010;&gt; &gt; &gt; &gt; @WebService annotation to @WebServiceProvider and added &#013;&#010;&gt; @ServiceMode&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;             System.out.println("corba service called");&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;             return arg0;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       }&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; }&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; Every time I try to call WS a receive following exception on the&#013;&#010;&gt; &gt; &gt; &gt; client side:&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  &#013;&#010;&gt; completed: No&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt; &gt; &gt; &gt;ilSyst emException.java:6386)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt; &gt; &gt; &gt;ilSyst emException.java:6408)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#013;&#010;&gt; &gt; &gt; &gt;rManag erReadStream.java:93)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#013;&#010;&gt; &gt; &gt; &gt;1_1.ja va:75)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#013;&#010;&gt; &gt; &gt; &gt;utStre am_1_2.java:80)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#013;&#010;&gt; &gt; &gt; &gt;utStre am_1_0.java:504)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#013;&#010;&gt; &gt; &gt; &gt;Stream _1_0.java:526)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#013;&#010;&gt; &gt; &gt; &gt;am.jav a:153)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; And following exception on the server side:&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; &gt; &gt; &gt; doIntercept&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; java.lang.NullPointerException&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:56)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:52)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:48)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt; &gt; &gt; &gt;ceptor .java:138)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt; &gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt; &gt; &gt; &gt;tionOb server.java:67)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt; &gt; &gt; &gt;Servan t.java:156)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt; &gt; &gt; &gt;tDispa tcher.java:225)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt; &gt; &gt; &gt;va:160 7)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt; &gt; &gt; &gt;l.java&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; :56)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt; &gt; &gt; &gt;gyFact ory_impl.java:53)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt; &gt; &gt; &gt;onThre aded.java:502)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt; &gt; &gt; &gt;onnect ionThreaded.java:64)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; &gt; &gt; &gt; doIntercept&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#013;&#010;&gt; &gt; &gt; &gt; java.lang.NullPointerException&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#013;&#010;&gt; &gt; &gt; &gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt; &gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#013;&#010;&gt; &gt; &gt; &gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt; &gt; &gt;rChain .java:223)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt; &gt; &gt; &gt;tionOb server.java:67)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt; &gt; &gt; &gt;Servan t.java:156)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt; &gt; &gt; &gt;tDispa tcher.java:225)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt; &gt; &gt; &gt;va:160 7)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt; &gt; &gt; &gt;l.java&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; :56)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt; &gt; &gt; &gt;gyFact ory_impl.java:53)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt; &gt; &gt; &gt;onThre aded.java:502)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt; &gt; &gt; &gt;onnect ionThreaded.java:64)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; Caused by: java.lang.NullPointerException&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:56)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:52)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt; &gt; &gt;taRead er.java:48)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt; &gt; &gt; &gt;ceptor .java:138)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       at&#013;&#010;&gt; &gt; &gt; &gt; &#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt; &gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;       ... 9 more&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; &gt; I have changed nothing else than WS implementation on &#013;&#010;&gt; server side.&#013;&#010;&gt; &gt; &gt; &gt; Could anyone help please? Every advice is welcome, &#013;&#010;&gt; thank you very&#013;&#010;&gt; &gt; &gt; &gt; much.&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; --&#013;&#010;&gt; &gt; &gt; J. Daniel Kulp&#013;&#010;&gt; &gt; &gt; Principal Engineer&#013;&#010;&gt; &gt; &gt; IONA&#013;&#010;&gt; &gt; &gt; P: 781-902-8727    C: 508-380-7194&#013;&#010;&gt; &gt; &gt; daniel.kulp@iona.com&#013;&#010;&gt; &gt; &gt; http://www.dankulp.com/blog&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; ----------------------------&#013;&#010;&gt; &gt; &gt; IONA Technologies PLC (registered in Ireland)&#013;&#010;&gt; &gt; &gt; Registered Number: 171387&#013;&#010;&gt; &gt; &gt; Registered Address: The IONA Building, Shelbourne Road, &#013;&#010;&gt; Dublin 4, Ireland&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt; &gt; ----------------------------&#013;&#010;&gt; &gt; &gt; IONA Technologies PLC (registered in Ireland)&#013;&#010;&gt; &gt; &gt; Registered Number: 171387&#013;&#010;&gt; &gt; &gt; Registered Address: The IONA Building, Shelbourne Road, &#013;&#010;&gt; Dublin 4, Ireland&#013;&#010;&gt; &gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; --&#013;&#010;&gt; &gt; Lukas Zapletal&#013;&#010;&gt; &gt; http://lukas.zapletalovi.com&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; ----------------------------&#013;&#010;&gt; &gt; IONA Technologies PLC (registered in Ireland)&#013;&#010;&gt; &gt; Registered Number: 171387&#013;&#010;&gt; &gt; Registered Address: The IONA Building, Shelbourne Road, &#013;&#010;&gt; Dublin 4, Ireland&#013;&#010;&gt; &gt;&#013;&#010;&gt; &#013;&#010;&gt; &#013;&#010;&gt; -- &#013;&#010;&gt; Lukas Zapletal&#013;&#010;&gt; http://lukas.zapletalovi.com&#013;&#010;&gt; &#013;&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Using Yoko binding with dynamic proxy on the client side</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3cb5a439280708030819v1c1c49f5sc1d335c83b0fb20d@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280708030819v1c1c49f5sc1d335c83b0fb20d@mail-gmail-com%3e</id>
<updated>2007-08-03T15:19:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;I am implementing a WS client using CORBA Yoko binding in CXF as&#010;dynamic proxy but I am not able to create the Client instance:&#010;&#010;JaxWsClientFactoryBean client = new JaxWsClientFactoryBean();&#010;client.setAddress("corbaloc::localhost:9000/calc");&#010;client.setServiceClass(ComPikeelectronicCalcCalculator.class);&#010;ClientImpl SOAPclient = (ClientImpl) client.create(); // line 29: main()&#010;&#010;I am getting:&#010;&#010;java.lang.NullPointerException&#010;&#009;at org.apache.yoko.bindings.corba.TypeMapCache.get(TypeMapCache.java:38)&#010;&#009;at org.apache.yoko.bindings.corba.CorbaConduit.&lt;init&gt;(CorbaConduit.java:86)&#010;&#009;at org.apache.yoko.bindings.corba.CorbaBindingFactory.getConduit(CorbaBindingFactory.java:109)&#010;&#009;at org.apache.yoko.bindings.corba.CorbaBindingFactory.getConduit(CorbaBindingFactory.java:104)&#010;&#009;at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:73)&#010;&#009;at org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:71)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:417)&#010;&#009;at org.apache.cxf.ws.rm.RMManager.clientCreated(RMManager.java:100)&#010;&#009;at org.apache.cxf.endpoint.ClientLifeCycleManagerImpl.clientCreated(ClientLifeCycleManagerImpl.java:42)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.notifyLifecycleManager(ClientImpl.java:133)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.&lt;init&gt;(ClientImpl.java:92)&#010;&#009;at org.apache.cxf.frontend.ClientFactoryBean.createClient(ClientFactoryBean.java:64)&#010;&#009;at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)&#010;&#009;at com.pikeelectronic.calc.WSDIIClient.main(WSDIIClient.java:29)&#010;&#010;It seems Yoko binding is expecting some information here:&#010;&#010;    public static CorbaTypeMap get(ServiceInfo service) {&#010;        if (service != null) {&#010;            synchronized (cache) {&#010;                if (!cache.containsKey(service)) {&#010;                    List&lt;TypeMappingType&gt; corbaTypes = service.getDescription()&#010;                            .getExtensors(TypeMappingType.class); // NPE here&#010;                    if (corbaTypes != null) {&#010;                        cache.put(service,&#010;CorbaUtils.createCorbaTypeMap(corbaTypes));&#010;                    }&#010;                }&#010;            }&#010;            return cache.get(service);&#010;        }&#010;        return null;&#010;    }&#010;&#010;Am I doing somethig wrong?&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3cb5a439280708030321n75312e8kc2dbe3de44f55321@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280708030321n75312e8kc2dbe3de44f55321@mail-gmail-com%3e</id>
<updated>2007-08-03T10:21:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;&gt; To get Dispatch/Provider interface working with CORBA binding, we need to figure out&#010;what the T is in the Provider&lt;T&gt;.&#010;&#010;I understand. Its a question to Yoko developers.&#010;&#010;&gt; If you use CORBA server &amp; web services client as described in YOKO ws\hello_world&#010;sample (i.e., the server is using CORBA binding, the client is using SOAP or XML binding),&#010;Dispatch&lt;Source&gt; should definitely work, because what sent on the wire is SOAP or XML&#010;message.&#010;&#010;You say you have CORBA service and WS client implemented with&#010;Dispatch&lt;Source&gt; should work? Or what you mean exactly with working&#010;Dispatch?&#010;&#010;Talking about WS client calling CORBA we have tried to use dynamic&#010;proxy over CORBA and it doesnt work:&#010;&#010;            QName svcQname = new QName(&#010;                    "http://schemas.apache.org/yoko/idl/calc",&#010;                    "com.pikeelectronic.calc.CalculatorCORBAService");&#010;            QName portQName = new QName(&#010;                    "http://schemas.apache.org/yoko/idl/calc",&#010;                    "com.pikeelectronic.calc.CalculatorCORBAPort");&#010;&#010;            File wsdl = new File("calc-soapbinding.wsdl");&#010;            Service svc = Service.create(wsdl.toURL(),svcQname);&#010;            ComPikeelectronicCalcCalculator calc =&#010;svc.getPort(portQName, ComPikeelectronicCalcCalculator.class);&#010;            double result = calc.add(4, 5);&#010;            System.out.println(result);&#010;&#010;When I run this with SOAP binding it works but when I try to do this&#010;with CORBA binding I am getting exception:&#010;&#010;INFO: Interceptor has thrown exception, unwinding now&#010;java.lang.NullPointerException&#010;&#009;at org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInterceptor.handleOutBoundMessage(CorbaStreamOutInterceptor.java:78)&#010;&#009;at org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInterceptor.handleMessage(CorbaStreamOutInterceptor.java:65)&#010;&#009;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:206)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:204)&#010;&#009;at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)&#010;&#009;at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)&#010;&#009;at $Proxy34.add(Unknown Source)&#010;&#009;at com.pikeelectronic.calc.WSDIIClient.main(WSDIIClient.java:46)&#010;javax.xml.ws.WebServiceException: java.lang.NullPointerException&#010;&#009;at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:172)&#010;&#009;at $Proxy34.add(Unknown Source)&#010;&#009;at com.pikeelectronic.calc.WSDIIClient.main(WSDIIClient.java:46)&#010;Caused by: java.lang.NullPointerException&#010;&#009;at org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInterceptor.handleOutBoundMessage(CorbaStreamOutInterceptor.java:78)&#010;&#009;at org.apache.yoko.bindings.corba.interceptors.CorbaStreamOutInterceptor.handleMessage(CorbaStreamOutInterceptor.java:65)&#010;&#009;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:206)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)&#010;&#009;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:204)&#010;&#009;at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)&#010;&#009;at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)&#010;&#009;... 2 more&#010;&#010;&#010;&#010;&gt;&#010;&gt; Jervis&#010;&gt;&#010;&gt; -----Original Message-----&#010;&gt; From: Lukas Zapletal [ mailto:lukas.zapletal@gmail.com]&#010;&gt; Sent: 2007年8月2日 23:00&#010;&gt; To: cxf-user@incubator.apache.org; yoko-user@incubator.apache.org&#010;&gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt;&#010;&gt;&#010;&gt; Hello,&#010;&gt;&#010;&gt; the operation info and CORBA parameters are not the reason why do we&#010;&gt; need the support. We would like to create a web service provider that&#010;&gt; will be accessible from CORBA client. We have no clue how to do this&#010;&gt; because we cannot simply create Provider&lt;CorbaMessage&gt;,&#010;&gt; Provider&lt;SOAPMessage&gt; or even Provider&lt;Source&gt;. Exception occurs when&#010;&gt; we try this so it seems nobody ever used it before and the code&#010;&gt; contains a bug or we are doing something wrong.&#010;&gt;&#010;&gt; On the other side we are also trying to call (normal) CORBA service&#010;&gt; with web service client implemented in CXF/Yoko dynamicaly (DII&#010;&gt; client). We do not know if is it possible to create SOAPMessage and&#010;&gt; pass it to Yoko CORBA binding along with WSDL file to make a dynamic&#010;&gt; call.&#010;&gt;&#010;&gt; It seems to me the terms "corba cxf binding" and "dynamic" cannot live&#010;&gt; together...&#010;&gt;&#010;&gt; Best regards, Lukas&#010;&gt;&#010;&gt; 2007/8/2, Liu, Jervis &lt;jliu@iona.com&gt;:&#010;&gt; &gt; Hi, have a new question. I suppose the reason why you want to use Provider interface&#010;for CORBA binding is that you want to access "raw CORBA message payload" so that you can parse&#010;operation info and input parameters by yourself. However the question is what the "raw CORBA&#010;message payload" is? In the world of SOAP binding or XML binding, the content sent on the&#010;wire normally can be represented as XML, thus we can have typed provider interface like Provider&lt;Source&gt;,&#010;Provider&lt;SOAPMessage&gt;. However, in the world of CORBA, I don't think we have a well-defined&#010;type to represent "raw CORBA message payload", do we? Please note, org.apache.yoko.bindings.corba.CorbaMessage&#010;is not the one we are looking for. Same as the org.apache.cxf.binding.soap.SoapMessage and&#010;org.apache.cxf.binding.xml.XMLMessage, they are just a content holder, which represent the&#010;whole input/output message rather than the message payload. The type class that can be used&#010;in Provider&lt;T&gt; is sth that can be produced by Object&lt;T&gt; = DataReader.read(...).&#010; Before we can go ahead to support Provider&lt;T&gt; for CORBA binding, we really need to&#010;figure out what the T is.&#010;&gt; &gt;&#010;&gt; &gt; BTW, if what you want is CorbaMessage, you can access it from Exchange. See Dan's&#010;previous comment in this thread on how to access Exchange.&#010;&gt; &gt;&#010;&gt; &gt; I will send this message across to yoko mailing list, hopefully Yoko guys can give&#010;some insight on this.&#010;&gt; &gt;&#010;&gt; &gt; Cheers,&#010;&gt; &gt; Jervis&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; -----Original Message-----&#010;&gt; &gt; From: msafr@pikeelectronic.com [ mailto:msafr@pikeelectronic.com]&#010;&gt; &gt; Sent: 2007年7月30日 19:52&#010;&gt; &gt; To: cxf-user@incubator.apache.org; Liu, Jervis&#010;&gt; &gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Hi Jervis, it really sounds great, cxf would be more flexible then. Thank you for&#010;your replies. So do you plan adding support of that to cxf? And would it be possible to know&#010;when? :-)&#010;&gt; &gt;&#010;&gt; &gt; Cheers,&#010;&gt; &gt; Michael&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; -----Original Message-----&#010;&gt; &gt; From: Liu, Jervis [ mailto:jliu@iona.com]&#010;&gt; &gt; Sent: Monday, July 30, 2007 1:12 PM&#010;&gt; &gt; To: cxf-user@incubator.apache.org; dkulp@apache.org&#010;&gt; &gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#010;&gt; &gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt; &gt;&#010;&gt; &gt; Coming to think of this again, I found supporting Provider&lt;CorbaMessage&gt; isn't&#010;that difficult as I originally thought. We have some manual checks of binding type in DispatchInDatabindingInterceptor\DispatchOutDatabindingInterceptor,&#010;such as if (binding == soapbinding) then blabla. Actually we were just being lazy, we should&#010;really implement DispatchInDatabindingInterceptor as DispatchInSoapBindingDatabindingInterceptor&#010;and DispatchInXMLbindingDatabindingInterceptor. This way, different dispatch/provider interceptors&#010;for different bindings can be added by corresponding binding providers, which allows the support&#010;of new bindings without the need to modify existing code base. E.g., adding  CORBA binding&#010;support for dispatch/provider involves in writing a DispatchInCorbaBindingDatabindingInterceptor,&#010;doing whatever you want in this interceptor then making sure the CORBABinding provider has&#010;this DispatchInCorbaBindingDatabindingInterceptor registered into interceptor chain during&#010;provider/dispatch case.&#010;&gt; &gt;&#010;&gt; &gt; Cheers,&#010;&gt; &gt; Jervis&#010;&gt; &gt;&#010;&gt; &gt; -----Original Message-----&#010;&gt; &gt; From: Daniel Kulp [ mailto:dkulp@apache.org]&#010;&gt; &gt; Sent: 2007年7月28日 11:23&#010;&gt; &gt; To: cxf-user@incubator.apache.org&#010;&gt; &gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#010;&gt; &gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Michal,&#010;&gt; &gt;&#010;&gt; &gt; Right now, we don't support any Provider (or Dispatch) that takes the raw&#010;&gt; &gt; CXF Message types.   That's a good suggestion though.  Could you log a&#010;&gt; &gt; Jira for it?&#010;&gt; &gt;&#010;&gt; &gt; What's worse, looking at the code for the Dispatch/Provider stuff on&#010;&gt; &gt; trunk, it only will work for XML and SOAP bindings.   It specifically&#010;&gt; &gt; checks for those and does "bad" things.   I was hoping to say you could&#010;&gt; &gt; do something like:&#010;&gt; &gt;&#010;&gt; &gt; public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#010;&gt; &gt; }&#010;&gt; &gt;&#010;&gt; &gt; to use the data from the CORBA stream reader, but that doesn't even work&#010;&gt; &gt; right now. Even trying a Source doesn't work.    I think some Jira's&#010;&gt; &gt; need to be added for that as well.&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Dan&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; On Friday 27 July 2007 09:29, Michal Šafr wrote:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#010;&gt; &gt; &gt; me if I've sent this problem to a wrong place. I've got the problem&#010;&gt; &gt; &gt; described below.&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; I started from simple WSDL describing service with CORBA binding. I&#010;&gt; &gt; &gt; generated standalone server and client using CXF tool wsdl2java&#010;&gt; &gt; &gt; -server (-client) . Implemented service and everything worked fine&#010;&gt; &gt; &gt; without any problem. I was able to call WS using generated client and&#010;&gt; &gt; &gt; WS was returning expected values. Then I decided to implement WS using&#010;&gt; &gt; &gt; interface javax.xml.ws.Provider so I had:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; //Service class, annotations are not mentioned here, but i changed&#010;&gt; &gt; &gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;             System.out.println("corba service called");&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;             return arg0;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       }&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; }&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; Every time I try to call WS a receive following exception on the&#010;&gt; &gt; &gt; client side:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt; &gt; &gt;ilSyst emException.java:6386)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt; &gt; &gt;ilSyst emException.java:6408)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#010;&gt; &gt; &gt;rManag erReadStream.java:93)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#010;&gt; &gt; &gt;1_1.ja va:75)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#010;&gt; &gt; &gt;utStre am_1_2.java:80)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#010;&gt; &gt; &gt;utStre am_1_0.java:504)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#010;&gt; &gt; &gt;Stream _1_0.java:526)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#010;&gt; &gt; &gt;am.jav a:153)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; And following exception on the server side:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; &gt; &gt; doIntercept&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; java.lang.NullPointerException&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:56)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:52)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:48)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt; &gt; &gt;ceptor .java:138)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt; &gt;rChain .java:206)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt; &gt; &gt;tionOb server.java:67)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt; &gt; &gt;Servan t.java:156)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt; &gt; &gt;tDispa tcher.java:225)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt; &gt; &gt;va:160 7)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt; &gt; &gt;l.java&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; :56)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt; &gt; &gt;gyFact ory_impl.java:53)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt; &gt; &gt;onThre aded.java:502)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt; &gt; &gt;onnect ionThreaded.java:64)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; &gt; &gt; doIntercept&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#010;&gt; &gt; &gt; java.lang.NullPointerException&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#010;&gt; &gt; &gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt; &gt;rChain .java:206)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#010;&gt; &gt; &gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt; &gt;rChain .java:223)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt; &gt; &gt;tionOb server.java:67)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt; &gt; &gt;Servan t.java:156)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt; &gt; &gt;tDispa tcher.java:225)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt; &gt; &gt;va:160 7)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt; &gt; &gt;l.java&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; :56)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt; &gt; &gt;gyFact ory_impl.java:53)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt; &gt; &gt;onThre aded.java:502)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt; &gt; &gt;onnect ionThreaded.java:64)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; Caused by: java.lang.NullPointerException&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:56)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:52)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt; &gt;taRead er.java:48)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt; &gt; &gt;ceptor .java:138)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       at&#010;&gt; &gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt; &gt;rChain .java:206)&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;       ... 9 more&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; I have changed nothing else than WS implementation on server side.&#010;&gt; &gt; &gt; Could anyone help please? Every advice is welcome, thank you very&#010;&gt; &gt; &gt; much.&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; J. Daniel Kulp&#010;&gt; &gt; Principal Engineer&#010;&gt; &gt; IONA&#010;&gt; &gt; P: 781-902-8727    C: 508-380-7194&#010;&gt; &gt; daniel.kulp@iona.com&#010;&gt; &gt; http://www.dankulp.com/blog&#010;&gt; &gt;&#010;&gt; &gt; ----------------------------&#010;&gt; &gt; IONA Technologies PLC (registered in Ireland)&#010;&gt; &gt; Registered Number: 171387&#010;&gt; &gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; ----------------------------&#010;&gt; &gt; IONA Technologies PLC (registered in Ireland)&#010;&gt; &gt; Registered Number: 171387&#010;&gt; &gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; ----------------------------&#010;&gt; IONA Technologies PLC (registered in Ireland)&#010;&gt; Registered Number: 171387&#010;&gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Liu, Jervis&quot; &lt;jliu@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3c9A4696F35B459043970EE4A85A3173900668F7@amer-ems1.IONAGLOBAL.COM%3e"/>
<id>urn:uuid:%3c9A4696F35B459043970EE4A85A3173900668F7@amer-ems1-IONAGLOBAL-COM%3e</id>
<updated>2007-08-03T09:15:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Lukas, none of these Provider&lt;CorbaMessage&gt;, Provider&lt;SOAPMessage&gt; or Provider&lt;Source&gt;&#010;is supposed to work with CORBA binding. The type class T in Provider&lt;T&gt; has to be something&#010;that can represent the message (or message payload) you sent on the wire DIRECTLY. What I&#010;mean by “directly” is without any extra marshaling/unmarshalling or transformation for&#010;example, using a data binding to map one type to another type.  In the case of SOAP binding&#010;or XML binding, the content type is text/xml, the wire message can always be represented as&#010;Source or SOAPMessage (SOAP binding) object.  The message sent on the wire for CORBA biding&#010;is in binary format. A simple question, in the Dispatch example you gave in your previous&#010;email, how can you transform a Source that represents a xml document of "&lt;tns:add xmlns:tns=&#010; &lt;http://schemas.apache.org/yoko/idl/calc/&gt; http://schemas.apache.org/yoko/idl/calc/&gt;"&#010;into a binary format of CORBA message? The T in Provider&lt;T&gt; or Dispatch&lt;T&gt; has&#010;to be something that you can take it and sent it out on the wire directly without any transformation.&#010;This is why Dispatch&lt;Source&gt; won’t work.&#013;&#010;&#013;&#010;To get Dispatch/Provider interface working with CORBA binding, we need to figure out what&#010;the T is in the Provider&lt;T&gt;.&#013;&#010;&#013;&#010;If you use CORBA server &amp; web services client as described in YOKO ws\hello_world sample&#010;(i.e., the server is using CORBA binding, the client is using SOAP or XML binding), Dispatch&lt;Source&gt;&#010;should definitely work, because what sent on the wire is SOAP or XML message.&#013;&#010;&#013;&#010;Jervis&#013;&#010;&#013;&#010;-----Original Message-----&#013;&#010;From: Lukas Zapletal [ mailto:lukas.zapletal@gmail.com]&#013;&#010;Sent: 2007年8月2日 23:00&#013;&#010;To: cxf-user@incubator.apache.org; yoko-user@incubator.apache.org&#013;&#010;Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&#013;&#010;&#013;&#010;Hello,&#013;&#010;&#013;&#010;the operation info and CORBA parameters are not the reason why do we&#013;&#010;need the support. We would like to create a web service provider that&#013;&#010;will be accessible from CORBA client. We have no clue how to do this&#013;&#010;because we cannot simply create Provider&lt;CorbaMessage&gt;,&#013;&#010;Provider&lt;SOAPMessage&gt; or even Provider&lt;Source&gt;. Exception occurs when&#013;&#010;we try this so it seems nobody ever used it before and the code&#013;&#010;contains a bug or we are doing something wrong.&#013;&#010;&#013;&#010;On the other side we are also trying to call (normal) CORBA service&#013;&#010;with web service client implemented in CXF/Yoko dynamicaly (DII&#013;&#010;client). We do not know if is it possible to create SOAPMessage and&#013;&#010;pass it to Yoko CORBA binding along with WSDL file to make a dynamic&#013;&#010;call.&#013;&#010;&#013;&#010;It seems to me the terms "corba cxf binding" and "dynamic" cannot live&#013;&#010;together...&#013;&#010;&#013;&#010;Best regards, Lukas&#013;&#010;&#013;&#010;2007/8/2, Liu, Jervis &lt;jliu@iona.com&gt;:&#013;&#010;&gt; Hi, have a new question. I suppose the reason why you want to use Provider interface&#010;for CORBA binding is that you want to access "raw CORBA message payload" so that you can parse&#010;operation info and input parameters by yourself. However the question is what the "raw CORBA&#010;message payload" is? In the world of SOAP binding or XML binding, the content sent on the&#010;wire normally can be represented as XML, thus we can have typed provider interface like Provider&lt;Source&gt;,&#010;Provider&lt;SOAPMessage&gt;. However, in the world of CORBA, I don't think we have a well-defined&#010;type to represent "raw CORBA message payload", do we? Please note, org.apache.yoko.bindings.corba.CorbaMessage&#010;is not the one we are looking for. Same as the org.apache.cxf.binding.soap.SoapMessage and&#010;org.apache.cxf.binding.xml.XMLMessage, they are just a content holder, which represent the&#010;whole input/output message rather than the message payload. The type class that can be used&#010;in Provider&lt;T&gt; is sth that can be produced by Object&lt;T&gt; = DataReader.read(...).&#010; Before we can go ahead to support Provider&lt;T&gt; for CORBA binding, we really need to&#010;figure out what the T is.&#013;&#010;&gt;&#013;&#010;&gt; BTW, if what you want is CorbaMessage, you can access it from Exchange. See Dan's previous&#010;comment in this thread on how to access Exchange.&#013;&#010;&gt;&#013;&#010;&gt; I will send this message across to yoko mailing list, hopefully Yoko guys can give some&#010;insight on this.&#013;&#010;&gt;&#013;&#010;&gt; Cheers,&#013;&#010;&gt; Jervis&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; -----Original Message-----&#013;&#010;&gt; From: msafr@pikeelectronic.com [ mailto:msafr@pikeelectronic.com]&#013;&#010;&gt; Sent: 2007年7月30日 19:52&#013;&#010;&gt; To: cxf-user@incubator.apache.org; Liu, Jervis&#013;&#010;&gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; Hi Jervis, it really sounds great, cxf would be more flexible then. Thank you for your&#010;replies. So do you plan adding support of that to cxf? And would it be possible to know when?&#010;:-)&#013;&#010;&gt;&#013;&#010;&gt; Cheers,&#013;&#010;&gt; Michael&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; -----Original Message-----&#013;&#010;&gt; From: Liu, Jervis [ mailto:jliu@iona.com]&#013;&#010;&gt; Sent: Monday, July 30, 2007 1:12 PM&#013;&#010;&gt; To: cxf-user@incubator.apache.org; dkulp@apache.org&#013;&#010;&gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;&gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&gt;&#013;&#010;&gt; Coming to think of this again, I found supporting Provider&lt;CorbaMessage&gt; isn't&#010;that difficult as I originally thought. We have some manual checks of binding type in DispatchInDatabindingInterceptor\DispatchOutDatabindingInterceptor,&#010;such as if (binding == soapbinding) then blabla. Actually we were just being lazy, we should&#010;really implement DispatchInDatabindingInterceptor as DispatchInSoapBindingDatabindingInterceptor&#010;and DispatchInXMLbindingDatabindingInterceptor. This way, different dispatch/provider interceptors&#010;for different bindings can be added by corresponding binding providers, which allows the support&#010;of new bindings without the need to modify existing code base. E.g., adding  CORBA binding&#010;support for dispatch/provider involves in writing a DispatchInCorbaBindingDatabindingInterceptor,&#010;doing whatever you want in this interceptor then making sure the CORBABinding provider has&#010;this DispatchInCorbaBindingDatabindingInterceptor registered into interceptor chain during&#010;provider/dispatch case.&#013;&#010;&gt;&#013;&#010;&gt; Cheers,&#013;&#010;&gt; Jervis&#013;&#010;&gt;&#013;&#010;&gt; -----Original Message-----&#013;&#010;&gt; From: Daniel Kulp [ mailto:dkulp@apache.org]&#013;&#010;&gt; Sent: 2007年7月28日 11:23&#013;&#010;&gt; To: cxf-user@incubator.apache.org&#013;&#010;&gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;&gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; Michal,&#013;&#010;&gt;&#013;&#010;&gt; Right now, we don't support any Provider (or Dispatch) that takes the raw&#013;&#010;&gt; CXF Message types.   That's a good suggestion though.  Could you log a&#013;&#010;&gt; Jira for it?&#013;&#010;&gt;&#013;&#010;&gt; What's worse, looking at the code for the Dispatch/Provider stuff on&#013;&#010;&gt; trunk, it only will work for XML and SOAP bindings.   It specifically&#013;&#010;&gt; checks for those and does "bad" things.   I was hoping to say you could&#013;&#010;&gt; do something like:&#013;&#010;&gt;&#013;&#010;&gt; public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#013;&#010;&gt; }&#013;&#010;&gt;&#013;&#010;&gt; to use the data from the CORBA stream reader, but that doesn't even work&#013;&#010;&gt; right now. Even trying a Source doesn't work.    I think some Jira's&#013;&#010;&gt; need to be added for that as well.&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; Dan&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; On Friday 27 July 2007 09:29, Michal Šafr wrote:&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#013;&#010;&gt; &gt; me if I've sent this problem to a wrong place. I've got the problem&#013;&#010;&gt; &gt; described below.&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; I started from simple WSDL describing service with CORBA binding. I&#013;&#010;&gt; &gt; generated standalone server and client using CXF tool wsdl2java&#013;&#010;&gt; &gt; -server (-client) . Implemented service and everything worked fine&#013;&#010;&gt; &gt; without any problem. I was able to call WS using generated client and&#013;&#010;&gt; &gt; WS was returning expected values. Then I decided to implement WS using&#013;&#010;&gt; &gt; interface javax.xml.ws.Provider so I had:&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; //Service class, annotations are not mentioned here, but i changed&#013;&#010;&gt; &gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;             System.out.println("corba service called");&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;             return arg0;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       }&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; }&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; Every time I try to call WS a receive following exception on the&#013;&#010;&gt; &gt; client side:&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt; &gt;ilSyst emException.java:6386)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt; &gt;ilSyst emException.java:6408)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#013;&#010;&gt; &gt;rManag erReadStream.java:93)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#013;&#010;&gt; &gt;1_1.ja va:75)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#013;&#010;&gt; &gt;utStre am_1_2.java:80)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#013;&#010;&gt; &gt;utStre am_1_0.java:504)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#013;&#010;&gt; &gt;Stream _1_0.java:526)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#013;&#010;&gt; &gt;am.jav a:153)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; And following exception on the server side:&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; &gt; doIntercept&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; java.lang.NullPointerException&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:56)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:52)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:48)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt; &gt;ceptor .java:138)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt; &gt;tionOb server.java:67)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt; &gt;Servan t.java:156)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt; &gt;tDispa tcher.java:225)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt; &gt;va:160 7)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt; &gt;l.java&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; :56)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt; &gt;gyFact ory_impl.java:53)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt; &gt;onThre aded.java:502)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt; &gt;onnect ionThreaded.java:64)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; &gt; doIntercept&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#013;&#010;&gt; &gt; java.lang.NullPointerException&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#013;&#010;&gt; &gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#013;&#010;&gt; &gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt;rChain .java:223)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt; &gt;tionOb server.java:67)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt; &gt;Servan t.java:156)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt; &gt;tDispa tcher.java:225)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt; &gt;va:160 7)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt; &gt;l.java&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; :56)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt; &gt;gyFact ory_impl.java:53)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt; &gt;onThre aded.java:502)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt; &gt;onnect ionThreaded.java:64)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; Caused by: java.lang.NullPointerException&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:56)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:52)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt; &gt;taRead er.java:48)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt; &gt;ceptor .java:138)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       at&#013;&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt; &gt;rChain .java:206)&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;       ... 9 more&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt;&#013;&#010;&gt; &gt; I have changed nothing else than WS implementation on server side.&#013;&#010;&gt; &gt; Could anyone help please? Every advice is welcome, thank you very&#013;&#010;&gt; &gt; much.&#013;&#010;&gt;&#013;&#010;&gt; --&#013;&#010;&gt; J. Daniel Kulp&#013;&#010;&gt; Principal Engineer&#013;&#010;&gt; IONA&#013;&#010;&gt; P: 781-902-8727    C: 508-380-7194&#013;&#010;&gt; daniel.kulp@iona.com&#013;&#010;&gt; http://www.dankulp.com/blog&#013;&#010;&gt;&#013;&#010;&gt; ----------------------------&#013;&#010;&gt; IONA Technologies PLC (registered in Ireland)&#013;&#010;&gt; Registered Number: 171387&#013;&#010;&gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; ----------------------------&#013;&#010;&gt; IONA Technologies PLC (registered in Ireland)&#013;&#010;&gt; Registered Number: 171387&#013;&#010;&gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#013;&#010;&gt;&#013;&#010;&#013;&#010;&#013;&#010;--&#013;&#010;Lukas Zapletal&#013;&#010;http://lukas.zapletalovi.com&#013;&#010;&#013;&#010;&#013;&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3cb5a439280708020759je7c9f4br1481c5b801268ab4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280708020759je7c9f4br1481c5b801268ab4@mail-gmail-com%3e</id>
<updated>2007-08-02T14:59:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;the operation info and CORBA parameters are not the reason why do we&#010;need the support. We would like to create a web service provider that&#010;will be accessible from CORBA client. We have no clue how to do this&#010;because we cannot simply create Provider&lt;CorbaMessage&gt;,&#010;Provider&lt;SOAPMessage&gt; or even Provider&lt;Source&gt;. Exception occurs when&#010;we try this so it seems nobody ever used it before and the code&#010;contains a bug or we are doing something wrong.&#010;&#010;On the other side we are also trying to call (normal) CORBA service&#010;with web service client implemented in CXF/Yoko dynamicaly (DII&#010;client). We do not know if is it possible to create SOAPMessage and&#010;pass it to Yoko CORBA binding along with WSDL file to make a dynamic&#010;call.&#010;&#010;It seems to me the terms "corba cxf binding" and "dynamic" cannot live&#010;together...&#010;&#010;Best regards, Lukas&#010;&#010;2007/8/2, Liu, Jervis &lt;jliu@iona.com&gt;:&#010;&gt; Hi, have a new question. I suppose the reason why you want to use Provider interface&#010;for CORBA binding is that you want to access "raw CORBA message payload" so that you can parse&#010;operation info and input parameters by yourself. However the question is what the "raw CORBA&#010;message payload" is? In the world of SOAP binding or XML binding, the content sent on the&#010;wire normally can be represented as XML, thus we can have typed provider interface like Provider&lt;Source&gt;,&#010;Provider&lt;SOAPMessage&gt;. However, in the world of CORBA, I don't think we have a well-defined&#010;type to represent "raw CORBA message payload", do we? Please note, org.apache.yoko.bindings.corba.CorbaMessage&#010;is not the one we are looking for. Same as the org.apache.cxf.binding.soap.SoapMessage and&#010;org.apache.cxf.binding.xml.XMLMessage, they are just a content holder, which represent the&#010;whole input/output message rather than the message payload. The type class that can be used&#010;in Provider&lt;T&gt; is sth that can be produced by Object&lt;T&gt; = DataReader.read(...).&#010; Before we can go ahead to support Provider&lt;T&gt; for CORBA binding, we really need to&#010;figure out what the T is.&#010;&gt;&#010;&gt; BTW, if what you want is CorbaMessage, you can access it from Exchange. See Dan's previous&#010;comment in this thread on how to access Exchange.&#010;&gt;&#010;&gt; I will send this message across to yoko mailing list, hopefully Yoko guys can give some&#010;insight on this.&#010;&gt;&#010;&gt; Cheers,&#010;&gt; Jervis&#010;&gt;&#010;&gt;&#010;&gt; -----Original Message-----&#010;&gt; From: msafr@pikeelectronic.com [mailto:msafr@pikeelectronic.com]&#010;&gt; Sent: 2007年7月30日 19:52&#010;&gt; To: cxf-user@incubator.apache.org; Liu, Jervis&#010;&gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt;&#010;&gt;&#010;&gt; Hi Jervis, it really sounds great, cxf would be more flexible then. Thank you for your&#010;replies. So do you plan adding support of that to cxf? And would it be possible to know when?&#010;:-)&#010;&gt;&#010;&gt; Cheers,&#010;&gt; Michael&#010;&gt;&#010;&gt;&#010;&gt; -----Original Message-----&#010;&gt; From: Liu, Jervis [mailto:jliu@iona.com]&#010;&gt; Sent: Monday, July 30, 2007 1:12 PM&#010;&gt; To: cxf-user@incubator.apache.org; dkulp@apache.org&#010;&gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#010;&gt; Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt;&#010;&gt; Coming to think of this again, I found supporting Provider&lt;CorbaMessage&gt; isn't&#010;that difficult as I originally thought. We have some manual checks of binding type in DispatchInDatabindingInterceptor\DispatchOutDatabindingInterceptor,&#010;such as if (binding == soapbinding) then blabla. Actually we were just being lazy, we should&#010;really implement DispatchInDatabindingInterceptor as DispatchInSoapBindingDatabindingInterceptor&#010;and DispatchInXMLbindingDatabindingInterceptor. This way, different dispatch/provider interceptors&#010;for different bindings can be added by corresponding binding providers, which allows the support&#010;of new bindings without the need to modify existing code base. E.g., adding  CORBA binding&#010;support for dispatch/provider involves in writing a DispatchInCorbaBindingDatabindingInterceptor,&#010;doing whatever you want in this interceptor then making sure the CORBABinding provider has&#010;this DispatchInCorbaBindingDatabindingInterceptor registered into interceptor chain during&#010;provider/dispatch case.&#010;&gt;&#010;&gt; Cheers,&#010;&gt; Jervis&#010;&gt;&#010;&gt; -----Original Message-----&#010;&gt; From: Daniel Kulp [mailto:dkulp@apache.org]&#010;&gt; Sent: 2007年7月28日 11:23&#010;&gt; To: cxf-user@incubator.apache.org&#010;&gt; Cc: Michal ?afr; yoko-user@incubator.apache.org&#010;&gt; Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Michal,&#010;&gt;&#010;&gt; Right now, we don't support any Provider (or Dispatch) that takes the raw&#010;&gt; CXF Message types.   That's a good suggestion though.  Could you log a&#010;&gt; Jira for it?&#010;&gt;&#010;&gt; What's worse, looking at the code for the Dispatch/Provider stuff on&#010;&gt; trunk, it only will work for XML and SOAP bindings.   It specifically&#010;&gt; checks for those and does "bad" things.   I was hoping to say you could&#010;&gt; do something like:&#010;&gt;&#010;&gt; public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#010;&gt; }&#010;&gt;&#010;&gt; to use the data from the CORBA stream reader, but that doesn't even work&#010;&gt; right now. Even trying a Source doesn't work.    I think some Jira's&#010;&gt; need to be added for that as well.&#010;&gt;&#010;&gt;&#010;&gt; Dan&#010;&gt;&#010;&gt;&#010;&gt; On Friday 27 July 2007 09:29, Michal Šafr wrote:&#010;&gt; &gt;&#010;&gt; &gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#010;&gt; &gt; me if I've sent this problem to a wrong place. I've got the problem&#010;&gt; &gt; described below.&#010;&gt; &gt;&#010;&gt; &gt; I started from simple WSDL describing service with CORBA binding. I&#010;&gt; &gt; generated standalone server and client using CXF tool wsdl2java&#010;&gt; &gt; -server (-client) . Implemented service and everything worked fine&#010;&gt; &gt; without any problem. I was able to call WS using generated client and&#010;&gt; &gt; WS was returning expected values. Then I decided to implement WS using&#010;&gt; &gt; interface javax.xml.ws.Provider so I had:&#010;&gt; &gt;&#010;&gt; &gt; //Service class, annotations are not mentioned here, but i changed&#010;&gt; &gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#010;&gt; &gt;&#010;&gt; &gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#010;&gt; &gt;&#010;&gt; &gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#010;&gt; &gt;&#010;&gt; &gt;             System.out.println("corba service called");&#010;&gt; &gt;&#010;&gt; &gt;             return arg0;&#010;&gt; &gt;&#010;&gt; &gt;       }&#010;&gt; &gt;&#010;&gt; &gt; }&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Every time I try to call WS a receive following exception on the&#010;&gt; &gt; client side:&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt; &gt;ilSyst emException.java:6386)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt; &gt;ilSyst emException.java:6408)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#010;&gt; &gt;rManag erReadStream.java:93)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#010;&gt; &gt;1_1.ja va:75)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#010;&gt; &gt;utStre am_1_2.java:80)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#010;&gt; &gt;utStre am_1_0.java:504)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#010;&gt; &gt;Stream _1_0.java:526)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#010;&gt; &gt;am.jav a:153)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; And following exception on the server side:&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; &gt; doIntercept&#010;&gt; &gt;&#010;&gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt; &gt;&#010;&gt; &gt; java.lang.NullPointerException&#010;&gt; &gt;&#010;&gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:56)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:52)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:48)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt; &gt;ceptor .java:138)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt;rChain .java:206)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt; &gt;tionOb server.java:67)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt; &gt;Servan t.java:156)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt; &gt;tDispa tcher.java:225)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt; &gt;va:160 7)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt; &gt;l.java&#010;&gt; &gt;&#010;&gt; &gt; :56)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt; &gt;gyFact ory_impl.java:53)&#010;&gt; &gt;&#010;&gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt; &gt;onThre aded.java:502)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt; &gt;onnect ionThreaded.java:64)&#010;&gt; &gt;&#010;&gt; &gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; &gt; doIntercept&#010;&gt; &gt;&#010;&gt; &gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt; &gt;&#010;&gt; &gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#010;&gt; &gt; java.lang.NullPointerException&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#010;&gt; &gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt;rChain .java:206)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#010;&gt; &gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt;rChain .java:223)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt; &gt;tionOb server.java:67)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt; &gt;Servan t.java:156)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt; &gt;tDispa tcher.java:225)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt; &gt;va:160 7)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt; &gt;l.java&#010;&gt; &gt;&#010;&gt; &gt; :56)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt; &gt;gyFact ory_impl.java:53)&#010;&gt; &gt;&#010;&gt; &gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt; &gt;onThre aded.java:502)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt; &gt;onnect ionThreaded.java:64)&#010;&gt; &gt;&#010;&gt; &gt; Caused by: java.lang.NullPointerException&#010;&gt; &gt;&#010;&gt; &gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:56)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:52)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt; &gt;taRead er.java:48)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt; &gt;ceptor .java:138)&#010;&gt; &gt;&#010;&gt; &gt;       at&#010;&gt; &gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt; &gt;rChain .java:206)&#010;&gt; &gt;&#010;&gt; &gt;       ... 9 more&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; I have changed nothing else than WS implementation on server side.&#010;&gt; &gt; Could anyone help please? Every advice is welcome, thank you very&#010;&gt; &gt; much.&#010;&gt;&#010;&gt; --&#010;&gt; J. Daniel Kulp&#010;&gt; Principal Engineer&#010;&gt; IONA&#010;&gt; P: 781-902-8727    C: 508-380-7194&#010;&gt; daniel.kulp@iona.com&#010;&gt; http://www.dankulp.com/blog&#010;&gt;&#010;&gt; ----------------------------&#010;&gt; IONA Technologies PLC (registered in Ireland)&#010;&gt; Registered Number: 171387&#010;&gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&gt;&#010;&gt;&#010;&gt; ----------------------------&#010;&gt; IONA Technologies PLC (registered in Ireland)&#010;&gt; Registered Number: 171387&#010;&gt; Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Liu, Jervis&quot; &lt;jliu@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200708.mbox/%3c9A4696F35B459043970EE4A85A3173900668F2@amer-ems1.IONAGLOBAL.COM%3e"/>
<id>urn:uuid:%3c9A4696F35B459043970EE4A85A3173900668F2@amer-ems1-IONAGLOBAL-COM%3e</id>
<updated>2007-08-02T09:18:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, have a new question. I suppose the reason why you want to use Provider interface for CORBA&#010;binding is that you want to access "raw CORBA message payload" so that you can parse operation&#010;info and input parameters by yourself. However the question is what the "raw CORBA message&#010;payload" is? In the world of SOAP binding or XML binding, the content sent on the wire normally&#010;can be represented as XML, thus we can have typed provider interface like Provider&lt;Source&gt;,&#010;Provider&lt;SOAPMessage&gt;. However, in the world of CORBA, I don't think we have a well-defined&#010;type to represent "raw CORBA message payload", do we? Please note, org.apache.yoko.bindings.corba.CorbaMessage&#010;is not the one we are looking for. Same as the org.apache.cxf.binding.soap.SoapMessage and&#010;org.apache.cxf.binding.xml.XMLMessage, they are just a content holder, which represent the&#010;whole input/output message rather than the message payload. The type class that can be used&#010;in Provider&lt;T&gt; is sth that can be produced by Object&lt;T&gt; = DataReader.read(...).&#010; Before we can go ahead to support Provider&lt;T&gt; for CORBA binding, we really need to&#010;figure out what the T is. &#013;&#010;&#013;&#010;BTW, if what you want is CorbaMessage, you can access it from Exchange. See Dan's previous&#010;comment in this thread on how to access Exchange.&#013;&#010;&#013;&#010;I will send this message across to yoko mailing list, hopefully Yoko guys can give some insight&#010;on this.&#013;&#010;&#013;&#010;Cheers,&#013;&#010;Jervis&#013;&#010;&#013;&#010;&#013;&#010;-----Original Message-----&#013;&#010;From: msafr@pikeelectronic.com [mailto:msafr@pikeelectronic.com]&#013;&#010;Sent: 2007年7月30日 19:52&#013;&#010;To: cxf-user@incubator.apache.org; Liu, Jervis&#013;&#010;Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&#013;&#010;&#013;&#010;Hi Jervis, it really sounds great, cxf would be more flexible then. Thank you for your replies.&#010;So do you plan adding support of that to cxf? And would it be possible to know when? :-)&#013;&#010;&#013;&#010;Cheers,&#013;&#010;Michael&#013;&#010;&#013;&#010;&#013;&#010;-----Original Message-----&#013;&#010;From: Liu, Jervis [mailto:jliu@iona.com] &#013;&#010;Sent: Monday, July 30, 2007 1:12 PM&#013;&#010;To: cxf-user@incubator.apache.org; dkulp@apache.org&#013;&#010;Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;Subject: RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&#013;&#010;Coming to think of this again, I found supporting Provider&lt;CorbaMessage&gt; isn't that&#010;difficult as I originally thought. We have some manual checks of binding type in DispatchInDatabindingInterceptor\DispatchOutDatabindingInterceptor,&#010;such as if (binding == soapbinding) then blabla. Actually we were just being lazy, we should&#010;really implement DispatchInDatabindingInterceptor as DispatchInSoapBindingDatabindingInterceptor&#010;and DispatchInXMLbindingDatabindingInterceptor. This way, different dispatch/provider interceptors&#010;for different bindings can be added by corresponding binding providers, which allows the support&#010;of new bindings without the need to modify existing code base. E.g., adding  CORBA binding&#010;support for dispatch/provider involves in writing a DispatchInCorbaBindingDatabindingInterceptor,&#010;doing whatever you want in this interceptor then making sure the CORBABinding provider has&#010;this DispatchInCorbaBindingDatabindingInterceptor registered into interceptor chain during&#010;provider/dispatch case.&#013;&#010;&#013;&#010;Cheers,&#013;&#010;Jervis&#013;&#010;&#013;&#010;-----Original Message-----&#013;&#010;From: Daniel Kulp [mailto:dkulp@apache.org]&#013;&#010;Sent: 2007年7月28日 11:23&#013;&#010;To: cxf-user@incubator.apache.org&#013;&#010;Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&#013;&#010;&#013;&#010;&#013;&#010;Michal,&#013;&#010;&#013;&#010;Right now, we don't support any Provider (or Dispatch) that takes the raw &#013;&#010;CXF Message types.   That's a good suggestion though.  Could you log a &#013;&#010;Jira for it?&#013;&#010;&#013;&#010;What's worse, looking at the code for the Dispatch/Provider stuff on &#013;&#010;trunk, it only will work for XML and SOAP bindings.   It specifically &#013;&#010;checks for those and does "bad" things.   I was hoping to say you could &#013;&#010;do something like:&#013;&#010;&#013;&#010;public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#013;&#010;}&#013;&#010;&#013;&#010;to use the data from the CORBA stream reader, but that doesn't even work &#013;&#010;right now. Even trying a Source doesn't work.    I think some Jira's &#013;&#010;need to be added for that as well.&#013;&#010;&#013;&#010;&#013;&#010;Dan&#013;&#010;&#013;&#010;&#013;&#010;On Friday 27 July 2007 09:29, Michal Šafr wrote:&#013;&#010;&gt;&#013;&#010;&gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#013;&#010;&gt; me if I've sent this problem to a wrong place. I've got the problem&#013;&#010;&gt; described below.&#013;&#010;&gt;&#013;&#010;&gt; I started from simple WSDL describing service with CORBA binding. I&#013;&#010;&gt; generated standalone server and client using CXF tool wsdl2java&#013;&#010;&gt; -server (-client) . Implemented service and everything worked fine&#013;&#010;&gt; without any problem. I was able to call WS using generated client and&#013;&#010;&gt; WS was returning expected values. Then I decided to implement WS using&#013;&#010;&gt; interface javax.xml.ws.Provider so I had:&#013;&#010;&gt;&#013;&#010;&gt; //Service class, annotations are not mentioned here, but i changed&#013;&#010;&gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#013;&#010;&gt;&#013;&#010;&gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#013;&#010;&gt;&#013;&#010;&gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#013;&#010;&gt;&#013;&#010;&gt;             System.out.println("corba service called");&#013;&#010;&gt;&#013;&#010;&gt;             return arg0;&#013;&#010;&gt;&#013;&#010;&gt;       }&#013;&#010;&gt;&#013;&#010;&gt; }&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; Every time I try to call WS a receive following exception on the&#013;&#010;&gt; client side:&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt;ilSyst emException.java:6386)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt;ilSyst emException.java:6408)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#013;&#010;&gt;rManag erReadStream.java:93)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#013;&#010;&gt;1_1.ja va:75)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#013;&#010;&gt;utStre am_1_2.java:80)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#013;&#010;&gt;utStre am_1_0.java:504)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#013;&#010;&gt;Stream _1_0.java:526)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#013;&#010;&gt;am.jav a:153)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; And following exception on the server side:&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; doIntercept&#013;&#010;&gt;&#013;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt;&#013;&#010;&gt; java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:52)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:48)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt;ceptor .java:138)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt;tionOb server.java:67)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt;Servan t.java:156)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt;tDispa tcher.java:225)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt;va:160 7)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt;l.java&#013;&#010;&gt;&#013;&#010;&gt; :56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt;gyFact ory_impl.java:53)&#013;&#010;&gt;&#013;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt;onThre aded.java:502)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt;onnect ionThreaded.java:64)&#013;&#010;&gt;&#013;&#010;&gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; doIntercept&#013;&#010;&gt;&#013;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt;&#013;&#010;&gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#013;&#010;&gt; java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#013;&#010;&gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#013;&#010;&gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:223)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt;tionOb server.java:67)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt;Servan t.java:156)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt;tDispa tcher.java:225)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt;va:160 7)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt;l.java&#013;&#010;&gt;&#013;&#010;&gt; :56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt;gyFact ory_impl.java:53)&#013;&#010;&gt;&#013;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt;onThre aded.java:502)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt;onnect ionThreaded.java:64)&#013;&#010;&gt;&#013;&#010;&gt; Caused by: java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:52)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:48)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt;ceptor .java:138)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       ... 9 more&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; I have changed nothing else than WS implementation on server side.&#013;&#010;&gt; Could anyone help please? Every advice is welcome, thank you very&#013;&#010;&gt; much.&#013;&#010;&#013;&#010;-- &#013;&#010;J. Daniel Kulp&#013;&#010;Principal Engineer&#013;&#010;IONA&#013;&#010;P: 781-902-8727    C: 508-380-7194&#013;&#010;daniel.kulp@iona.com&#013;&#010;http://www.dankulp.com/blog&#013;&#010;&#013;&#010;----------------------------&#013;&#010;IONA Technologies PLC (registered in Ireland)&#013;&#010;Registered Number: 171387&#013;&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#013;&#010;&#013;&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>&quot;Liu, Jervis&quot; &lt;jliu@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3c9A4696F35B459043970EE4A85A3173900668DF@amer-ems1.IONAGLOBAL.COM%3e"/>
<id>urn:uuid:%3c9A4696F35B459043970EE4A85A3173900668DF@amer-ems1-IONAGLOBAL-COM%3e</id>
<updated>2007-07-30T11:12:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Coming to think of this again, I found supporting Provider&lt;CorbaMessage&gt; isn't that difficult&#010;as I originally thought. We have some manual checks of binding type in DispatchInDatabindingInterceptor\DispatchOutDatabindingInterceptor,&#010;such as if (binding == soapbinding) then blabla. Actually we were just being lazy, we should&#010;really implement DispatchInDatabindingInterceptor as DispatchInSoapBindingDatabindingInterceptor&#010;and DispatchInXMLbindingDatabindingInterceptor. This way, different dispatch/provider interceptors&#010;for different bindings can be added by corresponding binding providers, which allows the support&#010;of new bindings without the need to modify existing code base. E.g., adding  CORBA binding&#010;support for dispatch/provider involves in writing a DispatchInCorbaBindingDatabindingInterceptor,&#010;doing whatever you want in this interceptor then making sure the CORBABinding provider has&#010;this DispatchInCorbaBindingDatabindingInterceptor registered into interceptor chain during&#010;provider/dispatch case.&#013;&#010;&#013;&#010;Cheers,&#013;&#010;Jervis&#013;&#010;&#013;&#010;-----Original Message-----&#013;&#010;From: Daniel Kulp [mailto:dkulp@apache.org]&#013;&#010;Sent: 2007年7月28日 11:23&#013;&#010;To: cxf-user@incubator.apache.org&#013;&#010;Cc: Michal ?afr; yoko-user@incubator.apache.org&#013;&#010;Subject: Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;&#013;&#010;&#013;&#010;&#013;&#010;&#013;&#010;Michal,&#013;&#010;&#013;&#010;Right now, we don't support any Provider (or Dispatch) that takes the raw &#013;&#010;CXF Message types.   That's a good suggestion though.  Could you log a &#013;&#010;Jira for it?&#013;&#010;&#013;&#010;What's worse, looking at the code for the Dispatch/Provider stuff on &#013;&#010;trunk, it only will work for XML and SOAP bindings.   It specifically &#013;&#010;checks for those and does "bad" things.   I was hoping to say you could &#013;&#010;do something like:&#013;&#010;&#013;&#010;public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#013;&#010;}&#013;&#010;&#013;&#010;to use the data from the CORBA stream reader, but that doesn't even work &#013;&#010;right now. Even trying a Source doesn't work.    I think some Jira's &#013;&#010;need to be added for that as well.&#013;&#010;&#013;&#010;&#013;&#010;Dan&#013;&#010;&#013;&#010;&#013;&#010;On Friday 27 July 2007 09:29, Michal Šafr wrote:&#013;&#010;&gt;&#013;&#010;&gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#013;&#010;&gt; me if I've sent this problem to a wrong place. I've got the problem&#013;&#010;&gt; described below.&#013;&#010;&gt;&#013;&#010;&gt; I started from simple WSDL describing service with CORBA binding. I&#013;&#010;&gt; generated standalone server and client using CXF tool wsdl2java&#013;&#010;&gt; -server (-client) . Implemented service and everything worked fine&#013;&#010;&gt; without any problem. I was able to call WS using generated client and&#013;&#010;&gt; WS was returning expected values. Then I decided to implement WS using&#013;&#010;&gt; interface javax.xml.ws.Provider so I had:&#013;&#010;&gt;&#013;&#010;&gt; //Service class, annotations are not mentioned here, but i changed&#013;&#010;&gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#013;&#010;&gt;&#013;&#010;&gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#013;&#010;&gt;&#013;&#010;&gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#013;&#010;&gt;&#013;&#010;&gt;             System.out.println("corba service called");&#013;&#010;&gt;&#013;&#010;&gt;             return arg0;&#013;&#010;&gt;&#013;&#010;&gt;       }&#013;&#010;&gt;&#013;&#010;&gt; }&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; Every time I try to call WS a receive following exception on the&#013;&#010;&gt; client side:&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt;ilSyst emException.java:6386)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#013;&#010;&gt;ilSyst emException.java:6408)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#013;&#010;&gt;rManag erReadStream.java:93)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#013;&#010;&gt;1_1.ja va:75)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#013;&#010;&gt;utStre am_1_2.java:80)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#013;&#010;&gt;utStre am_1_0.java:504)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#013;&#010;&gt;Stream _1_0.java:526)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#013;&#010;&gt;am.jav a:153)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; And following exception on the server side:&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; doIntercept&#013;&#010;&gt;&#013;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt;&#013;&#010;&gt; java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:52)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:48)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt;ceptor .java:138)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt;tionOb server.java:67)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt;Servan t.java:156)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt;tDispa tcher.java:225)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt;va:160 7)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt;l.java&#013;&#010;&gt;&#013;&#010;&gt; :56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt;gyFact ory_impl.java:53)&#013;&#010;&gt;&#013;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt;onThre aded.java:502)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt;onnect ionThreaded.java:64)&#013;&#010;&gt;&#013;&#010;&gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#013;&#010;&gt; doIntercept&#013;&#010;&gt;&#013;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#013;&#010;&gt;&#013;&#010;&gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#013;&#010;&gt; java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#013;&#010;&gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#013;&#010;&gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:223)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#013;&#010;&gt;tionOb server.java:67)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#013;&#010;&gt;Servan t.java:156)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#013;&#010;&gt;tDispa tcher.java:225)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#013;&#010;&gt;va:160 7)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#013;&#010;&gt;l.java&#013;&#010;&gt;&#013;&#010;&gt; :56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#013;&#010;&gt;gyFact ory_impl.java:53)&#013;&#010;&gt;&#013;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#013;&#010;&gt;onThre aded.java:502)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#013;&#010;&gt;onnect ionThreaded.java:64)&#013;&#010;&gt;&#013;&#010;&gt; Caused by: java.lang.NullPointerException&#013;&#010;&gt;&#013;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:56)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:52)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#013;&#010;&gt;taRead er.java:48)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#013;&#010;&gt;ceptor .java:138)&#013;&#010;&gt;&#013;&#010;&gt;       at&#013;&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#013;&#010;&gt;rChain .java:206)&#013;&#010;&gt;&#013;&#010;&gt;       ... 9 more&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt;&#013;&#010;&gt; I have changed nothing else than WS implementation on server side.&#013;&#010;&gt; Could anyone help please? Every advice is welcome, thank you very&#013;&#010;&gt; much.&#013;&#010;&#013;&#010;-- &#013;&#010;J. Daniel Kulp&#013;&#010;Principal Engineer&#013;&#010;IONA&#013;&#010;P: 781-902-8727    C: 508-380-7194&#013;&#010;daniel.kulp@iona.com&#013;&#010;http://www.dankulp.com/blog&#013;&#010;&#010;----------------------------&#010;IONA Technologies PLC (registered in Ireland)&#010;Registered Number: 171387&#010;Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>Daniel Kulp &lt;dkulp@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3c200707272322.43615.dkulp@apache.org%3e"/>
<id>urn:uuid:%3c200707272322-43615-dkulp@apache-org%3e</id>
<updated>2007-07-28T03:22:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Michal,&#010;&#010;Right now, we don't support any Provider (or Dispatch) that takes the raw &#010;CXF Message types.   That's a good suggestion though.  Could you log a &#010;Jira for it?&#010;&#010;What's worse, looking at the code for the Dispatch/Provider stuff on &#010;trunk, it only will work for XML and SOAP bindings.   It specifically &#010;checks for those and does "bad" things.   I was hoping to say you could &#010;do something like:&#010;&#010;public class CalculatorImpl implements Provider&lt;XMLStreamReader&gt; {&#010;}&#010;&#010;to use the data from the CORBA stream reader, but that doesn't even work &#010;right now. Even trying a Source doesn't work.    I think some Jira's &#010;need to be added for that as well.&#010;&#010;&#010;Dan&#010;&#010;&#010;On Friday 27 July 2007 09:29, Michal Šafr wrote:&#010;&gt;&#010;&gt; firstly I'm not sure, if this is CXF or YOKO problem, so please excuse&#010;&gt; me if I've sent this problem to a wrong place. I've got the problem&#010;&gt; described below.&#010;&gt;&#010;&gt; I started from simple WSDL describing service with CORBA binding. I&#010;&gt; generated standalone server and client using CXF tool wsdl2java&#010;&gt; -server (-client) . Implemented service and everything worked fine&#010;&gt; without any problem. I was able to call WS using generated client and&#010;&gt; WS was returning expected values. Then I decided to implement WS using&#010;&gt; interface javax.xml.ws.Provider so I had:&#010;&gt;&#010;&gt; //Service class, annotations are not mentioned here, but i changed&#010;&gt; @WebService annotation to @WebServiceProvider and added @ServiceMode&#010;&gt;&#010;&gt; public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#010;&gt;&#010;&gt;       public CorbaMessage invoke(CorbaMessage arg0) {&#010;&gt;&#010;&gt;             System.out.println("corba service called");&#010;&gt;&#010;&gt;             return arg0;&#010;&gt;&#010;&gt;       }&#010;&gt;&#010;&gt; }&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Every time I try to call WS a receive following exception on the&#010;&gt; client side:&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt;ilSyst emException.java:6386)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUt&#010;&gt;ilSyst emException.java:6408)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(Buffe&#010;&gt;rManag erReadStream.java:93)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_&#010;&gt;1_1.ja va:75)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInp&#010;&gt;utStre am_1_2.java:80)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInp&#010;&gt;utStre am_1_0.java:504)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInput&#010;&gt;Stream _1_0.java:526)&#010;&gt;&#010;&gt;       at&#010;&gt; com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStre&#010;&gt;am.jav a:153)&#010;&gt;&#010;&gt;       at&#010;&gt; com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#010;&gt;&#010;&gt;       at&#010;&gt; com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; And following exception on the server side:&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; 27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; doIntercept&#010;&gt;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt;&#010;&gt; java.lang.NullPointerException&#010;&gt;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:56)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:52)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:48)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt;ceptor .java:138)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt;rChain .java:206)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt;tionOb server.java:67)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt;Servan t.java:156)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt;tDispa tcher.java:225)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt;va:160 7)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt;l.java&#010;&gt;&#010;&gt; :56)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt;gyFact ory_impl.java:53)&#010;&gt;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt;onThre aded.java:502)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt;onnect ionThreaded.java:64)&#010;&gt;&#010;&gt; 27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain&#010;&gt; doIntercept&#010;&gt;&#010;&gt; INFO: Interceptor has thrown exception, unwinding now&#010;&gt;&#010;&gt; org.apache.yoko.bindings.corba.CorbaBindingException:&#010;&gt; java.lang.NullPointerException&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterce&#010;&gt;ptor.h andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt;rChain .java:206)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessa&#010;&gt;ge(Abs tractFaultChainInitiatorObserver.java:86)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt;rChain .java:223)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia&#010;&gt;tionOb server.java:67)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSI&#010;&gt;Servan t.java:156)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(Servan&#010;&gt;tDispa tcher.java:225)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.ja&#010;&gt;va:160 7)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_imp&#010;&gt;l.java&#010;&gt;&#010;&gt; :56)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrate&#010;&gt;gyFact ory_impl.java:53)&#010;&gt;&#010;&gt;       at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnecti&#010;&gt;onThre aded.java:502)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPC&#010;&gt;onnect ionThreaded.java:64)&#010;&gt;&#010;&gt; Caused by: java.lang.NullPointerException&#010;&gt;&#010;&gt;       at java.lang.Class.isAssignableFrom(Native Method)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:56)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:52)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDa&#010;&gt;taRead er.java:48)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInter&#010;&gt;ceptor .java:138)&#010;&gt;&#010;&gt;       at&#010;&gt; org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto&#010;&gt;rChain .java:206)&#010;&gt;&#010;&gt;       ... 9 more&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; I have changed nothing else than WS implementation on server side.&#010;&gt; Could anyone help please? Every advice is welcome, thank you very&#010;&gt; much.&#010;&#010;-- &#010;J. Daniel Kulp&#010;Principal Engineer&#010;IONA&#010;P: 781-902-8727    C: 508-380-7194&#010;daniel.kulp@iona.com&#010;http://www.dankulp.com/blog&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Mentor changes for Yoko</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3c32A5DF93-B5CA-4B7B-B728-D6F909F33466@toolazydogs.com%3e"/>
<id>urn:uuid:%3c32A5DF93-B5CA-4B7B-B728-D6F909F33466@toolazydogs-com%3e</id>
<updated>2007-07-27T19:45:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm not sure if there needs to be an announcement or not but Ken Coar  &#010;has stepped down as one of Yoko's mentors and Matt Hogstrom has  &#010;graciously offered to step in.&#010;&#010;Thanks for all your help in the past Ken and welcome aboard Matt!&#010;&#010;Regards,&#010;Alan&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>YOKO &amp; CXF CORBA Web Service using Provider&lt;CorbaMessage&gt;</title>
<author><name>Michal Šafr &lt;msafr@pikeelectronic.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3c001e01c7d052$30cc75b0$3105a8c0@pikew2k.pikeelectronic.com%3e"/>
<id>urn:uuid:%3c001e01c7d052$30cc75b0$3105a8c0@pikew2k-pikeelectronic-com%3e</id>
<updated>2007-07-27T13:29:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everyone,&#010;&#010; &#010;&#010;firstly I'm not sure, if this is CXF or YOKO problem, so please excuse me if&#010;I've sent this problem to a wrong place. I've got the problem described&#010;below.&#010;&#010; &#010;&#010;I started from simple WSDL describing service with CORBA binding. I&#010;generated standalone server and client using CXF tool wsdl2java -server&#010;(-client) . Implemented service and everything worked fine without any&#010;problem. I was able to call WS using generated client and WS was returning&#010;expected values. Then I decided to implement WS using interface&#010;javax.xml.ws.Provider so I had:&#010;&#010; &#010;&#010;//Service class, annotations are not mentioned here, but i changed&#010;@WebService annotation to @WebServiceProvider and added @ServiceMode&#010;&#010;public class CalculatorImpl implements Provider&lt;CorbaMessage&gt; {&#010;&#010;      public CorbaMessage invoke(CorbaMessage arg0) {&#010;&#010;            System.out.println("corba service called");&#010;&#010;            return arg0;&#010;&#010;      }&#010;&#010;} &#010;&#010; &#010;&#010;Every time I try to call WS a receive following exception on the client&#010;side:&#010;&#010; &#010;&#010;org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 207  completed: No&#010;&#010;      at&#010;com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUtilSyst&#010;emException.java:6386)&#010;&#010;      at&#010;com.sun.corba.se.impl.logging.ORBUtilSystemException.endOfStream(ORBUtilSyst&#010;emException.java:6408)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.BufferManagerReadStream.underflow(BufferManag&#010;erReadStream.java:93)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_1_1.ja&#010;va:75)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.CDRInputStream_1_2.alignAndCheck(CDRInputStre&#010;am_1_2.java:80)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_longlong(CDRInputStre&#010;am_1_0.java:504)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_double(CDRInputStream&#010;_1_0.java:526)&#010;&#010;      at&#010;com.sun.corba.se.impl.encoding.CDRInputStream.read_double(CDRInputStream.jav&#010;a:153)&#010;&#010;      at&#010;com.pikeelectronic.calc._CalculatorStub.add(_CalculatorStub.java:182)&#010;&#010;      at com.pikeelectronic.calc.CORBAClient.Client.main(Client.java:32)&#010;&#010; &#010;&#010;And following exception on the server side:&#010;&#010; &#010;&#010;27.7.2007 13:21:05 org.apache.cxf.phase.PhaseInterceptorChain doIntercept&#010;&#010;INFO: Interceptor has thrown exception, unwinding now&#010;&#010;java.lang.NullPointerException&#010;&#010;      at java.lang.Class.isAssignableFrom(Native Method)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:56)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:52)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:48)&#010;&#010;      at&#010;org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInterceptor&#010;.java:138)&#010;&#010;      at&#010;org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain&#010;.java:206)&#010;&#010;      at&#010;org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationOb&#010;server.java:67)&#010;&#010;      at&#010;org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSIServan&#010;t.java:156)&#010;&#010;      at&#010;org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(ServantDispa&#010;tcher.java:225)&#010;&#010;      at&#010;org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:160&#010;7)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java&#010;:56)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrategyFact&#010;ory_impl.java:53)&#010;&#010;      at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnectionThre&#010;aded.java:502)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPConnect&#010;ionThreaded.java:64)&#010;&#010;27.7.2007 13:21:06 org.apache.cxf.phase.PhaseInterceptorChain doIntercept&#010;&#010;INFO: Interceptor has thrown exception, unwinding now&#010;&#010;org.apache.yoko.bindings.corba.CorbaBindingException:&#010;java.lang.NullPointerException&#010;&#010;      at&#010;org.apache.yoko.bindings.corba.interceptors.CorbaStreamFaultOutInterceptor.h&#010;andleMessage(CorbaStreamFaultOutInterceptor.java:113)&#010;&#010;      at&#010;org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain&#010;.java:206)&#010;&#010;      at&#010;org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(Abs&#010;tractFaultChainInitiatorObserver.java:86)&#010;&#010;      at&#010;org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain&#010;.java:223)&#010;&#010;      at&#010;org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationOb&#010;server.java:67)&#010;&#010;      at&#010;org.apache.yoko.bindings.corba.runtime.CorbaDSIServant.invoke(CorbaDSIServan&#010;t.java:156)&#010;&#010;      at&#010;org.apache.yoko.orb.OBPortableServer.ServantDispatcher.dispatch(ServantDispa&#010;tcher.java:225)&#010;&#010;      at&#010;org.apache.yoko.orb.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:160&#010;7)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java&#010;:56)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.DispatchSameThread_impl.dispatch(DispatchStrategyFact&#010;ory_impl.java:53)&#010;&#010;      at org.apache.yoko.orb.OB.Upcall.invoke(Upcall.java:360)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.GIOPConnectionThreaded.execReceive(GIOPConnectionThre&#010;aded.java:502)&#010;&#010;      at&#010;org.apache.yoko.orb.OB.GIOPConnectionThreaded$ReceiverThread.run(GIOPConnect&#010;ionThreaded.java:64)&#010;&#010;Caused by: java.lang.NullPointerException&#010;&#010;      at java.lang.Class.isAssignableFrom(Native Method)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:56)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:52)&#010;&#010;      at&#010;org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataRead&#010;er.java:48)&#010;&#010;      at&#010;org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInterceptor&#010;.java:138)&#010;&#010;      at&#010;org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain&#010;.java:206)&#010;&#010;      ... 9 more&#010;&#010; &#010;&#010;I have changed nothing else than WS implementation on server side. Could&#010;anyone help please? Every advice is welcome, thank you very much.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What JARs do I need to deploy to CXF to get binding working?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707180645g7be1506bxc9f192b05e0fd216@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707180645g7be1506bxc9f192b05e0fd216@mail-gmail-com%3e</id>
<updated>2007-07-18T13:45:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have suceeded to run Yoko binding in CXF with current configuration:&#010;&#010;bootclasspath:&#010;- yoko-spec-corba.jar&#010;- yoko-core.jar&#010;&#010;classpath:&#010;- jre libraries&#010;- all jars from Apache CXF distribution&#010;- all jars from Apache Yoko distribution (without these from bootclasspath)&#010;&#010;I hope it is easy to configure bootclasspath in EJB application (I&#010;have never done this before).&#010;&#010;Anyway now it seems I am running Yoko CORBA binding with the latest&#010;CXF distribution.&#010;&#010;&#010;2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; I am getting&#010;&gt;&#010;&gt; Starting Server&#010;&gt; 18.7.2007 14:41:51&#010;&gt; org.springframework.context.support.AbstractApplicationContext refresh&#010;&gt; INFO: Refreshing&#010;&gt; org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f: display name&#010;&gt; [org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f]; startup&#010;&gt; date [Wed Jul 18 14:41:51 CEST 2007]; root of context hierarchy&#010;&gt; 18.7.2007 14:41:51 org.apache.cxf.bus.spring.BusApplicationContext&#010;&gt; getConfigResources&#010;&gt; INFO: Could not find the configuration file cxf.xml on the classpath.&#010;&gt; 18.7.2007 14:41:51&#010;&gt; org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;&gt; loadBeanDefinitions&#010;&gt; INFO: Loading XML bean definitions from class path resource&#010;&gt; [META-INF/cxf/cxf.xml]&#010;&gt; 18.7.2007 14:41:51&#010;&gt; org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;&gt; loadBeanDefinitions&#010;&gt; INFO: Loading XML bean definitions from class path resource&#010;&gt; [META-INF/cxf/cxf-extension-corba.xml]&#010;&gt; 18.7.2007 14:41:51&#010;&gt; org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;&gt; loadBeanDefinitions&#010;&gt; INFO: Loading XML bean definitions from class path resource&#010;&gt; [META-INF/cxf/cxf-extension-xml.xml]&#010;&gt; 18.7.2007 14:41:51&#010;&gt; org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;&gt; loadBeanDefinitions&#010;&gt; INFO: Loading XML bean definitions from class path resource&#010;&gt; [META-INF/cxf/cxf-extension-soap.xml]&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.springframework.context.support.AbstractApplicationContext refresh&#010;&gt; INFO: Bean factory for application context&#010;&gt; [org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f]:&#010;&gt; org.springframework.beans.factory.support.DefaultListableBeanFactory@1aae94f&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;&gt; postProcessAfterInitialization&#010;&gt; INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not&#010;&gt; eligible for getting processed by all BeanPostProcessors (for example:&#010;&gt; not eligible for auto-proxying)&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;&gt; postProcessAfterInitialization&#010;&gt; INFO: Bean 'cxf' is not eligible for getting processed by all&#010;&gt; BeanPostProcessors (for example: not eligible for auto-proxying)&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;&gt; postProcessAfterInitialization&#010;&gt; INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is&#010;&gt; not eligible for getting processed by all BeanPostProcessors (for&#010;&gt; example: not eligible for auto-proxying)&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.springframework.beans.factory.support.DefaultListableBeanFactory&#010;&gt; preInstantiateSingletons&#010;&gt; INFO: Pre-instantiating singletons in&#010;&gt; org.springframework.beans.factory.support.DefaultListableBeanFactory@1aae94f:&#010;&gt; defining beans [cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.yoko.bindings.corba.CorbaBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer];&#010;&gt; root of factory hierarchy&#010;&gt; 18.7.2007 14:41:52&#010;&gt; org.apache.cxf.service.factory.ReflectionServiceFactoryBean&#010;&gt; buildServiceFromWSDL&#010;&gt; INFO: Creating Service&#010;&gt; {http://schemas.apache.org/yoko/idl/calc}com.pikeelectronic.calc.CalculatorCORBAService&#010;&gt; from WSDL: file:calc.wsdl&#010;&gt; Exception in thread "main"&#010;&gt; org.apache.cxf.service.factory.ServiceConstructionException&#010;&gt;         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createEndpoints(ReflectionServiceFactoryBean.java:170)&#010;&gt;         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:155)&#010;&gt;         at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83)&#010;&gt;         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:89)&#010;&gt;         at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:142)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:277)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:223)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:175)&#010;&gt;         at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74)&#010;&gt;         at javax.xml.ws.Endpoint.publish(Unknown Source)&#010;&gt;         at com.pikeelectronic.calc.wsserver.ComPikeelectronicCalcCalculatorServer.&lt;init&gt;(ComPikeelectronicCalcCalculatorServer.java:19)&#010;&gt;         at com.pikeelectronic.calc.wsserver.ComPikeelectronicCalcCalculatorServer.main(ComPikeelectronicCalcCalculatorServer.java:23)&#010;&gt; Caused by: org.apache.cxf.endpoint.EndpointException&#010;&gt;         at org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:130)&#010;&gt;         at org.apache.cxf.endpoint.EndpointImpl.&lt;init&gt;(EndpointImpl.java:80)&#010;&gt;         at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.&lt;init&gt;(JaxWsEndpointImpl.java:66)&#010;&gt;         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:152)&#010;&gt;         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createEndpoints(ReflectionServiceFactoryBean.java:166)&#010;&gt;         ... 11 more&#010;&gt; Caused by: org.apache.cxf.BusException: No binding factory for&#010;&gt; namespace http://schemas.apache.org/yoko/bindings/corba registered.&#010;&gt;         at org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:78)&#010;&gt;         at org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:127)&#010;&gt;         ... 15 more&#010;&gt;&#010;&gt; The message org.apache.cxf.BusException: No binding factory for&#010;&gt; namespace is strange because it seems CXF is loading the yoko binding&#010;&gt; library:&#010;&gt;&#010;&gt; Loading XML bean definitions from class path resource&#010;&gt; [META-INF/cxf/cxf-extension-corba.xml]&#010;&gt;&#010;&gt; 2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; &gt; Hey!&#010;&gt; &gt;&#010;&gt; &gt; I do not understand this documentation page:&#010;&gt; &gt;&#010;&gt; &gt; http://cwiki.apache.org/YOKO/binding-runtime-configuration.html&#010;&gt; &gt;&#010;&gt; &gt; I dont know how to add CORBA binding to CXF. Suppose I have&#010;&gt; &gt; cxf-manifest.jar which includes all CXF required libraries. When I add&#010;&gt; &gt; yoko-bindings.jar to the classpath the Spring not load the extension.&#010;&gt; &gt; I tried bootclasspath too with no difference. I am not able to use the&#010;&gt; &gt; library (see the exception bellow).&#010;&gt; &gt;&#010;&gt; &gt; The strange is that yoko-bindings also includes cxf jars. These which&#010;&gt; &gt; are provided with the yoko distribution. Its in the manifest in the&#010;&gt; &gt; Class-Path definition. This implies when you add the yoko-binding&#010;&gt; &gt; library to the bootclasspath you are also adding cxf libraries (those&#010;&gt; &gt; which are distributed with yoko). It doesnt matter if you include CXF&#010;&gt; &gt; or not in the classpath because it will be overriden with jars from&#010;&gt; &gt; bootclaspath.&#010;&gt; &gt;&#010;&gt; &gt; Could you please describe the way of deploying YOKO and CXF more&#010;&gt; &gt; precisely? Thanks.&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; 2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; &gt; &gt; Hello,&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; I have found you are distributing some jars from the CXF project with&#010;&gt; &gt; &gt; Yoko. I would like to use CORBA binding in my CXF environment. Which&#010;&gt; &gt; &gt; JARs do I need to get it working with CXF?&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; When I try to run some examples from the CXF distribution with CXF&#010;&gt; &gt; &gt; libraries distributed with Yoko, some of the examples do not work.&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; --&#010;&gt; &gt; &gt; Lukas Zapletal&#010;&gt; &gt; &gt; http://lukas.zapletalovi.com&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Lukas Zapletal&#010;&gt; &gt; http://lukas.zapletalovi.com&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What JARs do I need to deploy to CXF to get binding working?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707180544v16f89e77w24dc62a02ec966c2@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707180544v16f89e77w24dc62a02ec966c2@mail-gmail-com%3e</id>
<updated>2007-07-18T12:44:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am getting&#010;&#010;Starting Server&#010;18.7.2007 14:41:51&#010;org.springframework.context.support.AbstractApplicationContext refresh&#010;INFO: Refreshing&#010;org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f: display name&#010;[org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f]; startup&#010;date [Wed Jul 18 14:41:51 CEST 2007]; root of context hierarchy&#010;18.7.2007 14:41:51 org.apache.cxf.bus.spring.BusApplicationContext&#010;getConfigResources&#010;INFO: Could not find the configuration file cxf.xml on the classpath.&#010;18.7.2007 14:41:51&#010;org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;loadBeanDefinitions&#010;INFO: Loading XML bean definitions from class path resource&#010;[META-INF/cxf/cxf.xml]&#010;18.7.2007 14:41:51&#010;org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;loadBeanDefinitions&#010;INFO: Loading XML bean definitions from class path resource&#010;[META-INF/cxf/cxf-extension-corba.xml]&#010;18.7.2007 14:41:51&#010;org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;loadBeanDefinitions&#010;INFO: Loading XML bean definitions from class path resource&#010;[META-INF/cxf/cxf-extension-xml.xml]&#010;18.7.2007 14:41:51&#010;org.springframework.beans.factory.xml.XmlBeanDefinitionReader&#010;loadBeanDefinitions&#010;INFO: Loading XML bean definitions from class path resource&#010;[META-INF/cxf/cxf-extension-soap.xml]&#010;18.7.2007 14:41:52&#010;org.springframework.context.support.AbstractApplicationContext refresh&#010;INFO: Bean factory for application context&#010;[org.apache.cxf.bus.spring.BusApplicationContext@1e0ff2f]:&#010;org.springframework.beans.factory.support.DefaultListableBeanFactory@1aae94f&#010;18.7.2007 14:41:52&#010;org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;postProcessAfterInitialization&#010;INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not&#010;eligible for getting processed by all BeanPostProcessors (for example:&#010;not eligible for auto-proxying)&#010;18.7.2007 14:41:52&#010;org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;postProcessAfterInitialization&#010;INFO: Bean 'cxf' is not eligible for getting processed by all&#010;BeanPostProcessors (for example: not eligible for auto-proxying)&#010;18.7.2007 14:41:52&#010;org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker&#010;postProcessAfterInitialization&#010;INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is&#010;not eligible for getting processed by all BeanPostProcessors (for&#010;example: not eligible for auto-proxying)&#010;18.7.2007 14:41:52&#010;org.springframework.beans.factory.support.DefaultListableBeanFactory&#010;preInstantiateSingletons&#010;INFO: Pre-instantiating singletons in&#010;org.springframework.beans.factory.support.DefaultListableBeanFactory@1aae94f:&#010;defining beans [cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.yoko.bindings.corba.CorbaBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer];&#010;root of factory hierarchy&#010;18.7.2007 14:41:52&#010;org.apache.cxf.service.factory.ReflectionServiceFactoryBean&#010;buildServiceFromWSDL&#010;INFO: Creating Service&#010;{http://schemas.apache.org/yoko/idl/calc}com.pikeelectronic.calc.CalculatorCORBAService&#010;from WSDL: file:calc.wsdl&#010;Exception in thread "main"&#010;org.apache.cxf.service.factory.ServiceConstructionException&#010;&#009;at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createEndpoints(ReflectionServiceFactoryBean.java:170)&#010;&#009;at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:155)&#010;&#009;at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83)&#010;&#009;at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:89)&#010;&#009;at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:142)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:277)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:223)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:175)&#010;&#009;at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74)&#010;&#009;at javax.xml.ws.Endpoint.publish(Unknown Source)&#010;&#009;at com.pikeelectronic.calc.wsserver.ComPikeelectronicCalcCalculatorServer.&lt;init&gt;(ComPikeelectronicCalcCalculatorServer.java:19)&#010;&#009;at com.pikeelectronic.calc.wsserver.ComPikeelectronicCalcCalculatorServer.main(ComPikeelectronicCalcCalculatorServer.java:23)&#010;Caused by: org.apache.cxf.endpoint.EndpointException&#010;&#009;at org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:130)&#010;&#009;at org.apache.cxf.endpoint.EndpointImpl.&lt;init&gt;(EndpointImpl.java:80)&#010;&#009;at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.&lt;init&gt;(JaxWsEndpointImpl.java:66)&#010;&#009;at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:152)&#010;&#009;at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createEndpoints(ReflectionServiceFactoryBean.java:166)&#010;&#009;... 11 more&#010;Caused by: org.apache.cxf.BusException: No binding factory for&#010;namespace http://schemas.apache.org/yoko/bindings/corba registered.&#010;&#009;at org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:78)&#010;&#009;at org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:127)&#010;&#009;... 15 more&#010;&#010;The message org.apache.cxf.BusException: No binding factory for&#010;namespace is strange because it seems CXF is loading the yoko binding&#010;library:&#010;&#010;Loading XML bean definitions from class path resource&#010;[META-INF/cxf/cxf-extension-corba.xml]&#010;&#010;2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; Hey!&#010;&gt;&#010;&gt; I do not understand this documentation page:&#010;&gt;&#010;&gt; http://cwiki.apache.org/YOKO/binding-runtime-configuration.html&#010;&gt;&#010;&gt; I dont know how to add CORBA binding to CXF. Suppose I have&#010;&gt; cxf-manifest.jar which includes all CXF required libraries. When I add&#010;&gt; yoko-bindings.jar to the classpath the Spring not load the extension.&#010;&gt; I tried bootclasspath too with no difference. I am not able to use the&#010;&gt; library (see the exception bellow).&#010;&gt;&#010;&gt; The strange is that yoko-bindings also includes cxf jars. These which&#010;&gt; are provided with the yoko distribution. Its in the manifest in the&#010;&gt; Class-Path definition. This implies when you add the yoko-binding&#010;&gt; library to the bootclasspath you are also adding cxf libraries (those&#010;&gt; which are distributed with yoko). It doesnt matter if you include CXF&#010;&gt; or not in the classpath because it will be overriden with jars from&#010;&gt; bootclaspath.&#010;&gt;&#010;&gt; Could you please describe the way of deploying YOKO and CXF more&#010;&gt; precisely? Thanks.&#010;&gt;&#010;&gt;&#010;&gt; 2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; &gt; Hello,&#010;&gt; &gt;&#010;&gt; &gt; I have found you are distributing some jars from the CXF project with&#010;&gt; &gt; Yoko. I would like to use CORBA binding in my CXF environment. Which&#010;&gt; &gt; JARs do I need to get it working with CXF?&#010;&gt; &gt;&#010;&gt; &gt; When I try to run some examples from the CXF distribution with CXF&#010;&gt; &gt; libraries distributed with Yoko, some of the examples do not work.&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Lukas Zapletal&#010;&gt; &gt; http://lukas.zapletalovi.com&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What JARs do I need to deploy to CXF to get binding working?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707180535h7de37dafh82b32b57864419a5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707180535h7de37dafh82b32b57864419a5@mail-gmail-com%3e</id>
<updated>2007-07-18T12:35:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hey!&#010;&#010;I do not understand this documentation page:&#010;&#010;http://cwiki.apache.org/YOKO/binding-runtime-configuration.html&#010;&#010;I dont know how to add CORBA binding to CXF. Suppose I have&#010;cxf-manifest.jar which includes all CXF required libraries. When I add&#010;yoko-bindings.jar to the classpath the Spring not load the extension.&#010;I tried bootclasspath too with no difference. I am not able to use the&#010;library (see the exception bellow).&#010;&#010;The strange is that yoko-bindings also includes cxf jars. These which&#010;are provided with the yoko distribution. Its in the manifest in the&#010;Class-Path definition. This implies when you add the yoko-binding&#010;library to the bootclasspath you are also adding cxf libraries (those&#010;which are distributed with yoko). It doesnt matter if you include CXF&#010;or not in the classpath because it will be overriden with jars from&#010;bootclaspath.&#010;&#010;Could you please describe the way of deploying YOKO and CXF more&#010;precisely? Thanks.&#010;&#010;&#010;2007/7/18, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; Hello,&#010;&gt;&#010;&gt; I have found you are distributing some jars from the CXF project with&#010;&gt; Yoko. I would like to use CORBA binding in my CXF environment. Which&#010;&gt; JARs do I need to get it working with CXF?&#010;&gt;&#010;&gt; When I try to run some examples from the CXF distribution with CXF&#010;&gt; libraries distributed with Yoko, some of the examples do not work.&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>What JARs do I need to deploy to CXF to get binding working?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707180256l6b9c1fdds19b94265666589f3@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707180256l6b9c1fdds19b94265666589f3@mail-gmail-com%3e</id>
<updated>2007-07-18T09:56:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;I have found you are distributing some jars from the CXF project with&#010;Yoko. I would like to use CORBA binding in my CXF environment. Which&#010;JARs do I need to get it working with CXF?&#010;&#010;When I try to run some examples from the CXF distribution with CXF&#010;libraries distributed with Yoko, some of the examples do not work.&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SOAP Document Binding and CORBA Binding</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707180138n1a267353v73a37b12d29c8ffe@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707180138n1a267353v73a37b12d29c8ffe@mail-gmail-com%3e</id>
<updated>2007-07-18T08:38:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have found the problem. The source WSDL contains SOAP binding and&#010;port. I have created a web service that binds to this service and not&#010;the corba one. Because the wsdl2idl tool has added the COERBA binding&#010;in the wsdl-corba (and has left the originall binding/service&#010;untouched), I was creating wrong service.&#010;&#010;2007/7/17, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; Hello,&#010;&gt;&#010;&gt; I am trying to get the example from CXF working. Its definition is:&#010;&gt;&#010;&gt; &lt;wsdl:definitions name="SOAPRelay"&#010;&gt; targetNamespace="http://pikeelectronic.com/calcor"&#010;&gt;     xmlns="http://schemas.xmlsoap.org/wsdl/"&#010;&gt;     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"&#010;&gt;     xmlns:tns="http://pikeelectronic.com/calcor"&#010;&gt;     xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt;     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&#010;&gt;     xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&#010;&gt;     &lt;wsdl:types&gt;&#010;&gt;         &lt;schema targetNamespace="http://pikeelectronic.com/calcor/types"&#010;&gt;             xmlns="http://www.w3.org/2001/XMLSchema"&#010;&gt; elementFormDefault="qualified"&gt;&#010;&gt;             &lt;element name="sayHi"&gt;&#010;&gt;                 &lt;complexType/&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="sayHiResponse"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="responseType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMe"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="requestType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMeResponse"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="responseType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMeOneWay"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="requestType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;                 &lt;element name="pingMe"&gt;&#010;&gt;                                 &lt;complexType/&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;                         &lt;element name="pingMeResponse"&gt;&#010;&gt;                                 &lt;complexType/&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;                         &lt;element name="faultDetail"&gt;&#010;&gt;                                 &lt;complexType&gt;&#010;&gt;                                         &lt;sequence&gt;&#010;&gt;                                                 &lt;element name="minor" type="xsd:short"/&gt;&#010;&gt;                                                 &lt;element name="major" type="xsd:short"/&gt;&#010;&gt;                                         &lt;/sequence&gt;&#010;&gt;                                 &lt;/complexType&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;         &lt;/schema&gt;&#010;&gt;     &lt;/wsdl:types&gt;&#010;&gt;     &lt;wsdl:message name="sayHiRequest"&gt;&#010;&gt;         &lt;wsdl:part element="x1:sayHi" name="in"/&gt;&#010;&gt;     &lt;/wsdl:message&gt;&#010;&gt;     &lt;wsdl:message name="sayHiResponse"&gt;&#010;&gt;         &lt;wsdl:part element="x1:sayHiResponse" name="out"/&gt;&#010;&gt;     &lt;/wsdl:message&gt;&#010;&gt;     &lt;wsdl:message name="greetMeRequest"&gt;&#010;&gt;         &lt;wsdl:part element="x1:greetMe" name="in"/&gt;&#010;&gt;     &lt;/wsdl:message&gt;&#010;&gt;     &lt;wsdl:message name="greetMeResponse"&gt;&#010;&gt;         &lt;wsdl:part element="x1:greetMeResponse" name="out"/&gt;&#010;&gt;     &lt;/wsdl:message&gt;&#010;&gt;     &lt;wsdl:message name="greetMeOneWayRequest"&gt;&#010;&gt;         &lt;wsdl:part element="x1:greetMeOneWay" name="in"/&gt;&#010;&gt;     &lt;/wsdl:message&gt;&#010;&gt;&#010;&gt;     &lt;wsdl:portType name="Greeter"&gt;&#010;&gt;         &lt;wsdl:operation name="sayHi"&gt;&#010;&gt;             &lt;wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/&gt;&#010;&gt;             &lt;wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;&#010;&gt;         &lt;wsdl:operation name="greetMe"&gt;&#010;&gt;             &lt;wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/&gt;&#010;&gt;             &lt;wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;&#010;&gt;         &lt;wsdl:operation name="greetMeOneWay"&gt;&#010;&gt;             &lt;wsdl:input message="tns:greetMeOneWayRequest"&#010;&gt; name="greetMeOneWayRequest"/&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;     &lt;/wsdl:portType&gt;&#010;&gt;     &lt;wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter"&gt;&#010;&gt;         &lt;soap:binding style="document"&#010;&gt; transport="http://schemas.xmlsoap.org/soap/http"/&gt;&#010;&gt;&#010;&gt;         &lt;wsdl:operation name="sayHi"&gt;&#010;&gt;             &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;             &lt;wsdl:input name="sayHiRequest"&gt;&#010;&gt;                 &lt;soap:body use="literal"/&gt;&#010;&gt;             &lt;/wsdl:input&gt;&#010;&gt;             &lt;wsdl:output name="sayHiResponse"&gt;&#010;&gt;                 &lt;soap:body use="literal"/&gt;&#010;&gt;             &lt;/wsdl:output&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;&#010;&gt;         &lt;wsdl:operation name="greetMe"&gt;&#010;&gt;             &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;             &lt;wsdl:input name="greetMeRequest"&gt;&#010;&gt;                 &lt;soap:body use="literal"/&gt;&#010;&gt;             &lt;/wsdl:input&gt;&#010;&gt;             &lt;wsdl:output name="greetMeResponse"&gt;&#010;&gt;                 &lt;soap:body use="literal"/&gt;&#010;&gt;             &lt;/wsdl:output&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;&#010;&gt;         &lt;wsdl:operation name="greetMeOneWay"&gt;&#010;&gt;             &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;             &lt;wsdl:input name="greetMeOneWayRequest"&gt;&#010;&gt;                 &lt;soap:body use="literal"/&gt;&#010;&gt;             &lt;/wsdl:input&gt;&#010;&gt;         &lt;/wsdl:operation&gt;&#010;&gt;&#010;&gt;     &lt;/wsdl:binding&gt;&#010;&gt;&#010;&gt;     &lt;wsdl:service name="SOAPRelayService"&gt;&#010;&gt;         &lt;wsdl:port binding="tns:Greeter_SOAPBinding" name="SOAPRelayPort"&gt;&#010;&gt;             &lt;soap:address&#010;&gt; location="http://localhost:9000/SoapContext/SOAPRelayPort"/&gt;&#010;&gt;         &lt;/wsdl:port&gt;&#010;&gt;     &lt;/wsdl:service&gt;&#010;&gt;&#010;&gt; &lt;/wsdl:definitions&gt;&#010;&gt;&#010;&gt; The Yoko generated me IDL and:&#010;&gt;&#010;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;&#010;&gt; &lt;definitions name="SOAPRelay"&#010;&gt; targetNamespace="http://pikeelectronic.com/calcor"&#010;&gt; xmlns="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; xmlns:corba="http://schemas.apache.org/yoko/bindings/corba"&#010;&gt; xmlns:ns1="http://pikeelectronic.com/calcor/corba/typemap/"&#010;&gt; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; xmlns:tns="http://pikeelectronic.com/calcor"&#010;&gt; xmlns:xsd="http://www.w3.org/2001/XMLSchema"&#010;&gt; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"&#010;&gt; xmlns:x1="http://pikeelectronic.com/calcor/types"&gt;&#010;&gt;   &lt;corba:typeMapping xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; targetNamespace="http://pikeelectronic.com/calcor/corba/typemap/"&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:greetMe:1.0" type="x1:greetMe" name="greetMe"&gt;&#010;&gt;       &lt;corba:member qualified="true" name="requestType"&#010;&gt; idltype="corba:string" /&gt;&#010;&gt;     &lt;/corba:struct&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:pingMe:1.0" type="x1:pingMe" name="pingMe" /&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:sayHiResponse:1.0" type="x1:sayHiResponse"&#010;&gt; name="sayHiResponse"&gt;&#010;&gt;       &lt;corba:member qualified="true" name="responseType"&#010;&gt; idltype="corba:string" /&gt;&#010;&gt;     &lt;/corba:struct&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:faultDetail:1.0" type="x1:faultDetail"&#010;&gt; name="faultDetail"&gt;&#010;&gt;       &lt;corba:member qualified="true" name="minor" idltype="corba:short" /&gt;&#010;&gt;       &lt;corba:member qualified="true" name="major" idltype="corba:short" /&gt;&#010;&gt;     &lt;/corba:struct&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:greetMeResponse:1.0" type="x1:greetMeResponse"&#010;&gt; name="greetMeResponse"&gt;&#010;&gt;       &lt;corba:member qualified="true" name="responseType"&#010;&gt; idltype="corba:string" /&gt;&#010;&gt;     &lt;/corba:struct&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:sayHi:1.0" type="x1:sayHi" name="sayHi" /&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:pingMeResponse:1.0" type="x1:pingMeResponse"&#010;&gt; name="pingMeResponse" /&gt;&#010;&gt;     &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;&gt; repositoryID="IDL:greetMeOneWay:1.0" type="x1:greetMeOneWay"&#010;&gt; name="greetMeOneWay"&gt;&#010;&gt;       &lt;corba:member qualified="true" name="requestType"&#010;&gt; idltype="corba:string" /&gt;&#010;&gt;     &lt;/corba:struct&gt;&#010;&gt;   &lt;/corba:typeMapping&gt;&#010;&gt;   &lt;types&gt;&#010;&gt;     &lt;schema elementFormDefault="qualified"&#010;&gt; targetNamespace="http://pikeelectronic.com/calcor/types"&#010;&gt; xmlns="http://www.w3.org/2001/XMLSchema"&gt;&#010;&gt;             &lt;element name="sayHi"&gt;&#010;&gt;                 &lt;complexType/&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="sayHiResponse"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="responseType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMe"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="requestType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMeResponse"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="responseType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;             &lt;element name="greetMeOneWay"&gt;&#010;&gt;                 &lt;complexType&gt;&#010;&gt;                     &lt;sequence&gt;&#010;&gt;                         &lt;element name="requestType" type="xsd:string"/&gt;&#010;&gt;                     &lt;/sequence&gt;&#010;&gt;                 &lt;/complexType&gt;&#010;&gt;             &lt;/element&gt;&#010;&gt;                 &lt;element name="pingMe"&gt;&#010;&gt;                                 &lt;complexType/&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;                         &lt;element name="pingMeResponse"&gt;&#010;&gt;                                 &lt;complexType/&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;                         &lt;element name="faultDetail"&gt;&#010;&gt;                                 &lt;complexType&gt;&#010;&gt;                                         &lt;sequence&gt;&#010;&gt;                                                 &lt;element name="minor" type="xsd:short"/&gt;&#010;&gt;                                                 &lt;element name="major" type="xsd:short"/&gt;&#010;&gt;                                         &lt;/sequence&gt;&#010;&gt;                                 &lt;/complexType&gt;&#010;&gt;                         &lt;/element&gt;&#010;&gt;         &lt;/schema&gt;&#010;&gt;   &lt;/types&gt;&#010;&gt;   &lt;message name="greetMeResponse"&gt;&#010;&gt;     &lt;part name="out" element="x1:greetMeResponse"&gt;&#010;&gt;     &lt;/part&gt;&#010;&gt;   &lt;/message&gt;&#010;&gt;   &lt;message name="greetMeOneWayRequest"&gt;&#010;&gt;     &lt;part name="in" element="x1:greetMeOneWay"&gt;&#010;&gt;     &lt;/part&gt;&#010;&gt;   &lt;/message&gt;&#010;&gt;   &lt;message name="greetMeRequest"&gt;&#010;&gt;     &lt;part name="in" element="x1:greetMe"&gt;&#010;&gt;     &lt;/part&gt;&#010;&gt;   &lt;/message&gt;&#010;&gt;   &lt;message name="sayHiResponse"&gt;&#010;&gt;     &lt;part name="out" element="x1:sayHiResponse"&gt;&#010;&gt;     &lt;/part&gt;&#010;&gt;   &lt;/message&gt;&#010;&gt;   &lt;message name="sayHiRequest"&gt;&#010;&gt;     &lt;part name="in" element="x1:sayHi"&gt;&#010;&gt;     &lt;/part&gt;&#010;&gt;   &lt;/message&gt;&#010;&gt;   &lt;portType name="Greeter"&gt;&#010;&gt;     &lt;operation name="sayHi"&gt;&#010;&gt;       &lt;input name="sayHiRequest" message="tns:sayHiRequest"&gt;&#010;&gt;     &lt;/input&gt;&#010;&gt;       &lt;output name="sayHiResponse" message="tns:sayHiResponse"&gt;&#010;&gt;     &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMe"&gt;&#010;&gt;       &lt;input name="greetMeRequest" message="tns:greetMeRequest"&gt;&#010;&gt;     &lt;/input&gt;&#010;&gt;       &lt;output name="greetMeResponse" message="tns:greetMeResponse"&gt;&#010;&gt;     &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMeOneWay"&gt;&#010;&gt;       &lt;input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"&gt;&#010;&gt;     &lt;/input&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;   &lt;/portType&gt;&#010;&gt;   &lt;binding name="Greeter_SOAPBinding" type="tns:Greeter"&gt;&#010;&gt;     &lt;soap:binding style="document"&#010;&gt; transport="http://schemas.xmlsoap.org/soap/http"/&gt;&#010;&gt;     &lt;operation name="sayHi"&gt;&#010;&gt;     &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;       &lt;input name="sayHiRequest"&gt;&#010;&gt;     &lt;soap:body use="literal"/&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;       &lt;output name="sayHiResponse"&gt;&#010;&gt;     &lt;soap:body use="literal"/&gt;&#010;&gt;       &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMe"&gt;&#010;&gt;     &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;       &lt;input name="greetMeRequest"&gt;&#010;&gt;     &lt;soap:body use="literal"/&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;       &lt;output name="greetMeResponse"&gt;&#010;&gt;     &lt;soap:body use="literal"/&gt;&#010;&gt;       &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMeOneWay"&gt;&#010;&gt;     &lt;soap:operation soapAction="" style="document"/&gt;&#010;&gt;       &lt;input name="greetMeOneWayRequest"&gt;&#010;&gt;     &lt;soap:body use="literal"/&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;   &lt;/binding&gt;&#010;&gt;   &lt;binding name="GreeterCORBABinding" type="tns:Greeter"&gt;&#010;&gt;     &lt;corba:binding xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; repositoryID="IDL:Greeter:1.0" /&gt;&#010;&gt;     &lt;operation name="sayHi"&gt;&#010;&gt;       &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; name="sayHi"&gt;&#010;&gt;         &lt;corba:return name="responseType" idltype="corba:string" /&gt;&#010;&gt;       &lt;/corba:operation&gt;&#010;&gt;       &lt;input name="sayHiRequest"&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;       &lt;output name="sayHiResponse"&gt;&#010;&gt;       &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMe"&gt;&#010;&gt;       &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; name="greetMe"&gt;&#010;&gt;         &lt;corba:param mode="in" name="requestType" idltype="corba:string" /&gt;&#010;&gt;         &lt;corba:return name="responseType" idltype="corba:string" /&gt;&#010;&gt;       &lt;/corba:operation&gt;&#010;&gt;       &lt;input name="greetMeRequest"&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;       &lt;output name="greetMeResponse"&gt;&#010;&gt;       &lt;/output&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;     &lt;operation name="greetMeOneWay"&gt;&#010;&gt;       &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; name="greetMeOneWay"&gt;&#010;&gt;         &lt;corba:param mode="in" name="requestType" idltype="corba:string" /&gt;&#010;&gt;       &lt;/corba:operation&gt;&#010;&gt;       &lt;input name="greetMeOneWayRequest"&gt;&#010;&gt;       &lt;/input&gt;&#010;&gt;     &lt;/operation&gt;&#010;&gt;   &lt;/binding&gt;&#010;&gt;   &lt;service name="SOAPRelayService"&gt;&#010;&gt;     &lt;port name="SOAPRelayPort" binding="tns:Greeter_SOAPBinding"&gt;&#010;&gt;     &lt;soap:address location="corbaloc::localhost:40000/hw"/&gt;&#010;&gt;     &lt;/port&gt;&#010;&gt;   &lt;/service&gt;&#010;&gt;   &lt;service name="GreeterCORBAService"&gt;&#010;&gt;     &lt;port name="GreeterCORBAPort" binding="tns:GreeterCORBABinding"&gt;&#010;&gt;       &lt;corba:address xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;&gt; location="file:./Greeter.ref" /&gt;&#010;&gt;     &lt;/port&gt;&#010;&gt;   &lt;/service&gt;&#010;&gt; &lt;/definitions&gt;&#010;&gt;&#010;&gt; When I try to run a provider for this interface:&#010;&gt;&#010;&gt; package com.pikeelectronic.calcor;&#010;&gt;&#010;&gt; import javax.xml.namespace.QName;&#010;&gt; import javax.xml.soap.SOAPMessage;&#010;&gt; import javax.xml.ws.Dispatch;&#010;&gt; import javax.xml.ws.Provider;&#010;&gt; import javax.xml.ws.Service;&#010;&gt; import javax.xml.ws.ServiceMode;&#010;&gt; import javax.xml.ws.WebServiceProvider;&#010;&gt; import javax.xml.ws.soap.SOAPBinding;&#010;&gt;&#010;&gt; @WebServiceProvider(portName = "SOAPRelayPort", serviceName =&#010;&gt; "SOAPRelayService", targetNamespace =&#010;&gt; "http://pikeelectronic.com/calcor",&#010;&gt;                       wsdlLocation = "wsdl/hello_world-corba.wsdl")&#010;&gt; @ServiceMode(value = Service.Mode.MESSAGE)&#010;&gt; public class CalcorSOAPMessageProvider implements Provider&lt;SOAPMessage&gt; {&#010;&gt;&#010;&gt;     public CalcorSOAPMessageProvider() {&#010;&gt;     }&#010;&gt;&#010;&gt;     public SOAPMessage invoke(SOAPMessage request) {&#010;&gt;         SOAPMessage response = null;&#010;&gt;         try {&#010;&gt;&#010;&gt;             System.out.println("CALCOR Client Request as a SOAPMessage&#010;&gt; - relaying");&#010;&gt;             .........&#010;&gt;&#010;&gt;         } catch (Exception ex) {&#010;&gt;             ex.printStackTrace();&#010;&gt;         }&#010;&gt;         return response;&#010;&gt;     }&#010;&gt; }&#010;&gt;&#010;&gt; with this simple server code:&#010;&gt;&#010;&gt;         Object implementor = new CalcorSOAPMessageProvider();&#010;&gt;         String address = "corbaloc::localhost:40000/hw";&#010;&gt;         Endpoint.publish(address, implementor);&#010;&gt;&#010;&gt; I am getting:&#010;&gt;&#010;&gt; INFO: Creating Service&#010;&gt; {http://pikeelectronic.com/calcor}SOAPRelayService from WSDL:&#010;&gt; wsdl/hello_world-corba.wsdl&#010;&gt; Exception in thread "main"&#010;&gt; org.apache.cxf.service.factory.ServiceConstructionException&#010;&gt;         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)&#010;&gt;         at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:142)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:277)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:223)&#010;&gt;         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:175)&#010;&gt;         at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74)&#010;&gt;         at javax.xml.ws.Endpoint.publish(Unknown Source)&#010;&gt;         at com.pikeelectronic.calcor.CalcorStandalone.&lt;init&gt;(CalcorStandalone.java:13)&#010;&gt;         at com.pikeelectronic.calcor.CalcorStandalone.main(CalcorStandalone.java:17)&#010;&gt; Caused by: org.apache.cxf.BusException: No DestinationFactory was&#010;&gt; found for the namespace http://schemas.xmlsoap.org/soap/http.&#010;&gt;         at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:101)&#010;&gt;         at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85)&#010;&gt;         at org.apache.cxf.endpoint.ServerImpl.&lt;init&gt;(ServerImpl.java:69)&#010;&gt;         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:90)&#010;&gt;         ... 8 more&#010;&gt;&#010;&gt; I have found the source WSDL uses DOCUMENT SOAP binding. Is this a problem?&#010;&gt;&#010;&gt; Thanks, Lukas&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>SOAP Document Binding and CORBA Binding</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707170734m157b72a5w8ab860241f956dd5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707170734m157b72a5w8ab860241f956dd5@mail-gmail-com%3e</id>
<updated>2007-07-17T14:34:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;I am trying to get the example from CXF working. Its definition is:&#010;&#010;&lt;wsdl:definitions name="SOAPRelay"&#010;targetNamespace="http://pikeelectronic.com/calcor"&#010;    xmlns="http://schemas.xmlsoap.org/wsdl/"&#010;    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"&#010;    xmlns:tns="http://pikeelectronic.com/calcor"&#010;    xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&#010;    xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&#010;    &lt;wsdl:types&gt;&#010;        &lt;schema targetNamespace="http://pikeelectronic.com/calcor/types"&#010;            xmlns="http://www.w3.org/2001/XMLSchema"&#010;elementFormDefault="qualified"&gt;&#010;            &lt;element name="sayHi"&gt;&#010;                &lt;complexType/&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="sayHiResponse"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="responseType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMe"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="requestType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMeResponse"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="responseType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMeOneWay"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="requestType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;&#009;        &lt;element name="pingMe"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType/&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;&#009;&#009;&#009;&lt;element name="pingMeResponse"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType/&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;&#009;&#009;&#009;&lt;element name="faultDetail"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;sequence&gt;&#010;&#009;&#009;&#009;&#009;&#009;&#009;&lt;element name="minor" type="xsd:short"/&gt;&#010;&#009;&#009;&#009;&#009;&#009;&#009;&lt;element name="major" type="xsd:short"/&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;/sequence&gt;&#010;&#009;&#009;&#009;&#009;&lt;/complexType&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;        &lt;/schema&gt;&#010;    &lt;/wsdl:types&gt;&#010;    &lt;wsdl:message name="sayHiRequest"&gt;&#010;        &lt;wsdl:part element="x1:sayHi" name="in"/&gt;&#010;    &lt;/wsdl:message&gt;&#010;    &lt;wsdl:message name="sayHiResponse"&gt;&#010;        &lt;wsdl:part element="x1:sayHiResponse" name="out"/&gt;&#010;    &lt;/wsdl:message&gt;&#010;    &lt;wsdl:message name="greetMeRequest"&gt;&#010;        &lt;wsdl:part element="x1:greetMe" name="in"/&gt;&#010;    &lt;/wsdl:message&gt;&#010;    &lt;wsdl:message name="greetMeResponse"&gt;&#010;        &lt;wsdl:part element="x1:greetMeResponse" name="out"/&gt;&#010;    &lt;/wsdl:message&gt;&#010;    &lt;wsdl:message name="greetMeOneWayRequest"&gt;&#010;        &lt;wsdl:part element="x1:greetMeOneWay" name="in"/&gt;&#010;    &lt;/wsdl:message&gt;&#010;&#010;    &lt;wsdl:portType name="Greeter"&gt;&#010;        &lt;wsdl:operation name="sayHi"&gt;&#010;            &lt;wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/&gt;&#010;            &lt;wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/&gt;&#010;        &lt;/wsdl:operation&gt;&#010;&#010;        &lt;wsdl:operation name="greetMe"&gt;&#010;            &lt;wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/&gt;&#010;            &lt;wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/&gt;&#010;        &lt;/wsdl:operation&gt;&#010;&#010;        &lt;wsdl:operation name="greetMeOneWay"&gt;&#010;            &lt;wsdl:input message="tns:greetMeOneWayRequest"&#010;name="greetMeOneWayRequest"/&gt;&#010;        &lt;/wsdl:operation&gt;&#010;    &lt;/wsdl:portType&gt;&#010;    &lt;wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter"&gt;&#010;        &lt;soap:binding style="document"&#010;transport="http://schemas.xmlsoap.org/soap/http"/&gt;&#010;&#010;        &lt;wsdl:operation name="sayHi"&gt;&#010;            &lt;soap:operation soapAction="" style="document"/&gt;&#010;            &lt;wsdl:input name="sayHiRequest"&gt;&#010;                &lt;soap:body use="literal"/&gt;&#010;            &lt;/wsdl:input&gt;&#010;            &lt;wsdl:output name="sayHiResponse"&gt;&#010;                &lt;soap:body use="literal"/&gt;&#010;            &lt;/wsdl:output&gt;&#010;        &lt;/wsdl:operation&gt;&#010;&#010;        &lt;wsdl:operation name="greetMe"&gt;&#010;            &lt;soap:operation soapAction="" style="document"/&gt;&#010;            &lt;wsdl:input name="greetMeRequest"&gt;&#010;                &lt;soap:body use="literal"/&gt;&#010;            &lt;/wsdl:input&gt;&#010;            &lt;wsdl:output name="greetMeResponse"&gt;&#010;                &lt;soap:body use="literal"/&gt;&#010;            &lt;/wsdl:output&gt;&#010;        &lt;/wsdl:operation&gt;&#010;&#010;        &lt;wsdl:operation name="greetMeOneWay"&gt;&#010;            &lt;soap:operation soapAction="" style="document"/&gt;&#010;            &lt;wsdl:input name="greetMeOneWayRequest"&gt;&#010;                &lt;soap:body use="literal"/&gt;&#010;            &lt;/wsdl:input&gt;&#010;        &lt;/wsdl:operation&gt;&#010;&#010;    &lt;/wsdl:binding&gt;&#010;&#010;    &lt;wsdl:service name="SOAPRelayService"&gt;&#010;        &lt;wsdl:port binding="tns:Greeter_SOAPBinding" name="SOAPRelayPort"&gt;&#010;            &lt;soap:address&#010;location="http://localhost:9000/SoapContext/SOAPRelayPort"/&gt;&#010;        &lt;/wsdl:port&gt;&#010;    &lt;/wsdl:service&gt;&#010;&#010;&lt;/wsdl:definitions&gt;&#010;&#010;The Yoko generated me IDL and:&#010;&#010;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#010;&lt;definitions name="SOAPRelay"&#010;targetNamespace="http://pikeelectronic.com/calcor"&#010;xmlns="http://schemas.xmlsoap.org/wsdl/"&#010;xmlns:corba="http://schemas.apache.org/yoko/bindings/corba"&#010;xmlns:ns1="http://pikeelectronic.com/calcor/corba/typemap/"&#010;xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&#010;xmlns:tns="http://pikeelectronic.com/calcor"&#010;xmlns:xsd="http://www.w3.org/2001/XMLSchema"&#010;xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"&#010;xmlns:x1="http://pikeelectronic.com/calcor/types"&gt;&#010;  &lt;corba:typeMapping xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;targetNamespace="http://pikeelectronic.com/calcor/corba/typemap/"&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:greetMe:1.0" type="x1:greetMe" name="greetMe"&gt;&#010;      &lt;corba:member qualified="true" name="requestType"&#010;idltype="corba:string" /&gt;&#010;    &lt;/corba:struct&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:pingMe:1.0" type="x1:pingMe" name="pingMe" /&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:sayHiResponse:1.0" type="x1:sayHiResponse"&#010;name="sayHiResponse"&gt;&#010;      &lt;corba:member qualified="true" name="responseType"&#010;idltype="corba:string" /&gt;&#010;    &lt;/corba:struct&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:faultDetail:1.0" type="x1:faultDetail"&#010;name="faultDetail"&gt;&#010;      &lt;corba:member qualified="true" name="minor" idltype="corba:short" /&gt;&#010;      &lt;corba:member qualified="true" name="major" idltype="corba:short" /&gt;&#010;    &lt;/corba:struct&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:greetMeResponse:1.0" type="x1:greetMeResponse"&#010;name="greetMeResponse"&gt;&#010;      &lt;corba:member qualified="true" name="responseType"&#010;idltype="corba:string" /&gt;&#010;    &lt;/corba:struct&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:sayHi:1.0" type="x1:sayHi" name="sayHi" /&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:pingMeResponse:1.0" type="x1:pingMeResponse"&#010;name="pingMeResponse" /&gt;&#010;    &lt;corba:struct xmlns:x1="http://pikeelectronic.com/calcor/types"&#010;repositoryID="IDL:greetMeOneWay:1.0" type="x1:greetMeOneWay"&#010;name="greetMeOneWay"&gt;&#010;      &lt;corba:member qualified="true" name="requestType"&#010;idltype="corba:string" /&gt;&#010;    &lt;/corba:struct&gt;&#010;  &lt;/corba:typeMapping&gt;&#010;  &lt;types&gt;&#010;    &lt;schema elementFormDefault="qualified"&#010;targetNamespace="http://pikeelectronic.com/calcor/types"&#010;xmlns="http://www.w3.org/2001/XMLSchema"&gt;&#010;            &lt;element name="sayHi"&gt;&#010;                &lt;complexType/&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="sayHiResponse"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="responseType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMe"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="requestType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMeResponse"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="responseType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;            &lt;element name="greetMeOneWay"&gt;&#010;                &lt;complexType&gt;&#010;                    &lt;sequence&gt;&#010;                        &lt;element name="requestType" type="xsd:string"/&gt;&#010;                    &lt;/sequence&gt;&#010;                &lt;/complexType&gt;&#010;            &lt;/element&gt;&#010;&#009;        &lt;element name="pingMe"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType/&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;&#009;&#009;&#009;&lt;element name="pingMeResponse"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType/&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;&#009;&#009;&#009;&lt;element name="faultDetail"&gt;&#010;&#009;&#009;&#009;&#009;&lt;complexType&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;sequence&gt;&#010;&#009;&#009;&#009;&#009;&#009;&#009;&lt;element name="minor" type="xsd:short"/&gt;&#010;&#009;&#009;&#009;&#009;&#009;&#009;&lt;element name="major" type="xsd:short"/&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;/sequence&gt;&#010;&#009;&#009;&#009;&#009;&lt;/complexType&gt;&#010;&#009;&#009;&#009;&lt;/element&gt;&#010;        &lt;/schema&gt;&#010;  &lt;/types&gt;&#010;  &lt;message name="greetMeResponse"&gt;&#010;    &lt;part name="out" element="x1:greetMeResponse"&gt;&#010;    &lt;/part&gt;&#010;  &lt;/message&gt;&#010;  &lt;message name="greetMeOneWayRequest"&gt;&#010;    &lt;part name="in" element="x1:greetMeOneWay"&gt;&#010;    &lt;/part&gt;&#010;  &lt;/message&gt;&#010;  &lt;message name="greetMeRequest"&gt;&#010;    &lt;part name="in" element="x1:greetMe"&gt;&#010;    &lt;/part&gt;&#010;  &lt;/message&gt;&#010;  &lt;message name="sayHiResponse"&gt;&#010;    &lt;part name="out" element="x1:sayHiResponse"&gt;&#010;    &lt;/part&gt;&#010;  &lt;/message&gt;&#010;  &lt;message name="sayHiRequest"&gt;&#010;    &lt;part name="in" element="x1:sayHi"&gt;&#010;    &lt;/part&gt;&#010;  &lt;/message&gt;&#010;  &lt;portType name="Greeter"&gt;&#010;    &lt;operation name="sayHi"&gt;&#010;      &lt;input name="sayHiRequest" message="tns:sayHiRequest"&gt;&#010;    &lt;/input&gt;&#010;      &lt;output name="sayHiResponse" message="tns:sayHiResponse"&gt;&#010;    &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMe"&gt;&#010;      &lt;input name="greetMeRequest" message="tns:greetMeRequest"&gt;&#010;    &lt;/input&gt;&#010;      &lt;output name="greetMeResponse" message="tns:greetMeResponse"&gt;&#010;    &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMeOneWay"&gt;&#010;      &lt;input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"&gt;&#010;    &lt;/input&gt;&#010;    &lt;/operation&gt;&#010;  &lt;/portType&gt;&#010;  &lt;binding name="Greeter_SOAPBinding" type="tns:Greeter"&gt;&#010;    &lt;soap:binding style="document"&#010;transport="http://schemas.xmlsoap.org/soap/http"/&gt;&#010;    &lt;operation name="sayHi"&gt;&#010;    &lt;soap:operation soapAction="" style="document"/&gt;&#010;      &lt;input name="sayHiRequest"&gt;&#010;    &lt;soap:body use="literal"/&gt;&#010;      &lt;/input&gt;&#010;      &lt;output name="sayHiResponse"&gt;&#010;    &lt;soap:body use="literal"/&gt;&#010;      &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMe"&gt;&#010;    &lt;soap:operation soapAction="" style="document"/&gt;&#010;      &lt;input name="greetMeRequest"&gt;&#010;    &lt;soap:body use="literal"/&gt;&#010;      &lt;/input&gt;&#010;      &lt;output name="greetMeResponse"&gt;&#010;    &lt;soap:body use="literal"/&gt;&#010;      &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMeOneWay"&gt;&#010;    &lt;soap:operation soapAction="" style="document"/&gt;&#010;      &lt;input name="greetMeOneWayRequest"&gt;&#010;    &lt;soap:body use="literal"/&gt;&#010;      &lt;/input&gt;&#010;    &lt;/operation&gt;&#010;  &lt;/binding&gt;&#010;  &lt;binding name="GreeterCORBABinding" type="tns:Greeter"&gt;&#010;    &lt;corba:binding xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;repositoryID="IDL:Greeter:1.0" /&gt;&#010;    &lt;operation name="sayHi"&gt;&#010;      &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;name="sayHi"&gt;&#010;        &lt;corba:return name="responseType" idltype="corba:string" /&gt;&#010;      &lt;/corba:operation&gt;&#010;      &lt;input name="sayHiRequest"&gt;&#010;      &lt;/input&gt;&#010;      &lt;output name="sayHiResponse"&gt;&#010;      &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMe"&gt;&#010;      &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;name="greetMe"&gt;&#010;        &lt;corba:param mode="in" name="requestType" idltype="corba:string" /&gt;&#010;        &lt;corba:return name="responseType" idltype="corba:string" /&gt;&#010;      &lt;/corba:operation&gt;&#010;      &lt;input name="greetMeRequest"&gt;&#010;      &lt;/input&gt;&#010;      &lt;output name="greetMeResponse"&gt;&#010;      &lt;/output&gt;&#010;    &lt;/operation&gt;&#010;    &lt;operation name="greetMeOneWay"&gt;&#010;      &lt;corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;name="greetMeOneWay"&gt;&#010;        &lt;corba:param mode="in" name="requestType" idltype="corba:string" /&gt;&#010;      &lt;/corba:operation&gt;&#010;      &lt;input name="greetMeOneWayRequest"&gt;&#010;      &lt;/input&gt;&#010;    &lt;/operation&gt;&#010;  &lt;/binding&gt;&#010;  &lt;service name="SOAPRelayService"&gt;&#010;    &lt;port name="SOAPRelayPort" binding="tns:Greeter_SOAPBinding"&gt;&#010;    &lt;soap:address location="corbaloc::localhost:40000/hw"/&gt;&#010;    &lt;/port&gt;&#010;  &lt;/service&gt;&#010;  &lt;service name="GreeterCORBAService"&gt;&#010;    &lt;port name="GreeterCORBAPort" binding="tns:GreeterCORBABinding"&gt;&#010;      &lt;corba:address xmlns:ns3="http://schemas.xmlsoap.org/wsdl/"&#010;location="file:./Greeter.ref" /&gt;&#010;    &lt;/port&gt;&#010;  &lt;/service&gt;&#010;&lt;/definitions&gt;&#010;&#010;When I try to run a provider for this interface:&#010;&#010;package com.pikeelectronic.calcor;&#010;&#010;import javax.xml.namespace.QName;&#010;import javax.xml.soap.SOAPMessage;&#010;import javax.xml.ws.Dispatch;&#010;import javax.xml.ws.Provider;&#010;import javax.xml.ws.Service;&#010;import javax.xml.ws.ServiceMode;&#010;import javax.xml.ws.WebServiceProvider;&#010;import javax.xml.ws.soap.SOAPBinding;&#010;&#010;@WebServiceProvider(portName = "SOAPRelayPort", serviceName =&#010;"SOAPRelayService", targetNamespace =&#010;"http://pikeelectronic.com/calcor",&#010;                      wsdlLocation = "wsdl/hello_world-corba.wsdl")&#010;@ServiceMode(value = Service.Mode.MESSAGE)&#010;public class CalcorSOAPMessageProvider implements Provider&lt;SOAPMessage&gt; {&#010;&#010;    public CalcorSOAPMessageProvider() {&#010;    }&#010;&#010;    public SOAPMessage invoke(SOAPMessage request) {&#010;        SOAPMessage response = null;&#010;        try {&#010;        &#009;&#010;            System.out.println("CALCOR Client Request as a SOAPMessage&#010;- relaying");&#010;            .........&#010;&#010;        } catch (Exception ex) {&#010;            ex.printStackTrace();&#010;        }&#010;        return response;&#010;    }&#010;}&#010;&#010;with this simple server code:&#010;&#010;        Object implementor = new CalcorSOAPMessageProvider();&#010;        String address = "corbaloc::localhost:40000/hw";&#010;        Endpoint.publish(address, implementor);&#010;&#010;I am getting:&#010;&#010;INFO: Creating Service&#010;{http://pikeelectronic.com/calcor}SOAPRelayService from WSDL:&#010;wsdl/hello_world-corba.wsdl&#010;Exception in thread "main"&#010;org.apache.cxf.service.factory.ServiceConstructionException&#010;&#009;at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)&#010;&#009;at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:142)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:277)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:223)&#010;&#009;at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:175)&#010;&#009;at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74)&#010;&#009;at javax.xml.ws.Endpoint.publish(Unknown Source)&#010;&#009;at com.pikeelectronic.calcor.CalcorStandalone.&lt;init&gt;(CalcorStandalone.java:13)&#010;&#009;at com.pikeelectronic.calcor.CalcorStandalone.main(CalcorStandalone.java:17)&#010;Caused by: org.apache.cxf.BusException: No DestinationFactory was&#010;found for the namespace http://schemas.xmlsoap.org/soap/http.&#010;&#009;at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:101)&#010;&#009;at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85)&#010;&#009;at org.apache.cxf.endpoint.ServerImpl.&lt;init&gt;(ServerImpl.java:69)&#010;&#009;at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:90)&#010;&#009;... 8 more&#010;&#010;I have found the source WSDL uses DOCUMENT SOAP binding. Is this a problem?&#010;&#010;Thanks, Lukas&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to use the binding library?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707170723o5ad0827du7bfe9ee27740a0ef@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707170723o5ad0827du7bfe9ee27740a0ef@mail-gmail-com%3e</id>
<updated>2007-07-17T14:23:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It seems the Yoko binding registers automaticaly and it could work&#010;with CXF standalone server I guess. I also hope it will work with a&#010;Provider.&#010;&#010;2007/7/17, Lukas Zapletal &lt;lukas.zapletal@gmail.com&gt;:&#010;&gt; Hello,&#010;&gt;&#010;&gt; I have an existing WS and I would like to enable access from CORBA to&#010;&gt; it. I have created the IDL definition and WSDL-Corba definition using&#010;&gt; the tools sucessfuly. I am testing my service in the standalone CXF&#010;&gt; server, it looks like this:&#010;&gt;&#010;&gt; public class MyService {&#010;&gt;&#010;&gt;     protected MyService() throws Exception {&#010;&gt;         System.out.println("Starting CALCOR standalone server");&#010;&gt;&#010;&gt;         Object implementor = new CalcorSOAPMessageProvider();&#010;&gt;         String address = "http://localhost:9000/SoapContext/MyService";&#010;&gt;         Endpoint.publish(address, implementor);&#010;&gt;     }&#010;&gt;&#010;&gt;     public static void main(String args[]) throws Exception {&#010;&gt;         new CalcorStandalone();&#010;&gt;         System.out.println("Server ready...");&#010;&gt;&#010;&gt;         Thread.sleep(5 * 60 * 1000);&#010;&gt;         System.out.println("Server exiting");&#010;&gt;         System.exit(0);&#010;&gt;     }&#010;&gt;&#010;&gt; }&#010;&gt;&#010;&gt; I have tried to change the address to:&#010;&gt;&#010;&gt; address = "corbaloc::localhost:40000/MyService";&#010;&gt;&#010;&gt; but I get an exception Caused by: java.net.MalformedURLException:&#010;&gt; unknown protocol: corbaloc (ServiceConstructionException at&#010;&gt; org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:107).&#010;&gt; It seems I did not registered the CORBA Yoko binding, did I? I have it&#010;&gt; in my CLASSPATH but I guess its not enough...&#010;&gt;&#010;&gt; Will it work with the standalone server?&#010;&gt;&#010;&gt; Will the Yoko binding work with the Provider implementation (dynamic&#010;&gt; web service)?&#010;&gt;&#010;&gt; Are there any more things I need to do after registering the binding library?&#010;&gt;&#010;&gt; Thanks for help&#010;&gt;&#010;&gt; --&#010;&gt; Lukas Zapletal&#010;&gt; http://lukas.zapletalovi.com&#010;&gt;&#010;&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>How to use the binding library?</title>
<author><name>&quot;Lukas Zapletal&quot; &lt;lukas.zapletal@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200707.mbox/%3cb5a439280707170500je3541a7l86c3081e182940a7@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5a439280707170500je3541a7l86c3081e182940a7@mail-gmail-com%3e</id>
<updated>2007-07-17T12:00:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;I have an existing WS and I would like to enable access from CORBA to&#010;it. I have created the IDL definition and WSDL-Corba definition using&#010;the tools sucessfuly. I am testing my service in the standalone CXF&#010;server, it looks like this:&#010;&#010;public class MyService {&#010;&#009;&#010;    protected MyService() throws Exception {&#010;        System.out.println("Starting CALCOR standalone server");&#010;&#010;        Object implementor = new CalcorSOAPMessageProvider();&#010;        String address = "http://localhost:9000/SoapContext/MyService";&#010;        Endpoint.publish(address, implementor);&#010;    }&#010;&#010;    public static void main(String args[]) throws Exception {&#010;        new CalcorStandalone();&#010;        System.out.println("Server ready...");&#010;&#010;        Thread.sleep(5 * 60 * 1000);&#010;        System.out.println("Server exiting");&#010;        System.exit(0);&#010;    }&#010;&#010;}&#010;&#010;I have tried to change the address to:&#010;&#010;address = "corbaloc::localhost:40000/MyService";&#010;&#010;but I get an exception Caused by: java.net.MalformedURLException:&#010;unknown protocol: corbaloc (ServiceConstructionException at&#010;org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:107).&#010;It seems I did not registered the CORBA Yoko binding, did I? I have it&#010;in my CLASSPATH but I guess its not enough...&#010;&#010;Will it work with the standalone server?&#010;&#010;Will the Yoko binding work with the Provider implementation (dynamic&#010;web service)?&#010;&#010;Are there any more things I need to do after registering the binding library?&#010;&#010;Thanks for help&#010;&#010;-- &#010;Lukas Zapletal&#010;http://lukas.zapletalovi.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: [ANNOUNCE] Welcome Matteo Vescovi as the newest member of the Yoko PPMC</title>
<author><name>&quot;Mosur Ravi, Balaji&quot; &lt;bravi@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200703.mbox/%3cB316CC601854A1488A5405FA86B395E803D0F03F@amer-ems1.IONAGLOBAL.COM%3e"/>
<id>urn:uuid:%3cB316CC601854A1488A5405FA86B395E803D0F03F@amer-ems1-IONAGLOBAL-COM%3e</id>
<updated>2007-03-02T16:24:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Congrats matteo...&#010;&#010;- Balaji&#010;&#010;-----Original Message-----&#010;From: Alan D. Cabrera [mailto:list@toolazydogs.com] &#010;Sent: Friday, March 02, 2007 10:52 AM&#010;To: yoko-dev@incubator.apache.org&#010;Cc: yoko-user@incubator.apache.org; Yoko PPMC&#010;Subject: [ANNOUNCE] Welcome Matteo Vescovi as the newest member of the&#010;Yoko PPMC&#010;&#010;Please join us in welcoming Matteo who recently accepted an  &#010;invitation to join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] Welcome Matteo Vescovi as the newest member of the Yoko PPMC</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200703.mbox/%3c2460FC81-7249-47D4-814D-DFDED1E027DC@toolazydogs.com%3e"/>
<id>urn:uuid:%3c2460FC81-7249-47D4-814D-DFDED1E027DC@toolazydogs-com%3e</id>
<updated>2007-03-02T15:52:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please join us in welcoming Matteo who recently accepted an  &#010;invitation to join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ANNOUNCE] Please welcome Balaji Mosur Ravi as the newest member of the Yoko PPMC</title>
<author><name>&quot;Vescovi, Matteo&quot; &lt;matteo.vescovi@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E489A5.8000305@iona.com%3e"/>
<id>urn:uuid:%3c44E489A5-8000305@iona-com%3e</id>
<updated>2006-08-17T15:22:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Congratulations Balaji!&#010;&#010;Alan D. Cabrera wrote:&#010;&#010;&gt; Please join us in welcoming Balaji who recently accepted an invitation &#010;&gt; to join the Yoko PPMC.&#010;&gt;&#010;&gt; The Apache Yoko PPMC&#010;&gt;&#010;&gt;&#010;&gt;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ANNOUNCE] Please welcome Edell Nolan as the newest member of the Yoko PPMC</title>
<author><name>&quot;Vescovi, Matteo&quot; &lt;matteo.vescovi@iona.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E48995.20403@iona.com%3e"/>
<id>urn:uuid:%3c44E48995-20403@iona-com%3e</id>
<updated>2006-08-17T15:21:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Congratulations Edell!&#010;&#010;Alan D. Cabrera wrote:&#010;&#010;&gt; Please join us in welcoming Edell who recently accepted an invitation &#010;&gt; to join the Yoko PPMC.&#010;&gt;&#010;&gt; The Apache Yoko PPMC&#010;&gt;&#010;&gt;&#010;&gt;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] Please welcome Darren Middleman as the newest member of the Yoko PPMC</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E47F2F.2090809@toolazydogs.com%3e"/>
<id>urn:uuid:%3c44E47F2F-2090809@toolazydogs-com%3e</id>
<updated>2006-08-17T14:37:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please join us in welcoming Darren who recently accepted an invitation &#010;to join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] Please welcome Balaji Mosur Ravi as the newest member of the Yoko PPMC</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E47F29.9010703@toolazydogs.com%3e"/>
<id>urn:uuid:%3c44E47F29-9010703@toolazydogs-com%3e</id>
<updated>2006-08-17T14:37:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please join us in welcoming Balaji who recently accepted an invitation &#010;to join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] Please welcome Edell Nolan as the newest member of the Yoko PPMC</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E47F1C.7090300@toolazydogs.com%3e"/>
<id>urn:uuid:%3c44E47F1C-7090300@toolazydogs-com%3e</id>
<updated>2006-08-17T14:37:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please join us in welcoming Edell who recently accepted an invitation to &#010;join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] Please welcome Anders Hessellund Jensen as the newest member of the Yoko PPMC</title>
<author><name>&quot;Alan D. Cabrera&quot; &lt;list@toolazydogs.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200608.mbox/%3c44E47F08.4050003@toolazydogs.com%3e"/>
<id>urn:uuid:%3c44E47F08-4050003@toolazydogs-com%3e</id>
<updated>2006-08-17T14:36:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please join us in welcoming Anders who recently accepted an invitation &#010;to join the Yoko PPMC.&#010;&#010;The Apache Yoko PPMC&#010;&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bad subscribe email address for this list on website</title>
<author><name>&quot;Ted Kirby&quot; &lt;ted.kirby@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200607.mbox/%3c3da992810607251233k12d95813wc17d94c88f86a4ef@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3da992810607251233k12d95813wc17d94c88f86a4ef@mail-gmail-com%3e</id>
<updated>2006-07-25T19:33:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
http://incubator.apache.org/yoko/mail-lists.html has a bad email address for&#010;this user list.  It has yoko-users-subscribe@incubator.apache.org,&#010;but of course only yoko-user-subscribe@incubator.apache.org works.&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: subscribe</title>
<author><name>&quot;Trustin Lee&quot; &lt;trustin@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200602.mbox/%3c768dcb2e0602222334y778eb5fciadddadb0acd0955e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c768dcb2e0602222334y778eb5fciadddadb0acd0955e@mail-gmail-com%3e</id>
<updated>2006-02-23T07:34:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 2/23/06, Jongjin Choi &lt;jongjin.choe@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; subscribe&#010;&gt;&#010;&#010;Please send an empty message to yoko-user-subscribe@incubator.apache.org.&#010;&#010;HTH,&#010;Truistin&#010;--&#010;what we call human nature is actually human habit&#010;--&#010;http://gleamynode.net/&#010;--&#010;PGP key fingerprints:&#010;* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E&#010;* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>subscribe</title>
<author><name>&quot;Jongjin Choi&quot; &lt;jongjin.choe@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-yoko-user/200602.mbox/%3c86ecc290602222040s255c318s80fcc34d9e8aaed7@mail.gmail.com%3e"/>
<id>urn:uuid:%3c86ecc290602222040s255c318s80fcc34d9e8aaed7@mail-gmail-com%3e</id>
<updated>2006-02-23T04:40:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
subscribe&#010;&#010;
</pre>
</div>
</content>
</entry>
</feed>
