marshaling issue with empty, xsi:nil=true arrays... ?

2007-09-18 Thread Brad Harper
I have a bean property which is a List that doesn't seem to be marshaling in correctly. When the array is empty in the soap request and xsi:nil=true, the List is being set with a single null item. Multiple items are passed in correctly. wsdl snippet: xs:element maxOccurs=unbounded minOccurs=0

Re: cxf-spring-transactions anybody get it working?

2007-08-07 Thread Brad Harper
can get a simple testcase. I'm not at all familiar with the spring transaction stuff.Actualy, if a testcase could be attached to CXF-874 for tracking purposes, that would be great. Thanks! Dan On Monday 06 August 2007 18:27, Brad Harper wrote: No. Neither work for me. On 8/6/07

Re: REST url quirk...

2007-08-03 Thread Brad Harper
for the problem) - Dan On 8/2/07, Brad Harper [EMAIL PROTECTED] wrote: I have several identically configured REST services working with one exception. When the method I call is getMediaType(s) - ( /rest/mediaTypes /rest/mediaType/{1} ), the get mediaTypes services returns the correct data

REST url quirk...

2007-08-02 Thread Brad Harper
I have several identically configured REST services working with one exception. When the method I call is getMediaType(s) - ( /rest/mediaTypes /rest/mediaType/{1} ), the get mediaTypes services returns the correct data. However, when I try to access a specific type by id /rest/mediaTypes/1, I

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
I've debugged this down far enough to see that the GetModel object is being interpreted correctly, but the id param is never bound to this object. Any thoughts? On 7/31/07, Brad Harper [EMAIL PROTECTED] wrote: My get (all) requests (/services/rest/productTypes) are working. They return xml

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
That worked actually. Unfortunately, I don't understand technically why -bh On 8/1/07, Mansour Raad [EMAIL PROTECTED] wrote: BTW.there might be an issue with itI did try it using the restful_http_binding sample and no go. Raised a JIRA On Aug 1, 2007, at 2:01 PM, Brad Harper

Re: Rest GET params coming in null...

2007-08-01 Thread Brad Harper
Is that done with an annotation? On 8/1/07, Mansour Raad [EMAIL PROTECTED] wrote: Just a shot in the dark herecould setting wrapped to false help ? Mansour :-) On Aug 1, 2007, at 11:49 AM, Brad Harper wrote: I've debugged this down far enough to see that the GetModel object

Re: Plain Old Xml over Http

2007-07-31 Thread Brad Harper
thx ray! On 7/31/07, Ray Krueger [EMAIL PROTECTED] wrote: OK the final tweaks were as follows... I added import resource=classpath:META-INF/cxf/cxf-extension-xml.xml/ I didn't have that and was getting the error... org.apache.cxf.BusException: No binding factory for namespace

org.apache.cxf.BusException: No binding factory for namespace http://cxf.apache.org/bindings/http registered.

2007-07-31 Thread Brad Harper
I know, I thought I was well beyond this type of exception. I'm trying to add RESTfulness to my currently deployed beans and the container is choking on startup. I'm importing the http bindings in the same manner as the others. Anyone see why this would fail? Config: import

Re: org.apache.cxf.BusException: No binding factory for namespace http://cxf.apache.org/bindings/http registered.

2007-07-31 Thread Brad Harper
Ok, bindingUri=http://cxf.apache.org/bindings/http; needs to be replaced with: bindingUri=http://apache.org/cxf/binding/http; My apologies if this had already been discussed. -bh On 7/31/07, Brad Harper [EMAIL PROTECTED] wrote: I know, I thought I was well beyond this type of exception

Re: Excluding attributes?

2007-07-31 Thread Brad Harper
Try adding @WebMethod(exclude = true) annotation to any method in your Impl that you don't want to expose in your WSDL. (from a post yesterday - I've not verified it) On 7/31/07, Brett Wooldridge [EMAIL PROTECTED] wrote: If I am doing Java first development, and I have an SEI like so: public

Rest GET params coming in null...

2007-07-31 Thread Brad Harper
My get (all) requests (/services/rest/productTypes) are working. They return xml like this... ns1:getProductTypesResponse ProductTypes descriptionPaper/description id10/id /ProductTypes ProductTypes descriptionCanvas/description id11/id /ProductTypes

Re: org.apache.cxf.interceptor.Fault: Unmarshalling Error : [Lcom.gdservices.service.catalogservice.TpFrame; is not known to this context

2007-07-30 Thread Brad Harper
more. Of course a test case would be welcome too :-) - Dan On 7/27/07, Brad Harper [EMAIL PROTECTED] wrote: The snapshot and adding @ResponseWrappers solved my service issues as long as I use a client other than CXF. I've testing utilities I can use for now. My main issue is when I

Re: WS client returning uninitialized objects

2007-07-27 Thread Brad Harper
Dan, I'm seeing the exact same behavior (values null when received by client) using the wsdl2java generated client and jax:ws endpoints. -bh On 7/27/07, Dan Diephouse [EMAIL PROTECTED] wrote: Hi Holger, I'm going to take a stab in the dark and say its because you're using the

Re: Complex Types contain all null values...

2007-07-27 Thread Brad Harper
returning uninitialized objects' but got no answer yet. -Ursprüngliche Nachricht- Von: Brad Harper [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juli 2007 17:01 An: cxf-user@incubator.apache.org Betreff: Complex Types contain all null values... Simple types are returning

org.apache.cxf.interceptor.Fault: Unmarshalling Error : [Lcom.gdservices.service.catalogservice.TpFrame; is not known to this context

2007-07-27 Thread Brad Harper
CXF:wsdl2java creates the client side version of this object... what am I missing so that it'll unmarshalled correctly?

Re: org.apache.cxf.interceptor.Fault: Unmarshalling Error : [Lcom.gdservices.service.catalogservice.TpFrame; is not known to this context

2007-07-27 Thread Brad Harper
help somebody out though. Thanks for your time. On 7/27/07, Daniel Kulp [EMAIL PROTECTED] wrote: On Friday 27 July 2007 11:36, Brad Harper wrote: CXF:wsdl2java creates the client side version of this object... what am I missing so that it'll unmarshalled correctly? This is probably also

Re: errors using HibernateDAOSupport and JAXB

2007-07-27 Thread Brad Harper
I've gotten it working with JAXB but not aegis. I'll try to plugin the aegis bean you specified and let you know what I find out. On 7/27/07, Jeremy Isikoff [EMAIL PROTECTED] wrote: Anybody successfully gotten spring cxf, spring and hibernate working? I can't seem to get the aegis databinding

Re: Dependency Injection in JAXWS endpoint

2007-07-26 Thread Brad Harper
Also, cfx:wsdl2java fails when the aspect is wired. Sorry If you guys already know this or If I've missed this topic in the list... just trying to help and get help. -b On 7/26/07, Brad Harper [EMAIL PROTECTED] wrote: When I remove my transaction advice: aop:config aop:advisor id

Re: org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader

2007-07-26 Thread Brad Harper
the client already exited before its request of PricingService just been got by the Server side. Willem. Brad Harper wrote: I've my services deployed using jax:ws/spring: jaxws:endpoint id=PricingService implementor=com.mycorp.service.thirdparty.PricingServiceImpl address

Re: Dependency Injection in JAXWS endpoint

2007-07-26 Thread Brad Harper
I've tried wiring like you've shown: bean id=TestServiceImpl class= com.mycorp.service.thirdparty.TestServiceImpl property name=daoFactory ref bean=hibernateDAOFactory/ /property /bean jaxws:endpoint id=testService implementor=#TestServiceImpl

org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader

2007-07-26 Thread Brad Harper
I've my services deployed using jax:ws/spring: jaxws:endpoint id=PricingService implementor=com.mycorp.service.thirdparty.PricingServiceImpl address=/PricingService / The wsdl looks correct. I've now generated client side code using cxf:wsdl2java and Im trying to run the client

Re: IncompatibleClassChangeError when running wsdl2java service client...

2007-07-26 Thread Brad Harper
and wsdl4j-1.6.1.jar in my case) are in classpath. Would you please cheack your classpath? Or tell me how you run cxf? Best regards Freeman Brad Harper wrote: seems similar to other reports relating XmlSchema-1.2.jar... Exception in thread main java.lang.IncompatibleClassChangeError

Re: JAXB Dependency Issue...

2007-07-25 Thread Brad Harper
Thanks. That's it. -bh On 7/23/07, Willem Jiang [EMAIL PROTECTED] wrote: You need to add the xml-resolver-1.2.jar into your class path. Willem. Brad Harper wrote: I'm attempting to integrate CXF with an existing Spring app and I'm bean getting instantiation errors on startup

JAXB Dependency Issue...

2007-07-23 Thread Brad Harper
I'm attempting to integrate CXF with an existing Spring app and I'm bean getting instantiation errors on startup... The culprit is org.apache.cxf.catalot.OASISCatalogManager which references org.apache.xml.resolver.CatalogManager (which is in the jaxb-xjc-2.0.jar). Getting a NoClassDefFound on