Re: Date object input parameter 'argument type mismatch'

2007-11-20 Thread James Mao
BTW, the generated binding file should looks like [1] *Q: How to map xsd:dateTime to java.util.Date?* [1] this http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html I have my services running almost perfectly now, just one weird thing happening now that used to work in a previous version; it

Re: Date object input parameter 'argument type mismatch'

2007-11-20 Thread James Mao
If you have a java.util.Date in your SEI, the java2wsdl tool should generate a jaxws binding file for you along with the wsdl With the wsdl and binding files you can generate the types, and in the types code, it will include a jaxb annotation which convert the Date type You can try this

Re: service ok, client not...

2007-11-20 Thread Corneliu
Hello I made this changes and take weblogic.xml out from the war file. But I have the same error as at the begining: When I am running a method from my application and I am setting the folowing properties inside this method: System.setProperty(javax.xml.stream.XMLInputFactory,

Re: service ok, client not...

2007-11-20 Thread Jeff Yu
The weblogic.xml Web application deployment descriptor contains a prefer-web-inf-classes element (a sub-element of the |container-descriptor| element). By default, this element is set to False. Setting this element to True subverts the classloader delegation model so that class definitions

Re: How to export non-annotated service in spring

2007-11-20 Thread ojs
Willem2 wrote: You can use the simple front end custom server bean definition. Please see [1] for more information. [1] http://cwiki.apache.org/CXF20DOC/simple-frontend.html I tried that, but it seems that simple front end tries to start a separate http server (jetty) instance?! Or did I

Re: How to export non-annotated service in spring

2007-11-20 Thread ojs
Willem2 wrote: Can you show me your web.xml ? There must be something wrong with your web.xml. Sure, but I don't know what should be wrong with it. It starts my application and all requests are handled by springs DispatcherServlet (as wanted). BTW: My application is deployed in tomcat 6.0.14.

Re: How to export non-annotated service in spring

2007-11-20 Thread Willem Jiang
Hi, You can use the simple front end custom server bean definition. Please see [1] for more information. [1] http://cwiki.apache.org/CXF20DOC/simple-frontend.html Willem. ojs wrote: Hello, I'm trying to switch from xfire to cxf - don't had much luck so far... My xfire configuration (in

Re: How to export non-annotated service in spring

2007-11-20 Thread Willem Jiang
Hi, Can you show me your web.xml ? There must be something wrong with your web.xml. Willem. ojs wrote: Willem2 wrote: You can use the simple front end custom server bean definition. Please see [1] for more information. [1] http://cwiki.apache.org/CXF20DOC/simple-frontend.html I

Re: with simple frontend configuration, for xml over http how to change name for operation

2007-11-20 Thread Jim Ma
Hi , I think you can do it . Write your own ServiceConfiguration (extends org.apache.cxf.service.factory.DefaultServiceConfiguration) and override getOperationName method to change the default operation name . Then add your ServiceConfiguration to spirng configuration xml like the

Specifying namespaceUri / default namespace for simple server

2007-11-20 Thread Kaleb Walton
Is there a way to specify the namespace that shows up in the WSDL root node using the simple:server? I see the default namespace is overridden in the JAXBDataBinding by a call to service.getName().getNamespaceURI() but I'm not sure where to fork this namespaceURI in my Spring config. Regards,

Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-20 Thread Tophebboy
Hi everybody! First of all, please excuse my English which is very far from perfect (I’m French). I'm a newbie about web services. I have to create a RCP app (this, I know) which will use some web services I also have to create. Anyway, now I have 2 web services (let’s call them WS1 and WS2) I

RE: Interceptors pulling values out of requests

2007-11-20 Thread Vespa, Anthony J
Thank you for the information. It isn't quite solving my issue though. What I am trying to do is to log the values in my request stream. My request looks like this: ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Partial Message decryption, message forwarded in interceptor

2007-11-20 Thread Glen Mazza
Am Freitag, den 16.11.2007, 17:18 + schrieb Wulff, Oliver: Hi all I'd like to use CXF to do partial message protection (decrypt all the elements) and forward this message to the final web service destination. I don't know about partial message protection, but don't you mean (encrypt all

RE: Interceptors pulling values out of requests

2007-11-20 Thread Glen Mazza
Am Dienstag, den 20.11.2007, 00:36 -0500 schrieb Liu, Jervis: I just updated the wiki page [1], hopefully it is more clear now how to write and configure user interceptors. Please let me know if there is anything missing or still not clear on this page. In the Adding interceptors through

Re: Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-20 Thread Glen Mazza
Am Dienstag, den 20.11.2007, 07:54 -0800 schrieb Tophebboy: Hi everybody! First of all, please excuse my English which is very far from perfect (I’m French). I'm a newbie about web services. I have to create a RCP app (this, I know) which will use some web services I also have to create.

WSDL imports

2007-11-20 Thread Silberman, Nathan
All, My current setup includes my wsdls inside a folder in my WEB-INF folder. I have a number of common types that I would like to import rather than duplicate across multiple wsdls. When I execute cxf's wsdl2java command, my import tags must have locations that are relative to the current

AW: Partial Message decryption, message forwarded in interceptor

2007-11-20 Thread Wulff, Oliver
Hi Glen CXF is used at the endpoint and needs to decrypt parts of the soap request. This feature is provided by apache wss4j. The reply from Dan helped me in developing a dynamic endpoint but it fails to configure the SAAJ and WSS4J interceptors successfully. Thanks Oliver

Re: How to export non-annotated service in spring

2007-11-20 Thread Willem2
You should use CXFServlet to handler the http request and not the spring DispatcherServlet. Since CXFServlet will replace all the http related transport to the servlet transport, you endpoint will not try to start a jetty engine for http transport listening. You can find the CXFServlet's web.xml

What is http://cxf.apache.org/bindings/xformat?

2007-11-20 Thread Benson Margulies
Can someone please point me at a spec for this? Should a javascript client be capable of talking to it?

Re: What is http://cxf.apache.org/bindings/xformat?

2007-11-20 Thread Willem2
Hi Benson, It is a CXF's XML binding, which just marshals and unmarshals the pure xml without any SOAP header of body involved. I think it there is no spec for it, we just implement it in CXF. Since I am not 100% sure about that , please point me out if I am wrong. Willem. bmargulies wrote:

RE: What is http://cxf.apache.org/bindings/xformat?

2007-11-20 Thread Benson Margulies
Thanks. -Original Message- From: Willem2 [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 8:34 PM To: cxf-user@incubator.apache.org Subject: Re: What is http://cxf.apache.org/bindings/xformat? Hi Benson, It is a CXF's XML binding, which just marshals and

Re: Missing input/output param namespace in SOAP

2007-11-20 Thread Jim Ma
Hi , This is an issue in CXF . Can you log it into https://issues.apache.org/jira/browse/CXF with your test case ? Thanks Jim Nianhua Li wrote: Dear list, I am using the java-first approach with spring configuration on cxf 2.0.3 and tomcat 5.5. I specified namespace for all the input and

Re: Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-20 Thread Tophebboy
I don't know but I don't handle myself the BusFatory instanciation. I just have a client in each of my plugins which looks like the clients CXF generates automatically: code String wsdlUrl = my wsdl path; File wsdlFile = new File(wsdlUrl); try {