Re: java.lang.NullPointerException

2007-12-07 Thread MyScreenName
Here's my config file. I've used Spring 2.0.6 and 2.0.4. Both seem to do the same thing. Missing are the import statements for the cxf.xml, cxf-servlet.xml, etc. because I thought I read somewhere that you could provide all the config in one file. Thanks, Bob

Re: HTTP Binding and MTOM

2007-12-07 Thread Glen Mazza
I believe MTOM is defined only with respect to SOAP. Glen Am Donnerstag, den 06.12.2007, 19:07 -0800 schrieb woostreet: The following service is not working. Are you allow to use MTOM with HTTP or only with SOAP jaxws:endpoint id=service4 implementor=#lookServiceImpl

Re: is there a way to post an outbound message on a url

2007-12-07 Thread mule1
Hello, I will take a look at the comments you have made. Also didn't get the url when you mention Otherwise, SAAJ or Dispatch objects might be able to help you--I do that here[1], also java.net.URL[2] could be yet another option for you. Can you post what the url is for here[1] and

RE: Question about wsdl:import and xsd:extension

2007-12-07 Thread Glen Mazza
Am Freitag, den 07.12.2007, 11:02 -0500 schrieb Silberman, Nathan: Does CXF have a standard file structure/method for where to place the xsds if one abstracts out schemas to external files? The standard JAX-WS way I believe (from JSR 109) is that the wsdl and xsd's go into your WEB-INF/wsdl

SOAPAction

2007-12-07 Thread tog
Hi, Is there a way to force CXF to generate WSDL having the SOAPAction set with the name of the Operation i.e. change wsdl:operation name=sayHi soap:operation soapAction= style=document / to be wsdl:operation name=sayHi soap:operation soapAction=sayHi style=document / Thanks Guillaume

Re: Getting Session

2007-12-07 Thread Willem2
Hi , You can use WebServiceContext to get the session. @Resource private WebServiceContext context; Here is an example[1][2] to show that in CXF Systest [1] Server

Re: java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.dom.ElementNSImpl

2007-12-07 Thread tcs
I added jaxp-ri-1.4.jar to the client classpath and now an 'UnsupportedClassVersionError' exception occurs. Exception in thread main java.lang.UnsupportedClassVersionError: (com/sun/org/apache/xerces/internal/dom/ElementNSImpl) bad major version at offset=6 at

Re: java.lang.NullPointerException

2007-12-07 Thread MyScreenName
Got it working. Thanks!!! Glen Mazza-2 wrote: Am Freitag, den 07.12.2007, 06:12 -0800 schrieb MyScreenName: Here's my config file. I've used Spring 2.0.6 and 2.0.4. Both seem to do the same thing. Missing are the import statements for the cxf.xml, cxf-servlet.xml, etc. because I

Re: java.lang.NullPointerException

2007-12-07 Thread Willem2
If you publish the endpoints with cxf-servlet.xml (Note it is not the META-INF/cxf/cxf-servlet.xml) Since the bus is already loaded by CXFServlet, you do not need to import cxf.xml , cxf-extension-soap.xml But if you define the endpoints in beans.xml which load with spring application context

java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.dom.ElementNSImpl

2007-12-07 Thread tcs
I've deployed my HelloWorld Webservice on tomcat. I wrote a spring client and am trying to access the web service through it. public static void main(String[] theArgs) { ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext( ./beans.xml);

Getting Session

2007-12-07 Thread me
Hi there, I'm currently changing from xfire to cxf. Within the services (some rest and some soap) I need to access the session (Ok I know that I shouldn't do it but that's another point). Within xfire I can use: XFireServletController.getRequest().getSession() Is there any way within cxf to