Re: REST problems

2008-05-21 Thread Matthew Pocock
By including axiom-impl as a dependency I have got past this, but now am getting a new excepton about org.apache.abdera.i18n.text.io.FilteredCharReader. I am confused. Any ideas? Matthew SEVERE: Servlet.service() for servlet CXFServlet threw exception java.lang.ClassNotFoundException: org.apa

Re: WSDL2Java error

2008-05-21 Thread Daniel Kulp
This is a one-line fix in the cxf code to fix this(another NPE guard). That said, the Sun RI (Metro) cannot generate code with it either. It spits out: [ERROR] abstract operation "submitRawBidSet" binding, part "rawBidSet_attachment" has multiple binding. line 50 of file:/Users/dkulp/Dow

Re: WSDL2Java error

2008-05-21 Thread jim ma
Hi Yanping, I validated this wsdl and it looks like an issue in cxf wsdl2java tool. Could you please fill a jira issue for it ? Cheers Jim On Thu, May 22, 2008 at 6:10 AM, Liao, Yanping (IT) < [EMAIL PROTECTED]> wrote: > Hello, > > We are trying to run wsdl2java for the submitRawBidSet.wsdl fil

RE: CXF 2.1 incompatible with jaxb-impl 2.1.6?

2008-05-21 Thread Glen Mazza
Link [3] within [1] below is where JAXB bugs can be entered. You might want to try Metro to determine if this is a CXF or a JAXB bug, if the bug occurs also with Metro that would indicate the latter. The Maven build file here[2] allows one to generate SOAP Clients/Web Service Providers with Metro

Re: exception handling in JAX -WS. guide tutorial example...

2008-05-21 Thread Glen Mazza
Hi Mohammad. This example[1] is wsdl-first (I don't have anything for java-first) but it shows two major types of exceptions: (a) generic SOAPFaultExceptions (see Step #6) and specific declared wsdl:faults (See Step #4) HTH, Glen [1] http://www.jroller.com/gmazza/date/20080308 2008-05-21 Moham

WSDL2Java error

2008-05-21 Thread Liao, Yanping (IT)
Hello, We are trying to run wsdl2java for the submitRawBidSet.wsdl file contained in http://www.caiso.com/1f5e/1f5ef31f6a0f0.zip, however we kept run into errors. Please help check out to see if I am doing anything wrong.. Thanks, Yanping wsdl2java -client -verbose submitRawBidSet.wsdl

REST problems

2008-05-21 Thread Matthew Pocock
Hi, I've had a go at writing a REST service and client using CXF. It's not gone smoothly. I'm using these dependencies: org.apache.cxf cxf-rt-frontend-jaxrs 2.1 org.apache.cxf cxf-rt-transports-http 2.1

Re: MTOM WSDL For Gsoap and CXF

2008-05-21 Thread Daniel Kulp
On May 20, 2008, at 4:30 PM, GlennS wrote: Unforunately, all the Java tools I've run across do not understand this (or do not realize this request/response uses MTOM). In order to get the Java WSDL parsers to correctly interpret this WSDL file I have to modify the type to: contain

Re: MTOM WSDL For Gsoap and CXF

2008-05-21 Thread Benson Margulies
Could you possibly attach a complete test case to a JIRA, C++ or C source and all? I wrote code to make Aegis aware of the xmime:content-type stuff, but I had nothing to test it against, since (as you've noticed) the Java world is not very interested in this. I'd be willing to try to set this up a

RE: CXF 2.1 incompatible with jaxb-impl 2.1.6?

2008-05-21 Thread Pieper, Aaron (SAIC)
I was able to create a small sample which demonstrates the bug. I've submitted it into JIRA. https://issues.apache.org/jira/browse/CXF-1602 It only happens if you have multiple schema types mapped to the same java type. It may be a bug with jaxb-impl and not CXF, I don't know enough about the JAX

Re: Problems with schema-validation-enabled

2008-05-21 Thread Benson Margulies
Dan's email on another subject leads me to ask you to check that you have a consistent set of CXF jars all in the same classloader. On Tue, May 20, 2008 at 8:13 AM, Nikolaj A. <[EMAIL PROTECTED]> wrote: > > Hmm, that's a very good question. > > If I eliminate the AOP proxy stuff below (the > quota

salesforce.com wsdl (was: Is cxf no tcompatible with XML beans)

2008-05-21 Thread Daniel Kulp
OK. This is actually a code generations problem: http://issues.apache.org/jira/browse/CXF-1600 I created a salesforce.com developer account for myself today and played with the wsdl a bit. I downloaded their "jaxws 2.1" sample pack thing and modified their QuickStart client to work with

exception handling in JAX -WS. guide tutorial example...

2008-05-21 Thread Mohammad Shamsi
hi friends, im looking for examples and guide in exception handling in JAX WS. please help to find some resource. -- sincerely yours M. H. Shamsi

Re: Is cxf no tcompatible with XML beans

2008-05-21 Thread Gaƫl LAZZARI
Hi Daniel, thanks for your help ! Yes, the error was very different. I actually use SOAP header in my outbound Messages. The NullPointerException was my fault, but when I fixed it, the HolderInInterceptor throw a IndexOutOfBoundsException when calling the MessageContentsList.getContentsList(message

RE: Problem with schema validation (JAX-WS & JAXB)

2008-05-21 Thread jfougere
Hi Aaron, thanks for your answer. I have several XSD's but there is no cyclic reference. In fact the first one import the second one who itself incude the third one. (The third one does not include nether import another xsd). Do you have another idea for the cause of this issue ? When I am doing