RE: Apache CXF for SOAP over HTTPS

2009-05-13 Thread Sean O'Callaghan
Hi Hez, You can take the code first approach, see the java_first_jaxws sample for an example of this. Seán. -Original Message- From: hezjing [mailto:hezj...@gmail.com] Sent: 13 May 2009 09:43 To: users@cxf.apache.org Subject: Apache CXF for SOAP over HTTPS Hi I have a project that

Re: Apache CXF for SOAP over HTTPS

2009-05-13 Thread Andrew Clegg
2009/5/13 hezjing hezj...@gmail.com: Hi I have a project that requires us to develop a client/server which send request/response (over HTTPS) in the following format: ... There is no WSDL. Can we use Apache CXF to develop this type of client/server? You can use Dispatch clients [1] and

Re: making domain objects available to the client

2009-05-13 Thread Tom
Yes. I found the schemagen in the JAXB tools, also available as an ANT task. And then one can use the schema to generate shell-classes. However, the tool is not quite working as expected; it keeps generating a file schema2.xsd and I want a different name :-) So that will require some more

Re: ServletContext in an inherited class

2009-05-13 Thread Sergey Beryozkin
Hi, it might be that a JAX-RS runtime does not introspect the parent classes yet, as far as the injection of contexts is concerned. The workaround is to add a method to the very top (concrete) subclass : @Context public void setServletContext(ServletContext jaxrsThreadLocalContext) {

Re: ServletContext in an inherited class

2009-05-13 Thread Ian Roberts
Tom wrote: I have copied the code from the CXF manual to get access to the ServletContext of either the SOAP or REST call and it works ok. However, I naturally have more that one Service to implement, so I wanted to move this code to an abstract parent class. When the code is there, only the

Re: ServletContext in an inherited class

2009-05-13 Thread Tom
In meantime, I will work on ensuring contexts can be injected into super class fields directly... That would be great, thanks! Tom

Re: ServletContext in an inherited class

2009-05-13 Thread Tom
I have copied the code from the CXF manual to get access to the ServletContext of either the SOAP or REST call and it works ok. However, I naturally have more that one Service to implement, so I wanted to move this code to an abstract parent class. When the code is there, only the SOAP resource

SAMLTokenSigned configuration problem

2009-05-13 Thread Kid_79
Hi all, I'm using a CXF with wss4j and I'm trying to run an example with SAMLTokenSigned example. In org.apache.ws.security.transform.STRTransform class, the enginePerformTransform method executes lookup(thisDoc), but in my app it returns null. I modify WSDocInfoStore class (that it contains a

Re: JAXRS outFaultInterceptors

2009-05-13 Thread Sergey Beryozkin
Hi, What exactly is not working when registering proviers programmatically ? Are exception mappers not invoked ? I've added a test which tries to follow your example pretty closely :

RE: @Resource declared in impl class not getting populated

2009-05-13 Thread Ron Grimes
Dan, What do you mean that Spring code explicitly does NOT process any WebServiceContext resources via the @Resource annotation? Maybe I'm not getting what you're saying, but I explicitly do use the @Resource annotation to grab the WebServiceContext for me. ApplicationContext.xml: bean

CXF and Attachments

2009-05-13 Thread Kid_79
Hi all, how can I get an example with CXF. I find on internet but I don't try nothing. Can you help me. bye -- View this message in context: http://www.nabble.com/CXF-and-Attachments-tp23523555p23523555.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: @Resource declared in impl class not getting populated

2009-05-13 Thread Daniel Kulp
On Wed May 13 2009 10:45:47 am Ron Grimes wrote: Dan, What do you mean that Spring code explicitly does NOT process any WebServiceContext resources via the @Resource annotation? Maybe I'm not getting what you're saying, but I explicitly do use the @Resource annotation to grab the

Re: @Resource declared in impl class not getting populated

2009-05-13 Thread Jeff Walker
So, you guys have totally lost me. But, I have managed to get the @Resource WebServiceContext populated by not doing a silly thing, which I will now gleefully describe to you. In my applicationContext.xml, I had declared a JAX-RS service to have the same implementation class as my JAX-WS service.

RE: @Resource declared in impl class not getting populated

2009-05-13 Thread Ron Grimes
Ok, got it. I'm only using the org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcess or. Plus, my @Resource references the bean id explicitly. So, those might be the differences. Ron -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Wednesday, May

Re: The SOAP action specified on the message, '', does not match the HTTP SOAP Action

2009-05-13 Thread Daniel Kulp
It looks like you don't have ws-addressing turned on. If you turn on ws- addressing, then the header should have the action and other addressing headers added to it. The WSDL you pointed to actually has a WS-SecurityPolicy policy fragment in it. Thus, if you use CXF 2.2.x and add the

[ANN] Apache CXF dOSGi 1.0 released

2009-05-13 Thread Eoghan Glynn
The Apache CXF dOSGi team is proud to announce the availability of our first full release, 1.0. The dOSGi subproject of CXF provides the Reference Implementation of the Distribution Software (DSW) component of the Distributed OSGi Specification[1]. Download information may be found here[2] The

Re: CXF and Attachments

2009-05-13 Thread Glen Mazza
http://www.jroller.com/gmazza/entry/using_mtom_and_apache_fop ? (MTOM, not SwA). Kid_79 wrote: Hi all, how can I get an example with CXF. I find on internet but I don't try nothing. Can you help me. bye -- View this message in context:

Issues with CXF 2.2.1 and wsdl2java

2009-05-13 Thread Sven Haiges
Hi all, I am trying to create a client for this WSDL: wsdl2java https://api-test.yieldmanager.com/api-1.31/contact.php?wsdl The command exits with this message: May 13, 2009 12:04:15 PM org.apache.cxf.transport.https.SSLUtils getCiphersuites INFO: The cipher suites have not been configured,

Re: Issues with CXF 2.2.1 and wsdl2java

2009-05-13 Thread Glen Mazza
For older RPC/encoded web services, you'll need to use Axis 1.x or SAAJ w/Metro or CXF: http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services wsdl2java won't work. Glen Sven Haiges-3 wrote: WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0 -- View this

params are null when read - xmlns not included for params in SOAP message

2009-05-13 Thread justinm
My (cxf) webservice can be called from some clients but not from others. The webservice is created by something like: MyConfigServiceImpl configServiceImpl = new MyConfigServiceImpl(); JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();

Re: CXF 2.2 on Jboss 4.2.2GA

2009-05-13 Thread Daniel Kulp
On Tue May 12 2009 5:14:13 pm Bruno Ledesma wrote: Sorry, JBoss is using Spring 2.07 (wrong info) I just ran the CXF trunk (2.2.x) tests with Spring 2.0.7 and everything passed. Thus, you should be able to just use the Spring 2.0.7 stuff that JBoss ships. Dan All CXF versions that i've

Re: The SOAP action specified on the message, '', does not match the HTTP SOAP Action

2009-05-13 Thread Niels Bo
Thanks! That solved the problem. Niels dkulp wrote: It looks like you don't have ws-addressing turned on. If you turn on ws- addressing, then the header should have the action and other addressing headers added to it. The WSDL you pointed to actually has a WS-SecurityPolicy policy

What is the cxf 2.2.2 target release date?

2009-05-13 Thread bharath thippireddy
Since we need to pull in some bug fixes from CXF 2.2.2 ,can you please let me know what is the targeted release data?

Thrown by JAXB : Property Value is already defined

2009-05-13 Thread Niels Bo
Hi I am getting an error generating a client for this wsdl: http://api.rkd.reuters.com/schemas/wsdl/SignificantDevelopments_1_HttpAndRKDToken.wsdl [INFO] Thrown by JAXB : Property Value is already defined. Use lt;jaxb:proper ty to resolve this conflict. at line 14 column 33 of schema

Re: CXF 2.2 on Jboss 4.2.2GA

2009-05-13 Thread Bruno Ledesma
Thanks a lot Daniel! After your tests , there are 2 possibilities: 1) CXF its using the Spring 2.5.6 from liferay ( i dont really think this can cause that exception that i posted) 2) The imcompatibility is with another CXF version... My CXF version its not 2.2.x, its a older one, i´ve tested

Re: Thrown by JAXB : Property Value is already defined

2009-05-13 Thread Daniel Kulp
On Wed May 13 2009 4:39:49 pm Niels Bo wrote: Hi I am getting an error generating a client for this wsdl: http://api.rkd.reuters.com/schemas/wsdl/SignificantDevelopments_1_HttpAndRK DToken.wsdl [INFO] Thrown by JAXB : Property Value is already defined. Use lt;jaxb:proper ty to resolve this

@WebServiceRef with Spring and CXF

2009-05-13 Thread Marc Logemann
Hi, has anyone experiences with @WebServiceRef for JAX-WS client development? When using this annotation, my application wont start anymore. Tomcat just hangs without giving much infos. In fact i have not seen any info at all. Of course i could go without using WebServiceRef, but i