Re: Continuations status?

2011-10-18 Thread Kent Närling
he CXF Message.* keys > and > not the JAX-WS keys. > > If you want to stick with JAX-WS, you can just do: > > > WebServiceContext context = new > org.apache.cxf.jaxws.context.WebServiceContextImpl(); > > and use that. > Thanks, did this and it works! > > Dan

Re: Continuations status?

2011-10-18 Thread Kent Närling
Hi, thanks for the quick answer, however: On 18 October 2011 12:52, Sergey Beryozkin wrote: > Hi, > > On 18/10/11 08:51, Kent Närling wrote: > >> Also, another question: >> >> How do I get the Context without injection? >> >> We are currently not runnin

Re: Continuations status?

2011-10-18 Thread Kent Närling
Also, another question: How do I get the Context without injection? We are currently not running our service in Spring, so we need to get the Context some other way... On 18 October 2011 09:05, Kent Närling wrote: > Hi, > > What is the status of CXF continuations and where do I

Continuations status?

2011-10-18 Thread Kent Närling
Hi, What is the status of CXF continuations and where do I find the best documentation on how to use it? Is the support for continuations usable for production? I see some mentionings of beta status etc but that might be outdated? Also, I tried to look for documentation how to use it but the bes

How to get WS-security interceptors dependency into a maven project?

2011-10-14 Thread Kent Närling
Hi! I found this documentation how to add WS-security in a client using CXF: http://cxf.apache.org/docs/ws-security.html However I tried hard to find out what maven dependencies I need to get this working, but is hard to figure out... I added this: wss4j wss4j 1.5.1 But

Re: Making async interfaces manually with annotations etc?

2011-08-26 Thread Kent Närling
thinks that the operation name on the server is > > "doAddAsync" despite that I explictly named it as "doAdd" in the > annotation? > > > > There should be a way to tell CXF through annotations that "for this > method > > stub X, call SOAP me

Re: Making async interfaces manually with annotations etc?

2011-08-26 Thread Kent Närling
as "doAdd" in the annotation? There should be a way to tell CXF through annotations that "for this method stub X, call SOAP method Y on the server"? Or am I missunderstanding what the problem is here? I have a full sample code of the above if anyone is interested I can send it,

Re: Making async interfaces manually with annotations etc?

2011-08-17 Thread Kent Närling
On 17 August 2011 23:21, Kent Närling wrote: > > On 17 August 2011 18:08, Daniel Kulp wrote: > >> On Wednesday, August 17, 2011 4:17:58 PM Kent Närling wrote: >> > I tried ad-hoc and just wrote the interface myself as: >> > >> > @WebSe

Re: Making async interfaces manually with annotations etc?

2011-08-17 Thread Kent Närling
or : "Could not find wsdl:binding operation info for web method doSomething" So I guess this means I would have to annotate some binding information? or is this impossible to do with annotations? On 17 August 2011 10:23, Kent Närling wrote: > Hi! > > We declare our SOAP inter

Making async interfaces manually with annotations etc?

2011-08-17 Thread Kent Närling
Hi! We declare our SOAP interfaces in java and then build the WSDL:s from the java code since 99% of our clients are in java and to make it most convenient for them we have decided to follow this path. eg we might have a sample service declared like: @WebService public interface MyService { @

Re: Corruption of HashMap with CXF when multiple requests in parallel?

2010-11-09 Thread Kent Närling
that you would need >> > to write an XmlJavaTypeAdapter thing to convert the maps to/from a List >> > of some struct to hold the data.   See the java-first-jaxws sample in >> > the kit for an example of this. >> > >> > Dan >> > >> >

Re: Corruption of HashMap with CXF when multiple requests in parallel?

2010-11-07 Thread Kent Närling
axws sample in the kit for an > example of this. > > Dan > > > On Thursday 04 November 2010 4:37:12 pm Kent Närling wrote: >> Hi, >> >> Me and my colleagues have written about this problem before, but >> thought we worked around it but now it came back to haunt

Some items in hashtable lost in WS requests/responses during high load...

2010-05-05 Thread Kent Närling
We are using our own wrapper class around a hashtable that we use as a parameter in many WS requests and as data field in many response objects: public class HashtableParameter implements Serializable { /** * Hashtable value */ private HashMap parameters = new Has

How to control the number of threads available for processing SOAP requests? and what is the default?

2009-11-17 Thread Kent Närling
Hi! What is the easiest way of controlling the number of threads used to handle SOAP requests in CXF? and what is the default? (we are running as a standalone CXF service) Is it possible to control this programmatically? We do not use Spring so much so it would be nice to be able to consolidate w

Re: Is there any way to get a callback when the response has been sent all the way to the client? ie "commit after response"?

2009-10-23 Thread Kent Närling
2009/10/22 Daniel Kulp > On Thu October 22 2009 3:31:15 am Kent Närling wrote: > > In a CXF webservice implementation on the server, is there any way of > being > > able to log/track wether the client received the response? > > > > eg. to only do a final com

Is there any way to get a callback when the response has been sent all the way to the client? ie "commit after response"?

2009-10-22 Thread Kent Närling
In a CXF webservice implementation on the server, is there any way of being able to log/track wether the client received the response? eg. to only do a final commit on a transaction after the response has been sent in full to the client? I know this would never be perfect, but it should be at lea

Problem with java.util.Hashtable as a webservice parameter?

2009-05-20 Thread Kent Närling
We have a problem getting Hashtable parameters getting passed properly in a webservice request, for instance I created a test method like: @WebMethod(operationName="doSomething") Hashtable doSomething( @WebParam(name="action") String action,

Re: Improving user error messages for failed webservice connection?

2009-01-28 Thread Kent Närling
2008/12/11 Daniel Kulp > I THINK with CXF 2.0.9/2.1.3 (might be the latest SNAPSHOTS, don't remember > exactly when I fixed this), when you catch the WebServiceException from the > call, the "cause" will be the real cause (like the IOException) that could > be > examined for more information. >

Re: Improving user error messages for failed webservice connection?

2008-12-11 Thread Kent Närling
2008/12/11 Andrew Clegg <[EMAIL PROTECTED]> > 2008/12/11 Kent Närling <[EMAIL PROTECTED]>: > > 2008/12/11 Andrew Clegg <[EMAIL PROTECTED]> > >> Well, you can request the WSDL: > >> > >> http://example.org:8080/my-web-app-war/services/MySe

Re: Improving user error messages for failed webservice connection?

2008-12-11 Thread Kent Närling
2008/12/11 Andrew Clegg <[EMAIL PROTECTED]> > 2008/12/11 Kent Närling <[EMAIL PROTECTED]>: > > > Also, is there any nice and reliable way to "ping" a webservice server > via > > CXF, without having to call a proper webservice function? > > Well,

Improving user error messages for failed webservice connection?

2008-12-11 Thread Kent Närling
horization - Server unavailable/wrong address etc Also, is there any nice and reliable way to "ping" a webservice server via CXF, without having to call a proper webservice function? Thanks for any help! -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm,

Creating CXF war file... how to get proper dependencies??

2008-11-11 Thread Kent Närling
Hi! I am trying to make a CXF webservice package in maven. But it seems SO darn difficult to get the right dependencies! Either classes are missing or I get stupid collissions... Anyone have tips what dependencies to declare to be able to deploy a CXF war file on a fresh installed tomcat (5.5.27

Re: Performance, what to expect etc?

2008-09-14 Thread Kent Närling
2008/9/12 Christian Vest Hansen <[EMAIL PROTECTED]> > On Fri, Sep 12, 2008 at 11:07 AM, Kent Närling <[EMAIL PROTECTED]> > wrote: > > Hi! > > I guess this might have been answered here before, but I searched the > lists > > and the FAQ:s and could no

Performance, what to expect etc?

2008-09-12 Thread Kent Närling
Hi! I guess this might have been answered here before, but I searched the lists and the FAQ:s and could not find anything so I will take the risk ... ;-) What ARE reasonable overheads using CXF Webservices? for instance compared to RMI/Beans etc? We did some measurments and found that some basic