On Mon, Jan 26, 2009 at 8:17 AM, Phani Madgula < [email protected]> wrote:
> Hi, > > I am trying to run the sample given at --> > http://tuscany.apache.org/build-your-first-web-services-with-tuscany.html > through > eclipse. > > I tried to install Tuscany Eclipse plugin but failed half through > installation. But I used a java client to execute the sample as follows. > > ********* > * > > package > * launch; > *import* org.apache.tuscany.sca.host.embedded.SCADomain; > > *public* *class* Launch { > *public* *static* *void* main(String[] args) *throws* Exception { > System.*out*.println("Starting ..."); > SCADomain scaDomain = SCADomain.*newInstance*("helloworld.composite"); > System.*out*.println("store.composite ready for big business !!!"); > System.*in*.read(); > System.*out*.println("Stopping ..."); > scaDomain.close(); > System.*out*.println(); > } > } > > ********* > > I am using Webservices explorer in the eclipse to test the service. I > opened WS explorer and load the WSDL file successfully and sent a soap > request. But I get the following error. > > ************ > > IWAB0135E An unexpected error has occurred. > java.lang.NullPointerException > null > > ************* > > Any clues as to what the error is ?? > > Thanks > phani > Hi Phani Difficult to tell from the information here. - what error did you get during the Eclipse install? - how are including the Tuscany runtime on the "Launch" classpath? - do you see any stack trace associated with the NPE? Regards Simon
