RE: Consume XML POST payload with application/x-www-form-urlencoded content type set

2011-11-09 Thread Carlsson-EXTERNAL Carl-johan
Hi, I am trying to replace the content-type header in an incoming message with an interceptor like this: public void handleMessage(Message message) throws Fault { ... String contentType = (String) message.get(Message.CONTENT_TYPE); if (contentType != null

Re: Consume XML POST payload with application/x-www-form-urlencoded content type set

2011-11-09 Thread Sergey Beryozkin
Hi On 09/11/11 09:25, Carlsson-EXTERNAL Carl-johan wrote: Hi, I am trying to replace the content-type header in an incoming message with an interceptor like this: public void handleMessage(Message message) throws Fault { ... String contentType = (String)

Re: 2.5 and OAuth

2011-11-09 Thread Sergey Beryozkin
Hi, thank for your interest, I'm documenting it all right now, comments inline, On 09/11/11 02:16, Jeff Wang wrote: With great anticipation, I am looking through the OAuth 1.0 implementation in CXF. I have some questions: In AuthorizationRequestService 1) This is just authorization, right?

Re: How to deal with SocketTimeoutException inside Java Code / Webservices

2011-11-09 Thread Sergey Beryozkin
Hi On 08/11/11 10:13, krn1...@gmail.com wrote: Hi , This is my Method code shown below Actually this serves as a Webservices Method . *public Response getData(ServiceRequest request) { try { final boolean toProceedorNot = validate(legdata);

Binding of imported types probelm

2011-11-09 Thread Alex Shneyderman
Hi, all! I have a problem with wsdl2java not generating types for a particular XSD to the correct package. I have a WSDL that imports one XSD which in turn imports another XSD. I would like the types from the second XSD go into a pre-determined package. They however go into the default. Any

Re: No warning on invalid _type parameter

2011-11-09 Thread Woonsan Ko
Thanks again, Sergey! The issue is here: https://issues.apache.org/jira/browse/CXF-3897 Cheers, Woonsan - Original Message - From: Sergey Beryozkin sberyoz...@gmail.com To: users@cxf.apache.org Cc: Sent: Tuesday, November 8, 2011 4:44 PM Subject: Re: No warning on invalid _type

Serving JSPs using redirect on WebLogic

2011-11-09 Thread Nikolay Aleksiev
Hi, I have the following CXF Servlet configuration: !-- CXF Servlet -- servlet servlet-nameCXFServlet/servlet-name servlet-classorg.apache.cxf.transport.servlet.CXFServlet/servlet-class !-- Redirect all JSP requests to the default jsp servlet -- init-param param-nameredirects-list/param-name

WS Addressing - Formulating a reply message

2011-11-09 Thread ghed
Hi all, I have been experiencing some problems trying to use addressing feature for asynchronous ws. I am using CXF bundled with JBOSS 6; the issue is relating to the reception of a reply message. As in http://www.w3.org/Submission/ws-addressing/#_Toc77464324, the relates to tag should contain

Re: How to log SOAP Request and SOAP Response inside Apache CXF

2011-11-09 Thread David Karlsen
Use the soap logging feature. See: http://cxf.apache.org/docs/featureslist.html http://cxf.apache.org/docs/features.html http://cxf.apache.org/docs/debugging-and-logging.html http://www.techper.net/2008/01/30/viewing-inbound-and-outbound-messages-in-cxf/ Be aware that the logger name changed in

Re: How to log SOAP Request and SOAP Response inside Apache CXF

2011-11-09 Thread Daniel Kulp
On Wednesday, November 09, 2011 2:45:21 AM krn1...@gmail.com wrote: Hi , I am using Apache CXF Framework for our Webservice development . Initially I have developed a basic web service sayHello . This works fine . As i said i am using Apache CXF , my question is it possible to log SOAP

Re: Serving JSPs using redirect on WebLogic

2011-11-09 Thread Sergey Beryozkin
Hi On 09/11/11 16:28, Nikolay Aleksiev wrote: Hi, I have the following CXF Servlet configuration: !-- CXF Servlet -- servlet servlet-nameCXFServlet/servlet-name servlet-classorg.apache.cxf.transport.servlet.CXFServlet/servlet-class !-- Redirect all JSP requests to the default jsp servlet --

Re: Problem migrating from 2.3.1 to 2.5.0

2011-11-09 Thread Daniel Kulp
On Tuesday, November 08, 2011 6:48:45 PM Evangelina wrote: Well yes, the thing is that I'm still using the client instance when the ClientProxy is gc, which destroys the state of client. That Client object is definitely tied to the lifecycle of the proxy. That is per design. If you are

Re: CXF/JAXB Code-first service: modify XMLSchemaType of inputs

2011-11-09 Thread Daniel Kulp
On Tuesday, November 08, 2011 9:19:45 PM Jeremy Robertson wrote: I am working on a CXF/JAXB code-first web service. I would like to be able to modify the WSDL definitions of some of the inputs. For example, given the following interface snippet: @WebMethod public void

Re: Fault: No binding operation info while invoking unknown method with params unknown.

2011-11-09 Thread Daniel Kulp
On Wednesday, November 09, 2011 12:35:47 PM Le Anh Tuan wrote: I'm using WSDL2Java to generate client and server class for MTOSI Notification Consumer. When I run default client and server class, I got the exception: In general, this exception usually occurs if the incoming soap method

Re: cxf/soa/mvn conventions

2011-11-09 Thread Daniel Kulp
On Monday, November 07, 2011 1:51:51 PM Jason Reilly wrote: All, Are there any conventions out there in the wild as to how to organize large scale SOA/CXF based projects in maven? For example, in the DOSGi project, there are sample web services that are broken out into a client, interface,

Re: Serving JSPs using redirect on WebLogic

2011-11-09 Thread Sergey Beryozkin
Hi On 09/11/11 18:31, Nikolay Aleksiev wrote: Hi, I tried your suggestion, but the results are not good. In both servers I get to StackOverflowError because of endless redirection. I tried setting redirect-servlet-path to both and /. There must be some way to make it work not only on

partial response problem with SOAP 1.1 use of WS-Addressing and SOAPAction

2011-11-09 Thread Jesse Pangburn
Hi, I invoked a SOAP 1.1 web service using CXF 2.4.2 DispatchImpl and that service immediately returned the following soap header: soap:Header wsa:MessageIDuuid:A12B3727-0B3D-11E1-983D-DFB5348FF699/wsa:MessageID wsa:Actionresponse/wsa:Action

WS-Addressing version

2011-11-09 Thread Zhemzhitsky Sergey
Hi there, I'm using CXF 2.4.2 as a client for the .NET WCF Service which is configured to use 2004/08 version of WS-Addressing (http://schemas.xmlsoap.org/ws/2004/08/addressing). As a rule CXF uses http://www.w3.org/2005/08/addressing by default. I know that CXF 2.4.2 WS-RM implementation