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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
CXF:wsdl2java creates the client side version of this object... what am I
missing so that it'll unmarshalled correctly?
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
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
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
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
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
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
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
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
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
25 matches
Mail list logo