WS-Security user name tested in a web service method ?

2008-01-18 Thread lfrering
Hi all, I have configured my web service to use a WS-Security Username Token Authentication (http://cwiki.apache.org/CXF20DOC/ws-security.html) and I'd like to know which WS-Security user is operating a method in my web service. Is it possible to do something like that (and if yes how ?) :

Jax-rs issue

2008-01-18 Thread priya j
Hi All, I am using JAX-RS for my RESTful web service with security. I am able to execute the sample in 2.1 snapshot when i try for the spring configuration it fail. Can anyone tell me whats wrong or is that any configuration needs to be done. I use the application level tomcat.( Do i need to

XmlJavaTypeAdapter not being called

2008-01-18 Thread LEWIS, James, GBM
Oops, starting new thread as forgot to change the subject. Apologies for the spam: Greetings! I am evaluating CXF as a replacement for Axis and have run into a bit of a problem. My requirement is to ensure that the wsdl generated by CXF matches the wsdl produced by our old services. The main

RE: CXFServlet

2008-01-18 Thread LEWIS, James, GBM
Greetings! I am evaluating CXF as a replacement for Axis and have run into a bit of a problem. My requirement is to ensure that the wsdl generated by CXF matches the wsdl produced by our old services. The main problem I am facing is with customising the return types/parameters of a method

CXF-2.0.4 release?

2008-01-18 Thread Marco Piraccini
I'm waiting for CXF-2.0.4 (i'm interested in the correction of the CXF-1332 issue). According with the roadmap, this version was targeted for Jan 15, but it's not downloadable yet. It's a simply few day late, or the release has been postponed? Bye Marco.

Re: CXF-2.0.4 release?

2008-01-18 Thread Daniel Kulp
On Friday 18 January 2008, Marco Piraccini wrote: I'm waiting for CXF-2.0.4 (i'm interested in the correction of the CXF-1332 issue). According with the roadmap, this version was targeted for Jan 15, but it's not downloadable yet. It's a simply few day late, or the release has been postponed?

WS Security - How do I stop a man in the middle?

2008-01-18 Thread jason . laskowski
Hello, I am testing CXF 2.0.3 incubator. I have a java first / spring working example of both the request and response using WSS4J Timestamp and Signature. I was wondering if anyone has a suggestion on how to prevent a man in the middle from replaying the request (if he does this before the

WSDL retrieval at runtime, is it required?

2008-01-18 Thread Yadav, Yogendra (IT)
Hi, I have already used wsdl2java -client to generate client code to access a CXF service. The WSDL that I provided does include service endpoint information. I see that, now at runtime the client code tries to retrieve the WSDL again (see the stacktrace below), why? Does it only do it to extract

JMS and CXF: I want a ws method to handle only one message at a time

2008-01-18 Thread Benjamin Coiffe
I use CXF-ApacheMQ to deploy different Web Service with a JMS binding. One of these WS has a one way method that should only de-queue and handle one message at a time (from the JMS queue)...In short, a JMS-consumer that is processing a message (for this one way method) should be unavailable until

Re: WSDL retrieval at runtime, is it required?

2008-01-18 Thread Glen Mazza
Am Freitag, den 18.01.2008, 10:49 -0500 schrieb Yadav, Yogendra (IT): Hi, I have already used wsdl2java -client to generate client code to access a CXF service. The WSDL that I provided does include service endpoint information. I see that, now at runtime the client code tries to retrieve

Setting the HTTP response code

2008-01-18 Thread jas_nabble
Hello: Is it possible to explicitly set the HTTP response code from within an SEI implementation? I'm creating a RESTful interface, and it looks like a good approach (RESTful Web Services, Richardson Ruby, O'Reilly, 2007) is to use a variety of HTTP response codes. Like, if a given ID for a

Re: Missing Schema?

2008-01-18 Thread Ian Roberts
David Hodge wrote: Where is the schema? In the documentation it should be here : http://cxf.apache.org/schemas/jaxws.xsd But it is not. Any one else have this issue? The schemas live inside the CXF JAR files. Spring remaps the locations internally but if you want to just look at the

Re: Jax-rs issue

2008-01-18 Thread Frank Lynch
Hello Priya, I will email you a zip file containing a modified version of the basic jax-rs demo using spring off-list (using maven jetty). It should give you an idea of how to use jax-rs along with spring in a webapp. You will of course need to modify your tomcat configuration to enable https.

Problem with relative path schema import using Maven wsdl2java in 2.0.3

2008-01-18 Thread jrduncans
I tried to update a Maven project from 2.0.2 to 2.0.3. After updating the versions in my pom.xml, I get the following error: WSDLToJava Error : WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: Unable to locate with a locator the schema referenced at

Re: About sample integration\JBI\external_provider_internal_consumer

2008-01-18 Thread YI (William) ZHU
... (after stoping shuting down CXF Service Engine) then I try to uninstall CSE, but I got the following message on ServiceMix console: INFO - JBIContainer - Deactivating component CXFServiceEngine Jan 18, 2008 2:56:59 PM org.apache.cxf.jbi.se.CXFBootstrap onUninstall INFO:

AccessControlException: access denied upon deploying to Tomcat-5.5

2008-01-18 Thread Wolf, Chris (IT)
I built the wsdl_first sample and attempted to depoy the war to Tomcat-5.5. The tomcat manager shows that the web app is deployed and in the running state, however, neither the service nor even the WSDL urls produce results. (get a not found error) The log shows the following error:

Re: About sample integration\JBI\external_provider_internal_consumer

2008-01-18 Thread YI (William) ZHU
When I stop CXF Service Engine component, I got the following message from ServiceMix console: INFO - ComponentMBeanImpl - Stopping component: CXFServiceEngine Jan 18, 2008 2:48:23 PM org.apache.cxf.jbi.se.CXFServiceEngine stop INFO: CXFServiceEngine stopped Jan 18, 2008 2:48:23 PM

Missing Schema?

2008-01-18 Thread David Hodge
Where is the schema? In the documentation it should be here : http://cxf.apache.org/schemas/jaxws.xsd But it is not. Any one else have this issue? Thanks, David Y. Hodge

Re: Jax-rs issue

2008-01-18 Thread priya j
Hi, when i try executing my rs-basic (with https) in eclipse, the server through a null pointer exception but my client works. I am not sure whats wrong. Then my other issue is if im changing to https. what are the config i need to do. As far as i know i have changed my server.xml in tomcat

Re: WebMethod parameter is null - JAXB binding failure?

2008-01-18 Thread larry ruiz
I was running with same case today, but since you didn't mention how did you generate the client... in my case I was using ClientProxyFactoryBean and it seems to be badly enconding the soap request like if it doesn't read the jaxws annotations, so I tried with JaxWsProxyFactoryBean and it