hi, 

i want to test a webservice in eclipse uses the cxf . i refer to this video
to setup my first program , but seem it desn't work

i met two problem 

1. first we i installing STP in eclipse. seems the new version have a
problem FOR SCA, i download the sca from apache website. and i try to config
it in eclipse --windows--preferences--scatool--runtime add a new sca . i
setup the SCA bin folder in here(C:\apache-sca). but it show me 
"java.lang.NullPointerException"

2. fine i pass it. and still setup the SOA tools it can setup CFX runing
time.  i start to create new project (SOA tools--Jax-WS Java First Project),
i input the project name, enter next  it show me a new windows this windows
need me input java source file. there i'm confused, how can i input it. i
want to create a new .so...so..

3.okok, i go to create a java project and interface class file , ok i try to
uses SOA -- JAS_WS--Enable JAX-ws convert this project to Jax-ws project. it
seems work,  but there's a problem 
    i create a Interface class.data.output.java file. when i uses enable
JAX-ws create code. it only create 
output.java
outputClient.java
outputimpl.java
outputServer.java

output.java source
package xoi.output;

import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
import javax.jws.WebMethod;
import javax.jws.soap.SOAPBinding;

@SOAPBinding(use=SOAPBinding.Use.LITERAL, style=SOAPBinding.Style.DOCUMENT)
@WebService(name="output", targetNamespace="http://output.xoi/";)
public interface output{
        @WebMethod(operationName="getData", exclude=false)
        @ResponseWrapper(className="xoi.output.GetDataResponse",
localName="getDataResponse", targetNamespace="http://output.xoi/";)
        @RequestWrapper(className="xoi.output.GetData", localName="getData",
targetNamespace="http://output.xoi/";)
        public String getData(String inverstmentId);
}

but in my project i can't saw the getdata class. i saw the video. it show me
the JAX-ws will auto Create the getdata.java and getdataResponse.java.  

i pass it and refer to video . create tomcat server and deploy it . ervery
thing is ok, at last i running the service it show can't found the
getdata(). class 


http://download.eclipse.org/stp/documents/europa/stp_europa_servicecreation_jaxws.htm

have any idea for it. or do i miss something?


-- 
View this message in context: 
http://www.nabble.com/eclipse3.4-%2B-tomcat6.08%2Bcxf2.1-cann%27t-debeg-frist-webservice-tp23053181p23053181.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to