Re: please help !

2011-03-01 Thread Aki Yoshida
Hi Emil, It looks like you are getting some SOAP fault from your remote service. You should check what fault was returned from the service (using the CXF's logging http://cxf.apache.org/docs/configuration.html or using some external network tool). Probably, your input data in your request message

Re: No DestinationFactory was found ...

2011-03-01 Thread Sergey Beryozkin
Hi I think this is a bug in the AbstractJAXRSFactoryBean, but I'd need to confirm with Sergey. At line 141, I see: if (transportId == null) { transportId = http://schemas.xmlsoap.org/wsdl/soap/http;; } which cannot be right. That should likely be the http transportId

Re: please help !

2011-03-01 Thread Emil Dombagolla
Thank you for this , i will try this and let you know. Emil On Tue, Mar 1, 2011 at 3:14 PM, Aki Yoshida sapa...@googlemail.com wrote: Hi Emil, It looks like you are getting some SOAP fault from your remote service. You should check what fault was returned from the service (using the CXF's

[ANN] Apache CXF version 2.3.3 released!

2011-03-01 Thread Daniel Kulp
The Apache CXF team is proud to announce the availability of the latest patch for the 2.3.x fixes branch: version 2.3.3 Apache CXF is an open source services framework. CXF helps you build and develop services using front end programming APIs, like JAX-WS and JAX-RS. These services can speak a

DestinationFactory with JAX-WS?

2011-03-01 Thread David Sills
Hi! I'm a new user of CXF (though a long-time veteran of Java and other WS implementations) and have to admit I find the documentation very confusing. Of course, it's easy to write confusing documentation if the people who write it know what they are doing (they don't realize the things their

Dynamic WSDL - Published Endpoint is relative to Schema Loc

2011-03-01 Thread jbradfor
All of our Endpoints must go through an ESB. We also would like to be able to use the Dynamic WSDL (?WSDL). Therefore, we set it up like this, where the published endpoint is the ESB path. !-- Simple JAXWS Frontend -- jaxws:endpoint id=LocationInformationServiceJAXWS

Re: Calling Interceptor chain directly

2011-03-01 Thread eaudet
Is it possible to use the default PhaseInterceptorChain? I mean after using the wsdl2java tool, I have a complete running client and server classes. To my understanding, it has all the interceptors and unmarshalling etc that I need. Can't I just create a main() method in a java class that will

Class {0} can not be instantiated due to security manager restrictions

2011-03-01 Thread Nishant Ranjan
Hi, I am new to CXF. I am trying to run a JAX-RS service using a resource class com.happenings.ws.AuthBean. All is fine when i start the server but then when i try to access the service through a browser, I get the following error. Class com.happenings.ws.AuthBean can not be instantiated

Re: Class {0} can not be instantiated due to security manager restrictions

2011-03-01 Thread Sergey Beryozkin
Hi Can you post a complete stack trace please ? thanks, Sergey On Tue, Mar 1, 2011 at 8:18 PM, Nishant Ranjan nishant_kaunve_ran...@yahoo.com wrote: Hi, I am new to CXF. I am trying to run a JAX-RS service using a resource class com.happenings.ws.AuthBean. All is fine when i start the

management-web missing in javadoc

2011-03-01 Thread Oliver Wulff
Hi there I haven't found the javadoc for the module management-web at: http://cxf.apache.org/javadoc/latest/ Thanks Oli

Re: Class {0} can not be instantiated due to security manager restrictions

2011-03-01 Thread Nishant Ranjan
Hi, The stack trace: Mar 1, 2011 9:04:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@89cf1e: startup date [Tue Mar 01 21:04:07 GMT 2011]; root of context hierarchy Mar 1, 2011 9:04:07 PM

JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread KARR, DAVID (ATTSI)
This isn't strictly a CXF question, but I figure people here would be doing JAXB deep dives. How do people deal with the need to specify types with length (and other) restrictions in the generated schema? I don't see a way to specify that in JAXB annotations. Perhaps the only reasonable way is

Re: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread jbradfor
We use SimpleTypes, range restrictions (which will not gen but will validate, if requested), and Enums for name/value pairs. -- View this message in context: http://cxf.547215.n5.nabble.com/JAXB-Any-way-to-incorporate-restrictions-into-annotations-tp3405878p3405887.html Sent from the cxf-user

RE: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread KARR, DAVID (ATTSI)
-Original Message- From: jbradfor [mailto:jbrad...@amfam.com] Sent: Tuesday, March 01, 2011 3:46 PM To: users@cxf.apache.org Subject: Re: JAXB: Any way to incorporate restrictions into annotations? We use SimpleTypes, range restrictions (which will not gen but will validate, if

RE: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Jason Chaffee
I can give an example, How do I do either of these with annotations: !-- Custom restriction for name -- xs:simpleType name=name xs:restriction base=xs:string xs:pattern value=[a-zA-Z0-9_\.][a-zA-Z0-9_\-\.]* / /xs:restriction /xs:simpleType OR a key !-- Custom key for

RE: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread KARR, DAVID (ATTSI)
-Original Message- From: Jason Chaffee [mailto:jchaf...@ebates.com] Sent: Tuesday, March 01, 2011 4:04 PM To: users@cxf.apache.org Subject: RE: JAXB: Any way to incorporate restrictions into annotations? I can give an example, How do I do either of these with annotations:

RE: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Jason Chaffee
The question is how to do these things with annotations. That is why you were given xsd examples because we know how to do them in the XSD. But in a code-first approach, you would want to specify these in the annotations and then generate the schema from it. That is the question, how to do

Re: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Daniel Kulp
On Tuesday 01 March 2011 7:27:16 PM Jason Chaffee wrote: The question is how to do these things with annotations. That is why you were given xsd examples because we know how to do them in the XSD. But in a code-first approach, you would want to specify these in the annotations and then

Re: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Jason Chaffee
This is what my understanding is as well. Was just really hoping soneone knew something I didn't. :) Jason On Mar 1, 2011, at 7:23 PM, Daniel Kulp dk...@apache.org wrote: On Tuesday 01 March 2011 7:27:16 PM Jason Chaffee wrote: The question is how to do these things with annotations.

Re: DestinationFactory with JAX-WS?

2011-03-01 Thread Daniel Kulp
I'm not 100% sure on this. I'd need to play around, but I THINK it would be something like: Bus bus = BusFactory.getThreadDefaultBus(); DestinationFactory df = bus.getExtension(DestinationFactoryManager.class) .getDestinationFactory(http://cxf.apache.org/transports/http;); That

Re: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Jason Chaffee
Jaxb needs a 3.0 spec that is basically a rewrite. The fact that it doesn't work with interfaces is beyond perplexing. Jason On Mar 1, 2011, at 8:01 PM, Jason Chaffee jchaf...@ebates.com wrote: This is what my understanding is as well. Was just really hoping soneone knew something I

Re: JAXB: Any way to incorporate restrictions into annotations?

2011-03-01 Thread Hannes Holtzhausen
Have a look at XMLBeans If you are looking for an XML binding technology that supports the full XSD spec but still provides a Java bean style API for accessing and generating the XML. This is also not a 100% code first approach, you need to start with an XSD to generate XMLBeans. But you can do a