This doesn't show me how you run the service, just how you generated the code. Have you looked at the examples?
I need to know how you start your endpoint. Have you read: http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html particularly look for the heading 'Publishing a Service'. On Sun, Nov 2, 2008 at 3:09 AM, JuliusIT <[EMAIL PROTECTED]> wrote: > > > Benson Margulies-4 wrote: >> >> Are you configured from Spring or the API? Either way, you have to use >> the JaxWs factory or the JAX-WS standard classes, NOT the Simple... >> classes. Perhaps you could post up some configuration? >> > > I configure from the Api. I don't thought i was supposed to configure the > JaxWs factory, i never red it on the user guide, and in the generated client > classes there is no place where the factory comes out. > On the server side I don't place any factory, and I don't think I need one. > If this is an error, I'm sorry, but I'm new. In the example I tryed all the > parameter and response are primitive type, no object. So I cant' figure out > the problem. The last thing I have are the ant build. > > <?xml version="1.0"?> > <project name="TestSoapServer" basedir="." default="cxfJavaToWS"> > <property name="cxf.home" location ="C:\librerie\apache-cxf-2.1\"/> > <property name="build.classes.dir" location > ="C:\workspace\CxfToWsdl\bin"/> > > <path id="cxf.classpath"> > <pathelement location="${build.classes.dir}"/> > <fileset dir="${cxf.home}/lib"> > <include name="*.jar"/> > </fileset> > </path> > > <target name="cxfJavaToWS"> > <java classname="org.apache.cxf.tools.java2ws.JavaToWS" fork="true"> > <arg value="-wsdl"/> > <arg value="-o"/> > <arg value="Testsoap.wsdl"/> > <arg value="-frontend"/> > <arg value="jaxws"/> > <arg value="-servicename"/> > <arg value="TestSoap"/> > <arg value="-portname"/> > <arg value="SoapPort"/> > <arg value="com.xyz.Test.soap.TestSoapService"/> > <classpath> > <path refid="cxf.classpath"/> > </classpath> > </java> > </target> > </project> > > > <?xml version="1.0"?> > <project name="TestSoapServer" basedir="." default="cxfWSDLToJava"> > <property name="cxf.home" location ="C:\librerie\apache-cxf-2.1\"/> > > <path id="cxf.classpath"> > <fileset dir="${cxf.home}/lib"> > <include name="*.jar"/> > </fileset> > </path> > > <target name="cxfWSDLToJava"> > <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true"> > <arg value="-client"/> > <arg value="-d"/> > <arg value="../src"/> > <arg value="Testsoap.wsdl"/> > <classpath> > <path refid="cxf.classpath"/> > </classpath> > </java> > </target> > </project> > > -- > View this message in context: > http://www.nabble.com/Null-parameter-in-request-and-response-tp20255751p20287788.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
