On 6/6/07, ant elder <[EMAIL PROTECTED]> wrote:
On 6/6/07, Jim Owen <[EMAIL PROTECTED] > wrote: > > Hi there, > > I've downloaded the Tuscany SCA Java 0.90 release and tried the > binding.ws examples. These work fine for me as they are, however I'm > interested in WSDL generation. I changed the helloworld-ws-service so > that it looked like the example given at the bottom of page > http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+binding.ws > <http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+binding.ws > > > , and removed the exisiting WSDL. As I understand it this will generate > some WSDL. > > I get the following exception: > > [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: > org.osoa.sca.ServiceRuntimeException: > org.apache.tuscany.sca.core.runtime.ActivationException : > java.lang.NullPointerException > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADoma > in.java:263) > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance ( > SCADomain.jav > a:68) > [java] at > helloworld.HelloWorldServer.main(HelloWorldServer.java:33) > [java] Caused by: org.osoa.sca.ServiceRuntimeException: > org.apache.tuscany.sca.core.runtime.ActivationException : > java.lang.NullPointerException > [java] at > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Defaul > tSCADomain.java:148) > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADoma > in.java:229) > [java] ... 2 more > [java] Caused by: > org.apache.tuscany.sca.core.runtime.ActivationException: > java.lang.NullPointerException > [java] at > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.start(Composi > teActivatorImpl.java:593) > [java] at > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Defaul > tSCADomain.java:146) > [java] ... 3 more > [java] Caused by: java.lang.NullPointerException > [java] at > org.apache.tuscany.sca.binding.axis2.Axis2ServiceBindingProvider.createA > xisService(Axis2ServiceBindingProvider.java:235) > [java] at > org.apache.tuscany.sca.binding.axis2.Axis2ServiceBindingProvider.start(A > xis2ServiceBindingProvider.java:115) > [java] at > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.startComposit > e(CompositeActivatorImpl.java:175) > [java] at > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.start(Composi > teActivatorImpl.java:591) > [java] ... 4 more > > Should I be able to do this, or is WSDL generation not supported yet? That doc page is a bit misleading sorry, the sample at the bottom is pasted in from my local code base which didn't make it into the 0.90 release - in 0.90 WSDL generation isn't supported. Should be going in 0.91which is planed for early July, or it should be available in one of the nightly builds in not too long, i can let you know when if you'd like to help test it out?
Turns out there's some issues getting this to work properly so its not going to possible to get it done in time for 0.91, should be in the release after that. ...ant
