Re: Adding headers to soap request?

2008-04-11 Thread Tim Perrett
Cheers Dan - your a star :-) On 11 Apr 2008, at 17:12, Daniel Kulp wrote: OK. I'm sick of answering this. :-) Added to the FAQ: http://cwiki.apache.org/confluence/display/CXF/FAQ#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F Dan

Re: Adding headers to soap request?

2008-04-11 Thread Daniel Kulp
OK. I'm sick of answering this. :-) Added to the FAQ: http://cwiki.apache.org/confluence/display/CXF/FAQ#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F Dan On Friday 11 April 2008, Tim Perrett wrote: > Hey chaps, > > Is there a way to add headers to the soap request inside the CXF > se

Re: Adding headers to soap request

2007-09-11 Thread James Mao
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 9:22 PM To: cxf-user@incubator.apache.org Subject: Re: Adding headers to soap request Gamble, Wesley (WG10) wrote: What is the -exsh flag on wsdl2java supposed to do for you? What does "Enables or disables processing of

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
Ok, the bug is submitted with the problematic WSDL attached. CXF-993. Back to staring at my SSL problem and hoping it will somehow fix itself. On 9/11/07, James Mao <[EMAIL PROTECTED]> wrote: > > Great, That's definitely helpful. > > Thanks Ryan, > > James > > > > Sure, I'll see if I can somehow

RE: Adding headers to soap request

2007-09-11 Thread Gamble, Wesley \(WG10\)
Subject: Re: Adding headers to soap request Gamble, Wesley (WG10) wrote: > What is the -exsh flag on wsdl2java supposed to do for you? What does > "Enables or disables processing of extended soap header message > binding." mean? How would I know the difference between a regular and

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
with 2.0.1, I can give you a simple wsdl that fails without the exsh option on. I'll go fill out the bug report for you real quick. On 9/11/07, James Mao <[EMAIL PROTECTED]> wrote: > > We have not finally announce the release of 2.0.2, > The CXF 2.1 is just begin, and we will migrate the jaxws ap

Re: Adding headers to soap request

2007-09-11 Thread James Mao
We have not finally announce the release of 2.0.2, The CXF 2.1 is just begin, and we will migrate the jaxws api and jaxb versions to 2.1, So, I would say there'll have big changes in CXF2.1, I would suggest you stick to 2.0.2 I hope you can get the test case done, so I can fix it for you. Rega

Re: Adding headers to soap request

2007-09-11 Thread Willem Jiang
Hi Ryan, We are just voting 2.0.2 in the cxf-dev, you can get staged kit from [1] [1]http://people.apache.org/~dkulp/stage_cxf/2.0.2-incubator-take1/ Willem. Ryan Moquin wrote: No problem. Do you have any idea how stable 2.1 is? I notice that my issue with the IndexOutOfBounds with the one

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
No problem. Do you have any idea how stable 2.1 is? I notice that my issue with the IndexOutOfBounds with the one Interceptor doesn't happen on 2.1 but does on 2.0.1 (so somehow it have been fixed, directly or indirectly). Is it helpful to know if it's a problem on 2.1? Is it relatively safe to

Re: Adding headers to soap request

2007-09-11 Thread James Mao
Great, That's definitely helpful. Thanks Ryan, James Sure, I'll see if I can somehow get my test case working that fails, though maybe it doesn't fail and the bug with the interceptor that I mentioned earlier is causing it to fail no matter how I run wsdl2java. I'll see if I can finish getti

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
Sure, I'll see if I can somehow get my test case working that fails, though maybe it doesn't fail and the bug with the interceptor that I mentioned earlier is causing it to fail no matter how I run wsdl2java. I'll see if I can finish getting a small test case. On 9/11/07, James Mao <[EMAIL PROTE

Re: Adding headers to soap request

2007-09-11 Thread James Mao
Hi Ryan, I was able to get this to work now with my scaled down test wsdl, but not the full wsdl that I need it to work with, I'll do my best to help you with what I know about this. I did notice your thread that sounded familiar. Apparently if you add the -exsh true parameter to wsdl2java, yo

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
But the problem is that if it's optional, CXF shouldn't fail if it's not there, but it does. And if it's going to fail, it should fail with a cleaner error than an IndexOutOfBoundsException. On 9/11/07, James Mao <[EMAIL PROTECTED]> wrote: > > Gamble, Wesley (WG10) wrote: > > Ryan, > > > > "All I

Re: Adding headers to soap request

2007-09-11 Thread James Mao
Gamble, Wesley (WG10) wrote: Ryan, "All I get currently is an IndexOutOfBoundsException when CXF tries to create the header of the SOAP message to send," sounds suspiciously like my problem (thread: "Can't get at SOAP error from Web service..."). I'm getting an index out of bounds exception

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
Right, it actually makes sense to me now, but go figure when I apply this to the WSDL of the service I want to call, the extra parameter for the header is somehow disappearing. I'm in a debugging session with CXF right now attempting to find out at what point it loses it.. so far it's retaining th

Re: Adding headers to soap request

2007-09-11 Thread Ulhas Bhole
Hi Ryan, The problem you are seeing might be because he Header processing is getting the expectation of header from Service model generated from WSDL. However, the actual header insertion is not happening because the generated method signature is not containing the header parameter. You can take

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
I was able to get this to work now with my scaled down test wsdl, but not the full wsdl that I need it to work with, I'll do my best to help you with what I know about this. I did notice your thread that sounded familiar. Apparently if you add the -exsh true parameter to wsdl2java, you'll end up

RE: Adding headers to soap request

2007-09-11 Thread Gamble, Wesley \(WG10\)
oquin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 9:57 AM To: cxf-user@incubator.apache.org Subject: Re: Adding headers to soap request I always make progress after I send out a message about it... I figured out that the confusion over the headers is because when this dependency is mi

RE: Adding headers to soap request

2007-09-11 Thread Gamble, Wesley \(WG10\)
Ryan, "All I get currently is an IndexOutOfBoundsException when CXF tries to create the header of the SOAP message to send," sounds suspiciously like my problem (thread: "Can't get at SOAP error from Web service..."). I'm getting an index out of bounds exception as well on the header processing

Re: Adding headers to soap request

2007-09-11 Thread Ryan Moquin
I always make progress after I send out a message about it... I figured out that the confusion over the headers is because when this dependency is missing from wsdltojava (not mentioned on the cxf website to do this), then it won't include your header: org.apa