Re: Is CXF Continuations tested for Jetty 7 ?

2011-12-12 Thread Willem Jiang
Yes, my blog explain when we should move the new Jetty7 implementation :) BTW, CXF also support the continuation API which provides by Servlet3. If you are consider Tomcat7 and Jetty8, you need to take a look at it. On Tue Dec 13 10:28:00 2011, ramesh wrote: On 12/12/2011 08:04 PM, Willem Jiang

Re: Many threads serve a http request in cxf

2011-12-12 Thread Rice Yeh
I am using JAXRS and I have solved the problem by overriding JAXRSInvoker instead of having thread local variables initialized in another interceptor. Thanks, Rice On Sun, Dec 11, 2011 at 1:06 AM, Sergey Beryozkin wrote: > Hi > > On 09/12/11 18:19, Rice Yeh wrote: > >> Hi, >> I just find that

Re: Unable to Map QueryParam to Object

2011-12-12 Thread Dan King
> That works for me, we have an existing test where Long is used instead > of Integer, works fine. I can't imagine why, may be @Transactional > affects it, please remove and check if that the case; also how do > setters for max & offset look like ? > > Cheers, Sergey I re-built and re-deploye

Re: Multithread executor and JMS

2011-12-12 Thread Freeman Fang
Hi, You can add property like 5//or whatever you want to org.apache.cxf.transport.jms.JMSConfigFeature. Freeman On 2011-12-13, at 上午12:36, Benson Margulies wrote: How would I go about allowing multiple threads to handl

Re: Is CXF Continuations tested for Jetty 7 ?

2011-12-12 Thread ramesh
On 12/12/2011 08:04 PM, Willem Jiang wrote: Hi, camel-cxf is leverage the continuation which is provided by Jetty7. As the CXF has it own continuation wrapper, there is no much pain, when we move from Jetty6 to Jetty7. On Tue Dec 13 06:14:26 2011, ramesh wrote: Is CXF Continuations tested fo

Re: Is CXF Continuations tested for Jetty 7 ?

2011-12-12 Thread Freeman Fang
And same as servicemix-cxf JBI component do. Freeman On 2011-12-13, at 上午10:04, Willem Jiang wrote: Hi, camel-cxf is leverage the continuation which is provided by Jetty7. As the CXF has it own continuation wrapper, there is no much pain, when we move from Jetty6 to Jetty7. On Tue Dec 13 0

Re: Is CXF Continuations tested for Jetty 7 ?

2011-12-12 Thread Willem Jiang
Hi, camel-cxf is leverage the continuation which is provided by Jetty7. As the CXF has it own continuation wrapper, there is no much pain, when we move from Jetty6 to Jetty7. On Tue Dec 13 06:14:26 2011, ramesh wrote: Is CXF Continuations tested for Jetty 7 ? I have this doubt because Continu

Is CXF Continuations tested for Jetty 7 ?

2011-12-12 Thread ramesh
Is CXF Continuations tested for Jetty 7 ? I have this doubt because Continuations in jetty is replaced by suspendable request in Jetty 7 and some discussions in CXF users group around this issue. regards, Ramesh

Re: wsdl2java and javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED marshalling issue...

2011-12-12 Thread Miguel Martins Feitosa Filho
Hi, https://localhost/MyApp/svc/soap?wsdl contains https://localhost/MyApp/svc/soap?wsdl=MyApp.wsdl"; namespace="http://mynamepsace/";> Output of https://localhost/MyApp/svc/soap?wsdl=MyApp.wsdl http://mynamespace/";> http://mynamespace/";> Will run wsdl2java with -xjc-npa asap and g

Re: SoapTransportFactory.getConduit(EndpointInfo ei, EndpointReferenceType target) ignors second parameter

2011-12-12 Thread Daniel Kulp
If the SoapTransport is ignoring the second parameter, but the other transports that it may be calling on do not, I would definitely consider that a bug and something we should try and address. Dan On Monday, December 12, 2011 1:17:25 PM Andrei Shakirin wrote: > Hi, > > Looks like my post wa

Re: wsdl2java and javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED marshalling issue...

2011-12-12 Thread Daniel Kulp
> I called > > wsdl2java.bat 'http://myappurl:/soap?wsdl' If you grab that WSDL, what does the schema in there say? Does that say elementFormDefault="unqualified"? That's the import thing to make sure we get correct or the client is likely not going to work. You can TRY adding -xjc-npa

Re: Large response (400MB) options

2011-12-12 Thread Christian Schneider
Hi Suresh, typically you will not want to send 400 MB xml. If it is ok to send it as a MTOM attachment it is quite easy to not have the message in memory. See: http://cxf.apache.org/docs/mtom-attachments-with-jaxb.html So in this case you have a DataHandler as API and can e.g. directly stream

Re: Large response (400MB) options

2011-12-12 Thread Daniel Kulp
On Monday, December 12, 2011 9:27:10 AM SureshG wrote: > Hi, > We have a requirement to send a large response (400MB) with out attachments. > In one of the responses in the forum, I have read that there will be a > memory issue as the whole meesge will be in the memory. I am currently > using CXF 2

Re: creating SoapFault with custom exceptions

2011-12-12 Thread Daniel Kulp
On Monday, December 12, 2011 11:59:52 AM Malisetti, Ramanjaneyulu wrote: > Hi > we have the following code to create SoapFault for sending server side > exception to client. On client side, detail part coming as Null. I see some > posts in CXF forum on this issue and addressed as issue has be

Re: org.apache.cxf.workqueue.WorkQueueManager

2011-12-12 Thread Daniel Kulp
On Monday, December 12, 2011 12:55:37 PM Benson Margulies wrote: > Is this as public API, or is it for internal task management? Public API.It's in cxf-api so public. -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com

org.apache.cxf.workqueue.WorkQueueManager

2011-12-12 Thread Benson Margulies
Is this as public API, or is it for internal task management?

Re: CXF's wsdl2java ignores elements default initialization

2011-12-12 Thread Daniel Kulp
On Friday, December 09, 2011 3:15:27 PM rouble wrote: > Hi All, > > Is there a way to use jaxb annotations and/or wsdl2java to generate > classes with default initializations? > > Today, CXF's wsdl2java is ignoring an elements default initialization. > So, something like: > > > Does not get ref

Re: CXF's wsdl2java ignores elements default initialization

2011-12-12 Thread Glen Mazza
I don't believe it's so much wsdl2java ignoring the defaults as JAXB ignoring them (we use Oracle's JAXB reference implementation). JAXB does not implement 100% of XML Schema, including default values. You might have more luck with the XMLBeans databinding option. Glen On 12/09/2011 03:15 P

Large response (400MB) options

2011-12-12 Thread SureshG
Hi, We have a requirement to send a large response (400MB) with out attachments. In one of the responses in the forum, I have read that there will be a memory issue as the whole meesge will be in the memory. I am currently using CXF 2.2.9. what are my options in dealing with the large responses? A

interop

2011-12-12 Thread chris snow
Are there any .NET WCF interopability tests for CXF? All I can find is here: http://svn.apache.org/repos/asf/cxf/sandbox/interopfest/ However, these appear to be for CXF 2.2 and some of the wsdl urls are no longer avaiable. Any ideas? Many thanks, Chris

Re: How to treat the situation when we want to return null from the SEI method

2011-12-12 Thread Miguel Martins Feitosa Filho
thanks! On Mon, Dec 12, 2011 at 11:29 AM, Sergey Beryozkin wrote: > Hi > > for JAX-RS you can override the Response in ResponseHandler filter, for > example: > if (Response.getEntity() == null) { >   return response.status(status).entity("").build(); > } > > Cheers, Sergey > > > On 12/12/11 16:10

Re: javax.xml.ws.WebServiceException: Port not found

2011-12-12 Thread Daniel Kulp
On Saturday, December 10, 2011 9:10:46 AM uib wrote: > Where should this be added? > It seems that the port not found error happens when the constructor runs > super. > Also service.addPort() needs bindingId. > Is this required or can it be null. It would be javax.xml.ws.soap.SOAPBinding.SOAP11HTT

Multithread executor and JMS

2011-12-12 Thread Benson Margulies
How would I go about allowing multiple threads to handle requests coming over SOAP-over-JMS?

Re: How to treat the situation when we want to return null from the SEI method

2011-12-12 Thread Sergey Beryozkin
Hi for JAX-RS you can override the Response in ResponseHandler filter, for example: if (Response.getEntity() == null) { return response.status(status).entity("").build(); } Cheers, Sergey On 12/12/11 16:10, Miguel Martins Feitosa Filho wrote: Hello CXF Users, If a SEI has annotations of

How to treat the situation when we want to return null from the SEI method

2011-12-12 Thread Miguel Martins Feitosa Filho
Hello CXF Users, If a SEI has annotations of the form: @GET @Path(" thepath ") @WebResult(name = "methodResponseData"") @XmlElementWrapper(name = "ListOfMethodResponseData") public MethodResponseData" method() throws MyAppException; how can we treat the the

Re: Best way to put max byte limit on file uploads?

2011-12-12 Thread Sergey Beryozkin
Hi On 12/12/11 15:51, Davis Ford wrote: Hi Sergey, quick follow-up... I did add a RequestHandler filter, but it isn't clear to me the proper way to get at the "Content-Length" header. I know I'm posting it, b/c I'm using curl -v as a client, which shows prints the full request with the -v opt

RE: Best way to put max byte limit on file uploads?

2011-12-12 Thread Davis Ford
Hi Sergey, quick follow-up... I did add a RequestHandler filter, but it isn't clear to me the proper way to get at the "Content-Length" header. I know I'm posting it, b/c I'm using curl -v as a client, which shows prints the full request with the -v option. I thought that all the HTTP headers w

wsdl2java and javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED marshalling issue...

2011-12-12 Thread Miguel Martins Feitosa Filho
Hello All CXF Users, I am using a standard setup cxf-2.5 jdk1.7.0_01 My SEI exposes REST (XML and JSON outputs) and SOAP. For SOAP: I am trying to use UNQUALIFIED for elementFormDefault and attributeFormDefault. For REST I just drop the namespace. So package-info.java looks like: @javax.xml.b

SoapTransportFactory.getConduit(EndpointInfo ei, EndpointReferenceType target) ignors second parameter

2011-12-12 Thread Andrei Shakirin
Hi, Looks like my post was not registered the first time. Apologies if this double posts. I faced the problem in custom conduit selector scenario. Use case: custom conduit selector (extends AbstractConduitSelector) resolves endpoints dynamically (using external ServiceRegistry). When addre

creating SoapFault with custom exceptions

2011-12-12 Thread Malisetti, Ramanjaneyulu
Hi we have the following code to create SoapFault for sending server side exception to client. On client side, detail part coming as Null. I see some posts in CXF forum on this issue and addressed as issue has been solved. We are using CXF 2.3.0 SOAPMessage response = msgFacto

[CXF 2.3.0] Certificate validation in WS-Security

2011-12-12 Thread Blue Diamond
Hi all, We are using CXF 2.3.0 and have a WS-Security policy that has EncryptBody & SignHeader kind of policy. I want client & server to use different certificates and both client & server certs are signed by the same root & that is enough for me to authenticate the client. But WS-Security seems

CXF DOSGI - Unreachable Service provider WSDL

2011-12-12 Thread András Liter
Dear all, I am trying to set up a CXF DOSGI client-server architecture, where the server and client components are running on different hosts. My question is how could I set the the server endpoint properly, in order to have the server side services published as well. My server/provider side: (*

Re: Supporting custom JSON formats

2011-12-12 Thread Sergey Beryozkin
Hi Guy On 11/12/11 08:57, Guy Pardon wrote: Hi, I am trying to define a custom hypermedia model (cf REST in Practice) as the return type of my REST service. With MIME type "application/json" this works, but with type "application/vnd.example-com.foo+json" (which is what I want) this fails, h

Re: Encryption Parts not followed

2011-12-12 Thread Colm O hEigeartaigh
Hi Dan, Could you paste the security policy of the service provider, as well as the message it is rejecting? The error message "The Key transport method does not match the requirement" indicates that the encryption algorithm that was used in the request does not match with the configured policy.