Hurra, You made it ... it's working with your last commit. Thanks a lot for your help Hope you don't break so much in the other part of the code :-)
Guillaume On 4/17/07, Daniel Kulp <[EMAIL PROTECTED]> wrote:
I have a fix for this that I'm testing now. In the "unwrapped" case, the unwrapped parts are sometimes getting an empty namespace set. That's what your seeing. In anycase, I have a fix that makes your test work, but I need to find out what else I broke. :-) Dan On Tuesday 17 April 2007 17:13, Dan Diephouse wrote: > Interesting... I will take a peek into this. I was getting 0.0 back as > well, but I figured it was because their services were broken. I'll > get back to you soon. > > - Dan > > On 4/17/07, tog <[EMAIL PROTECTED]> wrote: > > Guillaume > > > > Thanks, I always forgot this "mvn clean" ... > > OK now it is running but I get 0.0 as result while (which is > > obviously wrong) using XFire I got the correct answer i.e. 0.7368 at > > this time > > > > Cheers > > Guillaume > > > > On 4/17/07, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > > > Yeah, the API has slightly changed. > > > A parameter has been changed from List to Collection, which > > > seems the error you experience. > > > I would run a clean build by launching > > > mvn clean install > > > > > > On 4/17/07, tog <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > > > > > There is no problem in sending you this test case. Nevertheless > > > > trying > > > > > > the > > > > > > > last from svn I got the following error: > > > > Caught: java.lang.NoSuchMethodError: > > > > org.apache.cxf.phase.PhaseInterceptorChain.add(Ljava/util/List;) > > > >V java.lang.NoSuchMethodError: > > > > org.apache.cxf.phase.PhaseInterceptorChain.add > > > > (Ljava/util/List;)V > > > > at > > > > org.apache.cxf.endpoint.ClientImpl.setupInterceptorChain( > > > > ClientImpl.java:409) > > > > at > > > > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java > > > > > > > :205) > > > : > > > > at > > > > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java > > > > > > > :153) > > > : > > > > at > > > > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java > > > > > > > :173) > > > : > > > > at > > > > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java > > > > > > > :159) > > > : > > > > at groovy.net.ws.WSClient.invokeMethod(WSClient.java:36) > > > > > > > > Do some changes occur in the API so that I need to re-work my > > > > code > > > > > > before > > > > > > > sending it to you ? > > > > > > > > Cheers > > > > Guillaume > > > > > > > > On 4/16/07, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > > > > Guillaume, > > > > > > > > > > Is there any way you can provide a simple test case that shows > > > > > the problem? > > > > > > > > > > Thanks! > > > > > Dan > > > > > > > > > > On Monday 16 April 2007 17:19, tog wrote: > > > > > > Dan, > > > > > > > > > > > > I am using revision 529403 and it does not solve my problem. > > > > Looking > > > > > > > > with tcpmon gives me the wrong answer ... trying the same > > > > > > service > > > > > > with > > > > > > > > > XFire give me the correct result. > > > > > > > > > > > > Anything I can do to help you ? > > > > > > > > > > > > Guillaume > > > > > > > > > > > > On 4/16/07, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > > > > > > Guillaume, > > > > > > > > > > > > > > This should now be fixed on trunk. It was CXF-536, but > > > > > > > Jeff created a patch for it and I just applied it. > > > > > > > > > > > > > > I probably won't get around to deploying a new snapshot > > > > > > > today. Possibly tomorrow. However, if you could try with > > > > > > > trunk, that > > > > > > would > > > > > > > > > > be great. > > > > > > > > > > > > > > Dan > > > > > > > > > > > > > > On Sunday 15 April 2007 16:28, tog wrote: > > > > > > > > Daniel, thanks for the update. Is there a Jira issue for > > > > > > > > that problem or should I open one ? > > > > > > > > Is there a way I can help solving that problem ? > > > > > > > > > > > > > > > > Guillaume > > > > > > > > > > > > > > > > On 4/15/07, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > > > > > > > > Jeff Genender is tracing through some very similar > > > > > > > > > issues > > > > > > we're > > > > > > > > > > > > having. In certain cases, when passing in a "Source" > > > > > > > > > instead > > > > > > of > > > > > > > > > > > > a JAXB object, default namespaces are ending up as > > > > > > > > > empty > > > > > > instead > > > > > > > > > > > > of being written correctly. At this point, he > > > > > > > > > THINKS it's > > > > a > > > > > > > > > > > woodstox bug, but he's still digging into it. > > > > > > > > > > > > > > > > > > Dan > > > > > > > > > > > > > > > > > > On Sunday 15 April 2007 05:36, tog wrote: > > > > > > > > > > Dan > > > > > > > > > > > > > > > > > > > > In fact I was missing the " > > > > > > > > > > cxf-rt-transports-http-jetty-2.0-incubator-RC-SNAPSH > > > > > > > > > >OT.jar > > > > " > > > > > . > > > > > > > > > > > > > Is it a new one ? > > > > > > > > > > > > > > > > > > > > Adding this new jar file, the CurrencyConvertor > > > > > > > > > > sample > > > > goes > > > > > to > > > > > > > > > > > > > the end ... but the result is wrong. Looking at the > > > > requests > > > > > > > > > > > > through tcpmon I think there are still some issues. > > > > > > > > > > The > > > > > > third > > > > > > > > > > > > > request looks like this: > > > > > > > > > > > > > > > > > > > > GET /CurrencyConvertor.asmx?WSDL HTTP/1.1 > > > > > > > > > > User-Agent: Java/1.5.0_11 > > > > > > > > > > Host: localhost > > > > > > > > > > Accept: text/html, image/gif, image/jpeg, *; q=.2, > > > > > > > > > > */*; > > > > q=.2 > > > > > > > > > > > > Connection: keep-alive > > > > > > > > > > > > > > > > > > > > POST /CurrencyConvertor.asmx HTTP/1.1 > > > > > > > > > > Content-Type: text/xml; charset=UTF-8 > > > > > > > > > > SOAPAction: > > > > > > > > > > "http://www.webserviceX.NET/ConversionRate" > > > > > > > > > > Cache-Control: no-cache > > > > > > > > > > Pragma: no-cache > > > > > > > > > > User-Agent: Java/1.5.0_11 > > > > > > > > > > Host: localhost > > > > > > > > > > Accept: text/html, image/gif, image/jpeg, *; q=.2, > > > > > > > > > > */*; > > > > q=.2 > > > > > > > > > > > > Connection: keep-alive > > > > > > > > > > Transfer-Encoding: chunked > > > > > > > > > > > > > > > > > > > > 23e > > > > > > > > > > <soap:Envelope > > > > > > > > > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope > > > > > > > > > >/ > > > > > > "><soap:B > > > > > > > > > > > > >ody> <Con versionRate > > > > > > > > > > xmlns="http://www.webserviceX.NET/"><FromCurrency > > > > xmlns:xs=" > > > > > > > > > > > > http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > > > > > > > > > > http://www.w3.org/2001/XMLSchema-instance" xmlns="" > > > > > > > > > > xmlns:ns2=" http://www.webserviceX.NET/" > > > > > > > > > > xsi:type="xs:string">USD</FromCurrency><ToCurrency > > > > > > xmlns:xs=" > > > > > > > > > > > > > http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > > > > > > > > > > http://www.w3.org/2001/XMLSchema-instance" xmlns="" > > > > > > > > > > xmlns:ns2=" http://www.webserviceX.NET/" > > > > > > xsi:type="xs:string">EUR</ToCurrency></ConversionRate></soap:B > > > > > > > > > > > > >ody> </so ap:Envelope> 0 > > > > > > > > > > > > > > > > > > > > which lead to the following answer (with an inexact > > > > > > > > > > null result) > > > > > > > > > > > > > > > > > > > > HTTP/1.1 200 OK > > > > > > > > > > Date: Sun, 15 Apr 2007 09:02:36 GMT > > > > > > > > > > Server: Microsoft-IIS/6.0 > > > > > > > > > > X-Powered-By: ASP.NET > > > > > > > > > > X-AspNet-Version: 1.1.4322 > > > > > > > > > > Cache-Control: private, max-age=0 > > > > > > > > > > Content-Type: text/xml; charset=utf-8 > > > > > > > > > > Content-Length: 25470 > > > > > > > > > > > > > > > > > > > > <?xml version="1.0" encoding="utf-8"?> > > > > > > > > > > <wsdl:definitions > > > > > > > > > > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > > > > > > > > > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > > > > xmlns:s=" > > > > > > > > > > > > http://www.w3.org/2001/XMLSchema" xmlns:soapenc=" > > > > > > > > > > http://schemas.xmlsoap.org/soap/encoding/" > > > > > > > > > > xmlns:tns=" http://www.webserviceX.NET/" xmlns:tm=" > > > > > > > > > > http://microsoft.com/wsdl/mime/textMatching/" > > > > > > > > > > xmlns:mime=" http://schemas.xmlsoap.org/wsdl/mime/" > > > > > > > > > > targetNamespace=" http://www.webserviceX.NET/" > > > > > > > > > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> > > > > > > > > > > > > > > > > > > > > ... > > > > > > > > > > > > > > > > > > > > </wsdl:definitions>HTTP/1.1 200 OK > > > > > > > > > > Date: Sun, 15 Apr 2007 09:02:40 GMT > > > > > > > > > > Server: Microsoft-IIS/6.0 > > > > > > > > > > X-Powered-By: ASP.NET > > > > > > > > > > X-AspNet-Version: 1.1.4322 > > > > > > > > > > Cache-Control: private, max-age=0 > > > > > > > > > > Content-Type: text/xml; charset=utf-8 > > > > > > > > > > Content-Length: 377 > > > > > > > > > > > > > > > > > > > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope > > > > > > > > > > xmlns:soap=" > > > > > > > > > > http://schemas.xmlsoap.org/soap/envelope/" > > > > > > > > > > xmlns:xsi=" > > > > > > > > > > http://www.w3.org/2001/XMLSchema-instance" > > > > > > > > > > xmlns:xsd=" > > > > > > > > > > http://www.w3.org/2001/XMLSchema > > > > > > "><soap:Body><ConversionRateRe > > > > > > > > > > > > >spon se xmlns=" http://www.webserviceX.NET/ > > > > > > "><ConversionRateResult>0</ConversionRateResult></ConversionRa > > > > > > > > > > > > >teRe spon se></soap:Body></soap:Envelope> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Any idea ? > > > > > > > > > > Cheers > > > > > > > > > > Guillaume > > > > > > > > > > > > > > > > > > -- > > > > > > > > > J. Daniel Kulp > > > > > > > > > Principal Engineer > > > > > > > > > IONA > > > > > > > > > P: 781-902-8727 C: 508-380-7194 > > > > > > > > > [EMAIL PROTECTED] > > > > > > > > > http://www.dankulp.com/blog > > > > > > > > > > > > > > -- > > > > > > > J. Daniel Kulp > > > > > > > Principal Engineer > > > > > > > IONA > > > > > > > P: 781-902-8727 C: 508-380-7194 > > > > > > > [EMAIL PROTECTED] > > > > > > > http://www.dankulp.com/blog > > > > > > > > > > -- > > > > > J. Daniel Kulp > > > > > Principal Engineer > > > > > IONA > > > > > P: 781-902-8727 C: 508-380-7194 > > > > > [EMAIL PROTECTED] > > > > > http://www.dankulp.com/blog > > > > > > > > -- > > > > > > > > > > > > <a target="_blank" href=" > > > > http://www.google.com/calendar/render?cid=guillaume.alleon%40gma > > > >il.com "><img > > > > src="http://www.google.com/calendar/images/ext/gc_button1_en.gif > > > >" border=0></a> > > > > > > -- > > > Cheers, > > > Guillaume Nodet > > > ------------------------ > > > Principal Engineer, IONA > > > Blog: http://gnodet.blogspot.com/ > > > > -- > > > > > > <a target="_blank" href=" > > http://www.google.com/calendar/render?cid=guillaume.alleon%40gmail.c > >om "><img > > src="http://www.google.com/calendar/images/ext/gc_button1_en.gif" > > border=0></a> -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
-- <a target="_blank" href=" http://www.google.com/calendar/render?cid=guillaume.alleon%40gmail.com"><img src="http://www.google.com/calendar/images/ext/gc_button1_en.gif" border=0></a>
