Dispatch Client + JaxB

2007-10-30 Thread tirtza
I created a dispatch client since I am invoking a service that returns the soap message as rpc/encoded. I am using PAYLOAD mode since I want a JaxB object returned. My client generates this exception org.apache.cxf.interceptor.Fault: Exception occurred while marshalling Dispatch object to stream

endpoint rewriting

2007-10-30 Thread Christian Vest Hansen
I deploy a CXF web service to a cluster that sits behind a content switch. We have HTTPS on the content switch for security, but internally in the cluster we use plain HTTP for speed. Now, CXF has a habit of rewriting my carefully crafted endpoint URLs in my WSDL, thus reporting plain HTTP

Re: Dispatch Client + JaxB

2007-10-30 Thread tirtza
I see the problem- I was passing JAXBContext.class instead of a JAXBContext object. My current problem is when using the dispatch method, if the service returns a bad response such as a 500 instead of a SoapFaultException being thrown I get an Unmarshalling Error since it could not create the

Re: endpoint rewriting

2007-10-30 Thread Willem2
Now , CXFServlet always updates the endpoint's address with the request url. You can fill a JIRA[1] with your wishes. [1]http://issues.apache.org/jira/browse/CXF Willem. Christian Vest Hansen wrote: I deploy a CXF web service to a cluster that sits behind a content switch. We have HTTPS

Host-independent WSDL2JAVA?

2007-10-30 Thread [EMAIL PROTECTED]
Hi all, We have an interesting problem, and I want to see if anyone has a solution. We'd like to be able to run WSDL2JAVA once to create a client, and then be able to dynamically change the endpoint of the service that the client connects to, so that we can run the same code base on our

RE: Simple/Aegis model to be supported in the long run?

2007-10-30 Thread Benson Margulies
I'm unaware of any plan to drop anything. Some parts of Aegis, however, get more attention than others. The parts of Aegis that seem pretty hard to distinguish from JAXB, in particular. Could you comment on why you prefer Aegis to JAXB? Do you share my occasional dislike of snails in your code

spring dependency version

2007-10-30 Thread Jacob Marcus
Hi all, It appears that CXF 2.0.1 incubator uses spring 2.0.4 by default. Does CXF work with a lower version of spring like 2.0.1? Thanks, jacob

Server returned HTTP response code: 411

2007-10-30 Thread Basharaj
I am trying to write a cxf java client that consumes a PERL webservice. I am getting the following error every time I try to send a message: Server returned HTTP response code: 411 for URL (Full stack trace is at the end of this message). I understand that this might be caused by Authochunking

RE: form attribute on xsd:element versus jaxb

2007-10-30 Thread Benson Margulies
I don't see how the @XmlElement annotation can do the job. At least in the version of JAXB we have in 2.0.3, @XmlElement can't control the form, only the namespace. -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 3:10 PM To:

Re: form attribute on xsd:element versus jaxb

2007-10-30 Thread Daniel Kulp
On Tuesday 30 October 2007, Benson Margulies wrote: I don't see how the @XmlElement annotation can do the job. At least in the version of JAXB we have in 2.0.3, @XmlElement can't control the form, only the namespace. That's kind of the point.If @XmlElement is not there or if the namespace

RE: Simple/Aegis model to be supported in the long run?

2007-10-30 Thread Brian.Horblit
Not dropping anything sounds good to me. While I've used JAXB and JibX, my buddy over here is the one who looked at Aegis a while back when we first checked out Xfire and he liked what he saw. He is on vacation so I can't give you details on that one at this time. Well, other than annotations,

Re: how clients handle changing wsdls

2007-10-30 Thread Daniel Kulp
I just committed a fix for this on trunk. It logs a warning for each unavailable operation, then removes the operations from the ServiceModel so they won't be invokable. Dan On Monday 29 October 2007, Daniel Kulp wrote: There's a JIRA logged someplace about this:

RE: Simple/Aegis model to be supported in the long run?

2007-10-30 Thread Benson Margulies
I think this is a valid discussion on the list, and in fact I hope that other users chime in. My logic goes like this: I/we have a ton of code that is shared between the web service and other uses. So long as we and our customers are using Java 1.5, we don't want to lumber them with classpath

Re: Dispatch Client + JaxB

2007-10-30 Thread Glen Mazza
Hmmm...can you actually use JAXBContext with rpc/encoded? I would have guessed no (and hence you would be limited to the other two Dispatch options--either Sources or SOAPMessages), because JAX-WS is not defined with respect to rpc/encoded web services, only rpc/lit or doc/lit. Glen Am

Re: endpoint rewriting

2007-10-30 Thread Christian Vest Hansen
It's a bit late over here so I can't test this right now, but I suppose that the endpointName and address attributes of the jaxws:endpoint element as listed here: http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html are exactly what I want, provided that cxf honors those values and put them

Re: endpoint rewriting

2007-10-30 Thread Willem Jiang
Hi Christian, NO , you can't specify a full URL address instead of the related path for the endpoint which you want to publish with the Servlet transport. Because CXFServlet can't know your Web container's listen port and related context, so it alway update the endpoint's address with the

Re: undocumented configuration with jetty

2007-10-30 Thread Miguel De Anda
OMG! I just make some progress... I noticed that it was missing a library. One of our guys here changed the maven pom b/c it caused some conflicts with other libraries we use (for the record, I hate maven). Anyway, I got the neethi jar and it works now. Thanks, and sorry that the problem