Re: Really the Real One -- CXF 2.1 and REST Annotation

2008-06-02 Thread Coder One
> If you'd like to reuse existing types like GetMsgReq > then the only way for them be used at the moment as holders > of the URI/Query parameters is for type like GetMsgReq to > either have a constructor with String arg or a static > valueOf(String) method. What would be the format of the Strin

Re: Any book about CXF?

2008-06-02 Thread Willem Jiang
Please go through the CXF wiki [1]. I also wrote a Blog[2] which talks about CXF Spring configuration in Chinese, please check it out. [1] http://cwiki.apache.org/CXF/ [2] http://jnn.javaeye.com/blog/120186 Willem 张伟 wrote: > Hi,Willem Jiang > > I go to this google group about CXF , and it's rea

Re: Property Placeholder configuration for jms:destinations

2008-06-02 Thread Jason Dwyer
Thanks Daniel, this was pretty much the conclusion that we'd come to as well. cheers, j On Mon, 2008-06-02 at 16:28 -0400, Daniel Kulp wrote: > Apparently not supported... :-( > > I've been googling a bit and discovered that it's pretty much > impossible to do this from custom namespace Be

Re: Any book about CXF?

2008-06-02 Thread 张伟
Hi,Willem Jiang I go to this google group about CXF , and it's really helpful.But i want to learn CXF systemic. And i want to know why CXF have the reference like Spring's reference ? It's will helpful for the new. 2008/6/2, Willem Jiang <[EMAIL PROTECTED]>: > > Hi Zhang Wei, > > AFAIK, current

Unable to get CXF to honor http-conf:client ReceiveTimeout

2008-06-02 Thread Christopher . Mathrusse
I'm attempting to increase the connection receive timeout of my client but I am having no luck. I've followed the documentation by adding the following to my spring configuration: But my client still throws a timeout exception 60 seconds after the service method is invoked. Is there

Re: WSDLToJava Error: Thrown by JAXB

2008-06-02 Thread Christopher . Mathrusse
Some library was out of sync. I slowly went through and updated all the libraries from CXF, relacing those that were contained within my project and the code generated without errors now. Chris Mathrusse [EMAIL PROTECTED] Sybase, Inc One Sybase Drive Dublin, CA 94568 (925) 236-5553 [EMAIL PRO

Re: how to send an attribute of interceptor to web-services operation?

2008-06-02 Thread bgbraga
good =) but wsContext.getUserPrincipal() is null :/ I have to set UserPrincipal ? thanks! dkulp wrote: > > > In a JAX-WS service, if you add a field like: > @Resource > WebServiceContext context; > > The context will get injected into your service. From there, you can > query and proper

Re: WSDLToJava Error: Thrown by JAXB

2008-06-02 Thread Christopher . Mathrusse
It appears that this is not caused by my binding file. When I remove my binding file from the build, meaning I don't tell WSDLToJava about my binding file, I still receive the error. Do I have a library out of sync somewhere? Chris Mathrusse [EMAIL PROTECTED] Sybase, Inc One Sybase Drive Dublin

WSDLToJava Error: Thrown by JAXB

2008-06-02 Thread Christopher . Mathrusse
I'm attempting to upgrade from the CXF incubator project to CXF 2.1. I've managed to get my server up and running with the web services exposed successfully, but when I attempt to generate the client files using WSDLToJava I received the following exception: [java] WSDLToJava Error: Thrown

Re: Property Placeholder configuration for jms:destinations

2008-06-02 Thread Daniel Kulp
Apparently not supported... :-( I've been googling a bit and discovered that it's pretty much impossible to do this from custom namespace BeanDefintionParsers that process the full DOM element themselves. In our case, we feed the DOM element into JAXB to have it parse it into the JAXB

Re: In Eclipse/MyEclipse getting "the contents of the element type 'beans' must match 'description?,(import|alias|bean)*'" while editting CXF.xml file

2008-06-02 Thread juan . velez
That worked!! Thanks "Mick Knutson" <[EMAIL PROTECTED]> 02-06-08 01:14 PM Please respond to users@cxf.apache.org To users@cxf.apache.org cc Subject Re: In Eclipse/MyEclipse getting "the contents of the element type 'beans' must match 'description?,(import|alias|bean)*'" while editting CXF.

Re: In Eclipse/MyEclipse getting "the contents of the element type 'beans' must match 'description?,(import|alias|bean)*'" while editting CXF.xml file

2008-06-02 Thread Mick Knutson
This is the beginning of my cxf applicationContext: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:context="http://www.springframework.org/schema/context"; xmlns:cxf="http://cxf.apache.org/core"; xmlns:jaxws=

In Eclipse/MyEclipse getting "the contents of the element type 'beans' must match 'description?,(import|alias|bean)*'" while editting CXF.xml file

2008-06-02 Thread juan . velez
I am trying to edit a beans.xml file using Eclipse/MyEclipse and I get the Severity and DescriptionPathResourceLocation Creation TimeId Attribute "xmlns:jaxws" must be declared for element type "beans". MMI CXF/webapps/mmi/WEB-INF application-cxf.xml line 8 1212436

Re: NPE while running 'ws_addressing' sample with Servlet Transport

2008-06-02 Thread Daniel Kulp
Yep. I'm able to reproduce this and it's a very simple fix. This will get into 2.0.7/2.1.1. Thanks! Dan On May 30, 2008, at 6:31 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] > wrote: Hello, We're trying tu run the ws_addressing sample ("hello_world_addr.wsdl") provided in cxf-2.0.6 i

Re: how to send an attribute of interceptor to web-services operation?

2008-06-02 Thread Daniel Kulp
In a JAX-WS service, if you add a field like: @Resource WebServiceContext context; The context will get injected into your service. From there, you can query and properties that you set on the message object in an interceptor. Dan On May 30, 2008, at 9:38 PM, bgbraga wrote: Hi, I n

Re: Upgrade to 2.1 issue

2008-06-02 Thread Daniel Kulp
Richard, Any chance you could try with the latest 2.1.1-SNAPSHOT. In 2.1, we found a bug where some of the jaxb customizations were not being applied to the right nodes, and in some cases, not being applied at all or being applied to multiple places. I've tried to fix them all, but I

Re: NullPointer on service invocation with optional element not present

2008-06-02 Thread Daniel Kulp
Thanks for the testcase. This issue seems to be fixed with the 2.0.7- SNAPSHOT and the 2.1.1-SNAPSHOT. Dan On Jun 2, 2008, at 10:47 AM, nicolas de loof wrote: I've attached to CXF1616 a demo maven project with my (simplified) WSDL to reproduce the bug. When ASM dependency is included

Re: NullPointer on service invocation with optional element not present

2008-06-02 Thread nicolas de loof
I've attached to CXF1616 a demo maven project with my (simplified) WSDL to reproduce the bug. When ASM dependency is included, the requet fails with NullPointerException Without this dependency, the request pass. 2008/5/29 Daniel Kulp <[EMAIL PROTECTED]>: > > asm 2.2.3 is our "preferred" versio

Re: client generation cxf vs. axis2

2008-06-02 Thread Daniel Kulp
For the most part, you can probably just pass "null" as the wsdl location. After getting the port, you would need to do: ((BindingProvider )port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_URL, endpointURL); to set the address that it hits. With JAXWS, the target address is

Re: Any book about CXF?

2008-06-02 Thread Willem Jiang
Hi Zhang Wei, AFAIK, current we have no CXF book here. But we have a Chinese google group[1] which talks about how to use CXF. Please check it out. [1]http://groups.google.com/group/cxf-zh?hl=zh-CN Willem 张伟 wrote: hi, I want to know ,is there any book about CXF?or does anybody plan to

CXF REST inside Tomcat

2008-06-02 Thread Rafael Pereira Nunes
Hi, Is there some way to run REST issues of CXF with my web container without that Spring stuffs(xml, configurations, etc)? I wouldn't like to run the Web Server with the JAXRSServerFactoryBean. Thanks, Rafael

Re: client generation cxf vs. axis2

2008-06-02 Thread Vassilis Virvilis
On Friday 30 May 2008, Abid Hussain wrote: > Hi again, > > > I don't want to feed a flamewar but if we are in confession mode I must > > say my experience is the direct opposite from yours... > Neither do I... just wanted to share my experience. > > > On the other hand running the wsdl2java step

Any book about CXF?

2008-06-02 Thread 张伟
hi, I want to know ,is there any book about CXF?or does anybody plan to write it? BTW,my english is poor, sorry :=)

Re: client generation cxf vs. axis2

2008-06-02 Thread Abid Hussain
Hi, Benson Margulies schrieb: Abid, Most of us use the CXF JaxWsServiceFactoryBean, which does not require the WSDL to be in classpath. I don't know if there's a way to use the generated JAX-WS-specified classes to the same effect. I suppose JaxWsServiceFactoryBean is not what Daniel Kulp mean

Re: client generation cxf vs. axis2

2008-06-02 Thread Benson Margulies
Abid, Most of us use the CXF JaxWsServiceFactoryBean, which does not require the WSDL to be in classpath. I don't know if there's a way to use the generated JAX-WS-specified classes to the same effect. --benson On Mon, Jun 2, 2008 at 5:23 AM, Abid Hussain <[EMAIL PROTECTED]> wrote: > Hi again

AW: help with using SAML

2008-06-02 Thread Tezcan.Dilshener.extern
Hi Colm, Thanks for your answer but when I look at the latest WSS4J-1.5.3.jar file, I see that the saml.properties file also contains issuerClass as WSSSAMLIssuerImpl !!! Are you sure that I should change it? Or is there a way to override this properties file without tempering with the jar? Che

Re: client generation cxf vs. axis2

2008-06-02 Thread Abid Hussain
Hi again, first of all, thanks for the comments to my posting. Considering most people responded that in their eyes it's even easier building a client with CXF compared to Axis2 I'll take another try with CXF... Daniel Kulp schrieb: - No wsdl-file needed after you generated the code using W