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

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

RE: Service authentication credentials

2010-04-12 Thread Bruno Melloni
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 authentication should be trivial. But I can't seem to find the right documentation

RE: Service authentication credentials

2010-04-12 Thread Bruno Melloni
- 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 little information about why. My

RE: Service authentication credentials

2010-04-08 Thread Bruno Melloni
: 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-including-ssl-support.html The main suggestion

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: jaxws:client

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?

RE: Service authentication credentials

2010-03-15 Thread Bruno Melloni
) 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 Melloni [mailto:bruno.mell...@chickasaw.net] Sent: Thursday, March 11, 2010 9:20 AM To: 'users

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

Increasing timeout for jaxws:client

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

RE: Spring/CXF jaxws:client 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 jaxws:client 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

Spring/CXF jaxws:client 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

RE: Spring/CXF jaxws:client is it thread-safe?

2010-01-20 Thread Bruno Melloni
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 20, 2010 2:58 PM To: users@cxf.apache.org Cc: Bruno Melloni Subject

RE: Increase timeout for a service method

2009-10-21 Thread Bruno Melloni
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 From: Bruno Melloni

RE: Increase timeout for a service method

2009-10-21 Thread Bruno Melloni
- 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 using

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

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.

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 jaxws:client 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 jaxws:client 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

Accessing jaxws:client address in application.

2009-08-18 Thread Bruno Melloni
If an application declares a client in the context like: jaxws:client address=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

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

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

2009-08-10 Thread Bruno Melloni
, Bruno Melloni bruno.mell...@chickasaw.netwrote: 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

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)

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

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

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: context-param

RE: Reading bean from cxf/Spring context file

2009-07-14 Thread Bruno Melloni
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 read a custom bean that I added to the cxf/spring context

RE: Reading bean from cxf/Spring context file

2009-07-14 Thread Bruno Melloni
] Sent: Tuesday, July 14, 2009 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

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

Did dependencies change for version 2.2.2?

2009-07-02 Thread Bruno Melloni
I was attempting to follow the A simple JAX-WS servicehttp://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html 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

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

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

2009-07-02 Thread Bruno Melloni
that 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 obvious that once you figure out