Client timeouts

2011-07-25 Thread BRUNO MELLONI
We have a simple service that handles emailing for our web applications. It takes the request information and sends the email using SMTP through Exchange. It usually works great, but Web service call timeouts have been a nuisance from the beginning. If for some reason the application server w

Logging the SOAP request and response

2011-04-27 Thread BRUNO MELLONI
I am using CXF on a command-line java application client to call a commercial .NET web service (Great Plains Web Service). Under some circumstances (probably triggered by a technical issue or by data I feed it) the service throws an exception, but all I receive in the client side is "org.apac

RE: Service authentication credentials

2010-04-12 Thread Bruno Melloni
Original Message- From: Bruno Melloni Sent: Monday, April 12, 2010 8:52 AM To: 'Daniel Kulp'; users@cxf.apache.org Cc: Nate Woody Subject: RE: Service authentication credentials I think I did what you said and I made some progress, it loads the bean fine, but now cxf blows up with litt

RE: Service authentication credentials

2010-04-12 Thread Bruno Melloni
nt: Thursday, April 08, 2010 9:01 PM To: users@cxf.apache.org Cc: Bruno Melloni; Nate Woody Subject: Re: Service authentication credentials On Thursday 08 April 2010 6:04:35 pm Bruno Melloni wrote: > As you suggested, I am now using Java 6 and CXF 2.2.7. It sounds like > doing NTLM authen

RE: Service authentication credentials

2010-04-08 Thread Bruno Melloni
aniel Kulp [mailto:dk...@apache.org] Sent: Tuesday, March 16, 2010 10:43 PM To: users@cxf.apache.org Cc: Bruno Melloni; Nate Woody Subject: Re: Service authentication credentials There is a small section on NTLM stuff at the bottom of: http://cxf.apache.org/docs/client-http-transport-includin

Passing Throwables... or the equivalent

2010-03-16 Thread Bruno Melloni
I found that even though Throwable implements Serializable, it seems that CXF can't pass it. What is the recommended alternative?

ServiceConstructionException - need clues

2010-03-16 Thread Bruno Melloni
I have a client and service that used to work great. I must have accidentally changed something and now I get the exception below when the client tries to instantiate the client bean from the Spring context. I am using cxf 2.2.2. Any idea what this means? Client bean: http://myHost.myDomain:

RE: Service authentication credentials

2010-03-15 Thread Bruno Melloni
as simple as WS-S, you ought to get a complaint about missing security headers. 2) It sounds like you have a functional .NET implementation. Log the packets from that implementation and take a look at what's going in. Best, Nate -Original Message- From: Bruno Me

Service authentication credentials

2010-03-11 Thread Bruno Melloni
I am trying to access a Microsoft-developed service that requires authentication. Being Microsoft, they do not document anything at the web service level since they want you to use Visual Studio which creates a .NET proxy that is capable of using NTLM to supply the username/password to the und

RE: Spring/CXF is it thread-safe?

2010-02-02 Thread Bruno Melloni
...@apache.org] Sent: Thursday, January 21, 2010 1:56 PM To: users@cxf.apache.org Cc: Bruno Melloni Subject: Re: Spring/CXF is it thread-safe? Yea. That all looks correct. Dan On Wed January 20 2010 4:42:21 pm Bruno Melloni wrote: > Thank you Daniel, > > I was afraid there would

Increasing timeout for

2010-02-02 Thread Bruno Melloni
I am having trouble interpreting the available documentation on how to increase the client ReceiveTimeout. The information I could find on the web points to http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-sup (a dead link), and when searching on the cxf cwiki I found this

RE: Spring/CXF is it thread-safe?

2010-01-20 Thread Bruno Melloni
Pass 'client' to the threads. 4) The threads call the service methods (presumably CXF calls .requestContext() automatically as part of the service call): client.MyMethod(); Thanks, bruno -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Wednesday, January

Spring/CXF is it thread-safe?

2010-01-20 Thread Bruno Melloni
The approach of relying on Spring to get the CXF client object from the context is so convenient that I rarely think much about it. But I find myself needing to call the client from several concurrent threads and I am not sure but I believe that when I call context.getBean() I am retrieving a

RE: Increase timeout for a service method

2009-10-21 Thread Bruno Melloni
ssage- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Wednesday, October 21, 2009 11:50 AM To: users@cxf.apache.org Cc: Bruno Melloni Subject: Re: Increase timeout for a service method Which timeouts are you hitting?Client side timeouts or server side timeouts? On the server, are you

RE: Increase timeout for a service method

2009-10-21 Thread Bruno Melloni
sec response on all client side requests to services, and never taking longer than 20 seconds and that's only if I'm producing a dynamic PDF to open on the client side. Longer than that, and it's a good idea to try one of the above methods. R. Grimes _____

Increase timeout for a service method

2009-10-19 Thread Bruno Melloni
I have a service written in CXF, Spring and annotations - as in the 'Writing a service with Spring' of the documentation. Under unusual circumstances, one of the methods of the service can take a long time to run, so I need to increase the timeout. Logic would seem to indicate that when working

RE: jaxws:client config as bean, address as property?

2009-09-30 Thread Bruno Melloni
..@apache.org] Sent: Wednesday, September 30, 2009 12:42 PM To: users@cxf.apache.org Cc: Bruno Melloni Subject: Re: jaxws:client config as bean, address as property? On Tue September 29 2009 9:38:38 am Bruno Melloni wrote: > I would like to use Spring's PropertyOverrideConfigurer to set th

jaxws:client config as bean, address as property?

2009-09-29 Thread Bruno Melloni
I would like to use Spring's PropertyOverrideConfigurer to set the address property of the jaxws:client tag so that DEV/PROD properties are auto-detected. But address is not a regular bean property. Is there a way to specify the tag so that address can be treated as a bean property? b. P.S.:

RE: Annotation for Input-output parameter?

2009-09-25 Thread Bruno Melloni
ent: Thursday, September 24, 2009 1:33 PM To: users@cxf.apache.org Subject: Re: Annotation for Input-output parameter? Does MBWorkUnit extend javax.xml.ws.Holder? Andreas On Thu, Sep 24, 2009 at 18:46, Bruno Melloni wrote: > I am making a call like the one below, where mbWorkUnit 'sh

Annotation for Input-output parameter?

2009-09-24 Thread Bruno Melloni
I am making a call like the one below, where mbWorkUnit 'should be' an input-output parameter. The behavior that I observed is that data is passed in, but values set by the implementation are not returned. My guess is that I am missing an annotation. I tried to add 'mode="WebParam.Mode.INOUT'

RE: Accessing address in application.

2009-08-19 Thread Bruno Melloni
Trying again. Does anybody know how a client app can get the address URL of the being used? Thanks, b. -Original Message- From: Bruno Melloni [mailto:bruno.mell...@chickasaw.net] Sent: Tuesday, August 18, 2009 9:05 AM To: users@cxf.apache.org Subject: Accessing address in

Accessing address in application.

2009-08-18 Thread Bruno Melloni
If an application declares a client in the context like: http://myHost:8080/MyWebSvcApp/MySvc"; serviceClass="myPackage.MyInterface" /> In the application Java code I get an object of type MyInterface with the methods I want to call. Easy. Love it. I have an application that for failover use

RE: Code first with Spring: generating required or minOccurs on method parameters

2009-08-10 Thread Bruno Melloni
15 PM, Bruno Melloni wrote: > I might be hallucinating... because I thought I was using it in my code and > wasn't, but I think I saw annotations 'somewhere' to achieve both minOccurs > and nillable=false. > > I know it is not really an answer, but it might be somethin

RE: Code first with Spring: generating required or minOccurs on method parameters

2009-08-10 Thread Bruno Melloni
I might be hallucinating... because I thought I was using it in my code and wasn't, but I think I saw annotations 'somewhere' to achieve both minOccurs and nillable=false. I know it is not really an answer, but it might be something to check out while you wait for someone more knowledgeable t

RE: Errors while deploying Service on JBoss

2009-07-24 Thread Bruno Melloni
I have a similar situation. 1) Do you know why cxf would send Info/Trace messages to stderr? I thought the purpose of stderr is for errors, and stdout for all other output. If my understanding is correct (which of course is highly questionable), that would make jBoss' behavior correct. 2) My

RE: begginer - java version

2009-07-15 Thread Bruno Melloni
I recently started using CXF. I did the HelloWorld Spring HOWTO example (and a real web service too) using Java 6. b. -Original Message- From: Seba González [mailto:zadigsinl...@gmail.com] Sent: Wednesday, July 15, 2009 4:09 PM To: users@cxf.apache.org Subject: begginer - java version

Strange error messages

2009-07-15 Thread Bruno Melloni
I wrote an email web service and deployed it on both Tomcat 6 and jBoss EAP 4.3. It deploys and works fine on both servers. But... during deploy on jBoss I see the error messages at the bottom of the listing. Note that this does not seem to affect the ability to function. Does anybody have an

RE: How Do I Determine What Jars I Need

2009-07-14 Thread Bruno Melloni
Somebody correct me if I'm wrong, but I don't think CXF requires geronimo-javamail or any other geronimo component... it requires a component that satisfies the particular standard that the JAR provides - from your application server. For example, in the javamail case... I use the latest java

RE: Reading bean from cxf/Spring context file

2009-07-14 Thread Bruno Melloni
09 2:19 PM To: users@cxf.apache.org Subject: Re: Reading bean from cxf/Spring context file Bruno Melloni wrote: > The problem was the classpath - it includes WEB-INF/classes but not > WEB-INF. I ended up reading the bean from the CXF context file with > the following code: > > Applicati

RE: Reading bean from cxf/Spring context file

2009-07-14 Thread Bruno Melloni
ntext that was loaded by the ContextLoaderListener. If you want more details I'll need a better idea of what exactly you're trying to do... Ian Bruno Melloni wrote: > I think I am missing the point on something basic. Would somebody enlighten > me? > > I would like to rea

Reading bean from cxf/Spring context file

2009-07-14 Thread Bruno Melloni
I think I am missing the point on something basic. Would somebody enlighten me? I would like to read a custom bean that I added to the cxf/spring context file. What is the correct syntax for reading it? My configuration: a) In web.xml: contextConfigLocation /WEB-INF/applicationCo

Passing POJOs in contract last

2009-07-06 Thread Bruno Melloni
First, I am aware of the benefits of the 'contract first' approach. Still, at this time I must use contract last. Having said that... how do I pass a POJO as a parameter? I believe I need to define some 'JAXB binding' information 'somewhere' so that it can interpret the POJOs... but search as

RE: Help with 'Hello World' "Writing a service with Spring' please

2009-07-02 Thread Bruno Melloni
documentation error. From: Bruno Melloni Sent: Thursday, July 02, 2009 2:05 PM To: 'users@cxf.apache.org' Subject: Help with 'Hello World' "Writing a service with Spring' please I attempted to follow the How-To for writing a HelloWorld service with Spring. It is obviou

Help with 'Hello World' "Writing a service with Spring' please

2009-07-02 Thread Bruno Melloni
I attempted to follow the How-To for writing a HelloWorld service with Spring. It is obvious that once you figure out the secrets CXF makes writing services very easy. Unfortunately I a missing something because I get some strange uninformative error messages (shown at the bottom). I suspect

Did dependencies change for version 2.2.2?

2009-07-02 Thread Bruno Melloni
I was attempting to follow the "A simple JAX-WS service" How-To. Some JAR files seem to no longer be in the lib folder of the distribution. For example: jaxws-api-2.1.jar and stax-api-1.0.1.jar. 1) Are these JARs replaced by