Re: Use of PATCH

2012-03-07 Thread Jason Chaffee
I completely forgot about the HttpMethod annotation. Thanks Sergey. Sorry for the bother. I should have looked harder. On 3/7/12 3:09 PM, "Jason Chaffee" wrote: >I guess I wasn't aware of the ability to create a custom PATCH annotation >that would processed like the POST/PUT/GET/DELETE by the

Re: Use of PATCH

2012-03-07 Thread Jason Chaffee
I guess I wasn't aware of the ability to create a custom PATCH annotation that would processed like the POST/PUT/GET/DELETE by the JAX-RS implemenation. I will check the spec. again. Jason On 3/7/12 2:52 PM, "Sergey Beryozkin" wrote: >Hi Jason > >On 07/03/12 22:02, Jason Chaffee wrote: >> Serg

Re: AW: HTTP Status 403 - Requesting security token failed

2012-03-07 Thread scmakhaye
*Tomcat instance 2* Mar 7, 2012 11:47:00 PM org.apache.fediz.tomcat.FederationAuthenticator invoke FINE: WsFedAuthenticator:invoke() Mar 7, 2012 11:47:00 PM org.apache.catalina.authenticator.AuthenticatorBase invoke FINE: Security checking request GET / Mar 7, 2012 11:47:00 PM org.apache.catalina.

Re: Use of PATCH

2012-03-07 Thread Sergey Beryozkin
Hi Jason On 07/03/12 22:02, Jason Chaffee wrote: Sergey, Is there any plans for supporting PATCH in JAX-RS 2.0? If not, is there a way we could support it in CXF? A custom PATCH annotation can be created even in JAX-RS 1.1/1.0, the same way GET/etc are managed... What else do you expect t

Re: Grails + CXF + MTOM + Contract-first causes MIME boundary problems

2012-03-07 Thread Rahul Somasunderam
Thanks a lot. You've greatly helped me narrow down places to look for problems. R, rahul On Mar 7, 2012, at 2:35 PM, Daniel Kulp wrote: > On Wednesday, March 07, 2012 02:25:51 PM Rahul Somasunderam wrote: >> Dan, >> >> Thanks for replying. I tried your solution and see this: >> >> >> 2012-03-

Re: Grails + CXF + MTOM + Contract-first causes MIME boundary problems

2012-03-07 Thread Daniel Kulp
On Wednesday, March 07, 2012 02:25:51 PM Rahul Somasunderam wrote: > Dan, > > Thanks for replying. I tried your solution and see this: > > > 2012-03-07 14:17:51,174 [bio-8080-exec-8] INFO > terceptor.LoggingInInterceptor - Inbound Message > > ID: 1 > Address: /heal

Re: Grails + CXF + MTOM + Contract-first causes MIME boundary problems

2012-03-07 Thread Rahul Somasunderam
Dan, Thanks for replying. I tried your solution and see this: 2012-03-07 14:17:51,174 [bio-8080-exec-8] INFO terceptor.LoggingInInterceptor - Inbound Message ID: 1 Address: /healthdock/services/xdsRepositoryB Encoding: UTF-8 Content-Type: multipart/related; bound

Use of PATCH

2012-03-07 Thread Jason Chaffee
Sergey, Is there any plans for supporting PATCH in JAX-RS 2.0? If not, is there a way we could support it in CXF? Any thoughts? Jason In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs

Re: Grails + CXF + MTOM + Contract-first causes MIME boundary problems

2012-03-07 Thread Daniel Kulp
This is in the AttachmentInInterceptor which is VERY VERY early in the chain. Very little has gone on at that point from a CXF side. Thus, it looks like grails is still doing something funky with the input stream before CXF is getting it. That's the area you may need to look at. You can

Re: Incorrect urls in the service list page with Tomcat behind Apache

2012-03-07 Thread Glen Mazza
From googling, I think you can place that in a cxf.xml configuration file: http://fusesource.com/forums/message.jspa?messageID=10948 HTH, Glen On 03/07/2012 03:18 PM, Stephane Eybert wrote: Hi Glenn, Thanks for that, but I'm not using wsdl2java, it's a code first scenario with the wsdl generat

Grails + CXF + MTOM + Contract-first causes MIME boundary problems

2012-03-07 Thread Rahul Somasunderam
I'm trying to create an endpoint using Grails + CXF. There is a WSDL that is provided by a standards body, and I have to use that as the contract for the web service. When I use JAXB to codegen from the WSDL, I get a class that looks like this: public class ProvideAndRegisterDocumentSetRequestTy

Re: invalid outbound message content

2012-03-07 Thread Csaba Nemeth
Thank you, it worked as you suggested. I somehow missed that ObjectFactory method. I did use the object factory, but in the following way: ArrayOfRange ranges = objectFactory.createArrayOfRange(); ranges.getRange().add(rangeObject); userRole.setRangeList(objectFactory.createArrayOfRange(ranges));

Re: Incorrect urls in the service list page with Tomcat behind Apache

2012-03-07 Thread Stephane Eybert
Hi Glenn, Thanks for that, but I'm not using wsdl2java, it's a code first scenario with the wsdl generated by CXF. I wonder if CXF has any such property. Thanks ! Stephane -- View this message in context: http://cxf.547215.n5.nabble.com/Incorrect-urls-in-the-service-list-page-with-Tomcat-behi

Re: No logging interceptor when using jaxws:client?

2012-03-07 Thread Marcel Stör
On 07.03.2012 19:58, Daniel Kulp wrote: When using any of our namespace handlers, they look for a Bus object specifically in that Spring context. If there isn't one there, they create one for the context.In this case, not only would it not get the bus, it wouldn't have your conduit properti

Possible bug in ClientProxyImpl

2012-03-07 Thread Nikolay Aleksiev
Hello, I have the following service (ContentManager): @WebMethod @GET @Path("/list/{contentType}/{id}") @Secured("ROLE_RESTCLIENT") public Contents browse(@PathParam("id") String idVal, @PathParam("contentType") RequestContentType contentTypeVal, @QueryParam("pag

Re: invalid outbound message content

2012-03-07 Thread Daniel Kulp
How are you creating the JAXBElement for the RangeList field? The QName being output there is whatever QName you are using for that JAXBElement. Most likely, look into the ObjectFactory and see what methods are there for constructing the JAXBElement. Dan On Wednesday, March 07, 2012 08:

Re: No logging interceptor when using jaxws:client?

2012-03-07 Thread Daniel Kulp
When using any of our namespace handlers, they look for a Bus object specifically in that Spring context. If there isn't one there, they create one for the context.In this case, not only would it not get the bus, it wouldn't have your conduit properties picked up either. Your best bet is

Re: Service publishing twice on deployment

2012-03-07 Thread Daniel Kulp
On Tuesday, March 06, 2012 08:56:13 AM Alessio Soldano wrote: > Perhaps this issue is the same as > https://issues.apache.org/jira/browse/CXF-3209 ? Not sure if it is, but it may be related That JIRA is describing client side issues when using the Service class to create proxies. This issue

Re: Aware of compatibility issue between CXF and Metro/Weblogic ?

2012-03-07 Thread Daniel Kulp
On Tuesday, March 06, 2012 06:52:41 PM COURTAULT Francois wrote: > Hello, > > Thanks for the feedback :-) > According to the issue, it should be fixed in the 2.5.3 release: right ? > When this version will be released ? Likely in a couple weeks. We did a release on Jan 25th and we normally sho

Re: Consuming a webservice with over SSL redirection

2012-03-07 Thread Aki Yoshida
Hi Xavier, Yes. I meant for the wsdl's imports. But I don't know how your wsdl is built or generated. If it is automatically generated, you probably can't change that import's location. Maybe, there might be a property you can configure to follow the redirection, but I don't know. Maybe, someone e

invalid outbound message content

2012-03-07 Thread Csaba Nemeth
Hi, I am connecting to a .NET webservice using CXF. I have generated the clients using the wsd2ljava ant task. It works well for calling service methods to get objects, but calling service method and passing an object with list of objects does not work. The outbound message is not formatted accor

No logging interceptor when using jaxws:client?

2012-03-07 Thread Marcel Stör
I have a cxf.xml that contains ProxyServerPort="${proxyPort}" ReceiveTimeout="${readTimeout}" NonProxyHosts="${nonProxyHosts}"/> ${proxyUser} ${proxyPassword} Then in the Spring application context XML file I have address="${what

Re: Incorrect urls in the service list page with Tomcat behind Apache

2012-03-07 Thread Glen Mazza
I think you're looking for the "publishedEndpointURL" setting (http://www.jroller.com/gmazza/entry/web_service_tutorial#notes). HTH, Glen On 03/07/2012 09:17 AM, Stephane Eybert wrote: Hello, I have a Tomcat container sitting behind an Apache server. When I request the services list page fro

Re: WS Security Properties Reference

2012-03-07 Thread ychawla
Thanks Colm. I changed the attribute to lower case and it worked. In WSS4J 1.5, the attribute could be upper case. Looks like this is a subtle difference between the two. Appreciate the help! -Yogesh -- View this message in context: http://cxf.547215.n5.nabble.com/WS-Security-Properties-Refe

Incorrect urls in the service list page with Tomcat behind Apache

2012-03-07 Thread Stephane Eybert
Hello, I have a Tomcat container sitting behind an Apache server. When I request the services list page from the Apache server, that is, with an Apache url, like http://ws.nnn.nn/sesam-ws-web/ I get the services list page with its WSDL urls being http://potassium.nnn.nn:8080/sesam-ws-web/hello?ws

Re: Multiple CXF instances + ServiceMix + Thirdparty Jar... help!

2012-03-07 Thread marc.blomquist
Nobody? What if I offered a monetary reward over paypal to have this solved? -- View this message in context: http://cxf.547215.n5.nabble.com/Multiple-CXF-instances-ServiceMix-Thirdparty-Jar-help-tp5483175p5544155.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Consuming a webservice with over SSL redirection

2012-03-07 Thread Xavier López
Thanks for your response, Aki. I don't know the way, if there's any. I'd appreciate any tip on this matter. Is this actually a defect in the XML parser, unable to follow the redirect ? I forgot specifying my service's URL is defined relative to the app, in a Spring , like this: Maybe I sh

AW: HTTP Status 403 - Requesting security token failed

2012-03-07 Thread Oliver Wulff
Hi there 1) Could you increase the log level of tomcat instance 1 and 2: Maybe increase the logging level in conf/logging.properties by adding the following lines: org.apache.catalina.authenticator.level = FINEST org.apache.catalina.realm.level = FINEST 2) Please also remove fedizidp and fedizid

Re: Consuming a webservice with over SSL redirection

2012-03-07 Thread Aki Yoshida
Is there any possibility to define your import location url relative to the original location? If that works out, that might probably solve the problem. 2012/3/7 Xavier López : > Hi. I've deployed a contract-first web service using CXF. > > The server into which it is deployed performs 302 redirec

HTTP Status 403 - Requesting security token failed

2012-03-07 Thread scmakhaye
*Tomcat instance 1* Mar 7, 2012 10:52:22 AM org.apache.catalina.core.StandardServer await INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance. Mar 7, 2012 10:52:22 AM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-apr-9080"

Re: Aware of compatibility issue between CXF and Metro/Weblogic ?

2012-03-07 Thread Colm O hEigeartaigh
The snapshot has probably not been built yet as I just merged the fix. The fix is just in CXF: http://svn.apache.org/viewvc?view=revision&revision=1297929 Colm. On Wed, Mar 7, 2012 at 11:35 AM, COURTAULT Francois wrote: > Hello, > > Is there any snapshot delivery that I can download for test ?

RE: Aware of compatibility issue between CXF and Metro/Weblogic ?

2012-03-07 Thread COURTAULT Francois
Any answer ? -Original Message- From: COURTAULT Francois [mailto:francois.courta...@gemalto.com] Sent: mardi 6 mars 2012 18:53 To: users@cxf.apache.org; cohei...@apache.org Subject: RE: Aware of compatibility issue between CXF and Metro/Weblogic ? Importance: High Hello, Thanks for the

Re: WS Security Properties Reference

2012-03-07 Thread Colm O hEigeartaigh
The configuration tag should be "signaturePropRefId" and not "SignaturePropRefId". Colm. On Wed, Mar 7, 2012 at 4:49 AM, ychawla wrote: > Thanks Dan, > I noticed in CXF 2.4.6 which uses WSS4J 1.6.x that SignaturePropRefId is not > working.  When I configure using the reference, I get the followi

Re: CXF + Websphere 7 not working

2012-03-07 Thread tapmik
Hello, The CXF and jax-ws handlers are now working with the org.apache.servicemix.bundles.saaj-impl-1.3.18_1.jar in the WAS7. What I did: -I followed the guide http://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker/1001_thaker.html -I put the org.apache.servicemix.bundles.sa

Re: CXF; Tomcat 7 & JMX

2012-03-07 Thread Aki Yoshida
I don't know about your particular environment, so this information might not directly help. But if you wanted to set the usePlatformMBeanServer property of the cxf's instrumentation manager, you would need to prefix this property name with "bus.jmx" as with the other instrumentation manager proper

Re: Deserializing Encoded Query String

2012-03-07 Thread Sergey Beryozkin
On 07/03/12 03:07, Ari King wrote: I've configured a method to receive query string parameters (see below), but it does NOT receive all sent parameters. public Response lookup (@QueryParam("") CriteriaDto criteria) { ... } Seemingly encoded parameters are NOT populated in the DTO. For example,

Consuming a webservice with over SSL redirection

2012-03-07 Thread Xavier López
Hi. I've deployed a contract-first web service using CXF. The server into which it is deployed performs 302 redirections from http to ssl, so any request to http://server/app/* returns an HTTP 302 error code and redirects to https://server/app/*. In the original WSDL there are references to XSD e