You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by tog <gu...@gmail.com> on 2007/04/13 21:54:59 UTC
Problem with latest from svn
Hi,
I am using rev 528592 and got the following problem (it's quite new):
13 avr. 2007 20:20:02
org.apache.cxf.bus.spring.BusApplicationContextgetConfigResources
INFO: Could not find the configuration file cxf.xml on the classpath.
baseUriStr: null - uriStr:
http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
baseUriStr: null - uriStr:
http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
Found JAXB 2.1
13 avr. 2007 20:21:11
org.apache.cxf.endpoint.dynamic.DynamicClientFactoryaddSchemas
INFO: Loading the JAXB 2.1 simple binding for client.
13 avr. 2007 20:21:12
org.apache.cxf.endpoint.dynamic.DynamicClientFactoryoutputDebug
INFO: Created classes: net.webservicex.ConversionRate,
net.webservicex.ConversionRateResponse, net.webservicex.Currency,
net.webservicex.ObjectFactory
client created !
org.apache.cxf.interceptor.Fault: No conduit initiator was found for the
namepsace http://schemas.xmlsoap.org/soap/http.
at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java
:383)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:223)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:158)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:178)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:164)
at groovy.net.ws.WSClient.invokeMethod(WSClient.java:36)
My code is basically the following
client =
DynamicClientFactory.newInstance().createClient(URLLocation,
cl);
System.out.println("client created !");
client.getOutInterceptors().add(new
LoggingOutInterceptor());
Object[] response = client.invoke(name, objs);
where URLLocation is "http://localhost/CurrencyConvertor.asmx?WSDL"
name = "ConversionRate"
obs = {"USD", "EUR"}
Thanks for your help
Guillaume
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
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 <dk...@apache.org> 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 <gu...@gmail.com> 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 <gn...@gmail.com> 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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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
> > > > > > > > > > daniel.kulp@iona.com
> > > > > > > > > > http://www.dankulp.com/blog
> > > > > > > >
> > > > > > > > --
> > > > > > > > J. Daniel Kulp
> > > > > > > > Principal Engineer
> > > > > > > > IONA
> > > > > > > > P: 781-902-8727 C: 508-380-7194
> > > > > > > > daniel.kulp@iona.com
> > > > > > > > http://www.dankulp.com/blog
> > > > > >
> > > > > > --
> > > > > > J. Daniel Kulp
> > > > > > Principal Engineer
> > > > > > IONA
> > > > > > P: 781-902-8727 C: 508-380-7194
> > > > > > daniel.kulp@iona.com
> > > > > > 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
> daniel.kulp@iona.com
> 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>
Re: Problem with latest from svn
Posted by Daniel Kulp <dk...@apache.org>.
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 <gu...@gmail.com> 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 <gn...@gmail.com> 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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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
> > > > > > > > > daniel.kulp@iona.com
> > > > > > > > > http://www.dankulp.com/blog
> > > > > > >
> > > > > > > --
> > > > > > > J. Daniel Kulp
> > > > > > > Principal Engineer
> > > > > > > IONA
> > > > > > > P: 781-902-8727 C: 508-380-7194
> > > > > > > daniel.kulp@iona.com
> > > > > > > http://www.dankulp.com/blog
> > > > >
> > > > > --
> > > > > J. Daniel Kulp
> > > > > Principal Engineer
> > > > > IONA
> > > > > P: 781-902-8727 C: 508-380-7194
> > > > > daniel.kulp@iona.com
> > > > > 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
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
Dan
Their service is up and running ... I always perform 2 tests one with
groovySOAP (working with XFire), the other with groovyWS (embedding CXF) and
currently they give different results.
Cheers
Guillaume
On 4/17/07, Dan Diephouse <da...@envoisolutions.com> 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 <gu...@gmail.com> 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 <gn...@gmail.com> 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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > > > > > daniel.kulp@iona.com
> > > > > > > > > http://www.dankulp.com/blog
> > > > > > >
> > > > > > > --
> > > > > > > J. Daniel Kulp
> > > > > > > Principal Engineer
> > > > > > > IONA
> > > > > > > P: 781-902-8727 C: 508-380-7194
> > > > > > > daniel.kulp@iona.com
> > > > > > > http://www.dankulp.com/blog
> > > > >
> > > > > --
> > > > > J. Daniel Kulp
> > > > > Principal Engineer
> > > > > IONA
> > > > > P: 781-902-8727 C: 508-380-7194
> > > > > daniel.kulp@iona.com
> > > > > 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>
> > > >
> > >
> > >
> > >
> > > --
> > > 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.com
> > "><img
> > src="http://www.google.com/calendar/images/ext/gc_button1_en.gif"
> > border=0></a>
> >
>
>
>
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.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>
Re: Problem with latest from svn
Posted by Dan Diephouse <da...@envoisolutions.com>.
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 <gu...@gmail.com> 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 <gn...@gmail.com> 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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > > > > daniel.kulp@iona.com
> > > > > > > > http://www.dankulp.com/blog
> > > > > >
> > > > > > --
> > > > > > J. Daniel Kulp
> > > > > > Principal Engineer
> > > > > > IONA
> > > > > > P: 781-902-8727 C: 508-380-7194
> > > > > > daniel.kulp@iona.com
> > > > > > http://www.dankulp.com/blog
> > > >
> > > > --
> > > > J. Daniel Kulp
> > > > Principal Engineer
> > > > IONA
> > > > P: 781-902-8727 C: 508-380-7194
> > > > daniel.kulp@iona.com
> > > > 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>
> > >
> >
> >
> >
> > --
> > 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.com
> "><img
> src="http://www.google.com/calendar/images/ext/gc_button1_en.gif"
> border=0></a>
>
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
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 <gn...@gmail.com> 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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > > > daniel.kulp@iona.com
> > > > > > > http://www.dankulp.com/blog
> > > > >
> > > > > --
> > > > > J. Daniel Kulp
> > > > > Principal Engineer
> > > > > IONA
> > > > > P: 781-902-8727 C: 508-380-7194
> > > > > daniel.kulp@iona.com
> > > > > http://www.dankulp.com/blog
> > >
> > > --
> > > J. Daniel Kulp
> > > Principal Engineer
> > > IONA
> > > P: 781-902-8727 C: 508-380-7194
> > > daniel.kulp@iona.com
> > > 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>
> >
>
>
>
> --
> 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.com"><img
src="http://www.google.com/calendar/images/ext/gc_button1_en.gif"
border=0></a>
Re: Problem with latest from svn
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <gu...@gmail.com> 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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > > daniel.kulp@iona.com
> > > > > > http://www.dankulp.com/blog
> > > >
> > > > --
> > > > J. Daniel Kulp
> > > > Principal Engineer
> > > > IONA
> > > > P: 781-902-8727 C: 508-380-7194
> > > > daniel.kulp@iona.com
> > > > http://www.dankulp.com/blog
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727 C: 508-380-7194
> > daniel.kulp@iona.com
> > 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>
>
--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
Daniel
Here is my small example. As stated in the previous email, it breaks from
this morning (my time ;-)) so that I can not tell if it still gives a wrong
answer ...
Btw a correct answer is around 0.7 and not 0.0 as it was used to print.
Thanks for your help
Guillaume
-------------------------------------------
import org.apache.cxf.endpoint.dynamic.DynamicClientFactory;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
public class testcxf {
/**
* @param args
*/
public static void main(String[] args) {
String URLLocation = "
http://www.webservicex.net/CurrencyConvertor.asmx?WSDL";
// TODO Auto-generated method stub
Client client =
DynamicClientFactory.newInstance().createClient(URLLocation
, Thread.currentThread().getContextClassLoader());
System.out.println("client created !");
//client.getOutInterceptors().add(new LoggingOutInterceptor());
Object[] result = null;
try {
result = client.invoke("ConversionRate", "USD", "EUR");
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println(result[0]);
}
}
On 4/17/07, tog <gu...@gmail.com> 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 <dk...@apache.org> 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 < dkulp@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > > daniel.kulp@iona.com
> > > > > > http://www.dankulp.com/blog
> > > >
> > > > --
> > > > J. Daniel Kulp
> > > > Principal Engineer
> > > > IONA
> > > > P: 781-902-8727 C: 508-380-7194
> > > > daniel.kulp@iona.com
> > > > http://www.dankulp.com/blog
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727 C: 508-380-7194
> > daniel.kulp@iona.com
> > 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>
>
--
<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>
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
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 <dk...@apache.org> 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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > > daniel.kulp@iona.com
> > > > > http://www.dankulp.com/blog
> > >
> > > --
> > > J. Daniel Kulp
> > > Principal Engineer
> > > IONA
> > > P: 781-902-8727 C: 508-380-7194
> > > daniel.kulp@iona.com
> > > http://www.dankulp.com/blog
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> daniel.kulp@iona.com
> 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>
Re: Problem with latest from svn
Posted by Daniel Kulp <dk...@apache.org>.
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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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
> > > > daniel.kulp@iona.com
> > > > http://www.dankulp.com/blog
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727 C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
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 <dk...@apache.org> 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 <dk...@apache.org> 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-SNAPSHOT.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:Body>
> > > ><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:Body>
> > > ></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><ConversionRateRespon
> > > >se xmlns=" http://www.webserviceX.NET/
> > > > "><ConversionRateResult>0</ConversionRateResult></ConversionRateRe
> > > >spon se></soap:Body></soap:Envelope>
> > > >
> > > >
> > > > Any idea ?
> > > > Cheers
> > > > Guillaume
> > >
> > > --
> > > J. Daniel Kulp
> > > Principal Engineer
> > > IONA
> > > P: 781-902-8727 C: 508-380-7194
> > > daniel.kulp@iona.com
> > > http://www.dankulp.com/blog
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> daniel.kulp@iona.com
> 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>
Re: Problem with latest from svn
Posted by Daniel Kulp <dk...@apache.org>.
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 <dk...@apache.org> 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-SNAPSHOT.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:Body>
> > ><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:Body>
> > ></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><ConversionRateRespon
> > >se xmlns=" http://www.webserviceX.NET/
> > > "><ConversionRateResult>0</ConversionRateResult></ConversionRateRe
> > >spon se></soap:Body></soap:Envelope>
> > >
> > >
> > > Any idea ?
> > > Cheers
> > > Guillaume
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727 C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
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 <dk...@apache.org> 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-SNAPSHOT.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:Body><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:Body></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><ConversionRateResponse
> > xmlns=" http://www.webserviceX.NET/
> > "><ConversionRateResult>0</ConversionRateResult></ConversionRateRespon
> >se></soap:Body></soap:Envelope>
> >
> >
> > Any idea ?
> > Cheers
> > Guillaume
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> daniel.kulp@iona.com
> 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>
Re: Problem with latest from svn
Posted by Daniel Kulp <dk...@apache.org>.
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-SNAPSHOT.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:Body><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:Body></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><ConversionRateResponse
> xmlns=" http://www.webserviceX.NET/
> "><ConversionRateResult>0</ConversionRateResult></ConversionRateRespon
>se></soap:Body></soap:Envelope>
>
>
> Any idea ?
> Cheers
> Guillaume
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
Dan
In fact I was missing the "
cxf-rt-transports-http-jetty-2.0-incubator-RC-SNAPSHOT.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:Body><ConversionRate
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:Body></soap: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><ConversionRateResponse xmlns="
http://www.webserviceX.NET/
"><ConversionRateResult>0</ConversionRateResult></ConversionRateResponse></soap:Body></soap:Envelope>
Any idea ?
Cheers
Guillaume
Re: Problem with latest from svn
Posted by tog <gu...@gmail.com>.
Dan,
On 4/14/07, Dan Diephouse <da...@envoisolutions.com> wrote:
>
> Hiya Guillaume,
>
> Do you have the cxf-rt-soap-binding.jar file on your classpath? If you
> don't, you'll get that error.
I have the cxf-rt-bindings-soap-2.0-incubator-RC-SNAPSHOT.jar file in my
classpath.
Also, Dan Kulp uploaded new snapshots in which your bug that you reported to
> me for the CurrencyConvertor web service has been fixed. You'll also see
> that I improved the debug messages of the DynamicClientFactory to output
> the
> classes it compiled.
Yep I noticed that my error message changed after his commit and that the
DynamicClient does now provide the list of generated classes. Thanks.
But I still get the following error:
org.apache.cxf.interceptor.Fault: No conduit initiator was found for the
namepsace http://schemas.xmlsoap.org/soap/http.
Here are the cxf jars in my classpath:
cxf-api-2.0-incubator-RC-SNAPSHOT.jar
cxf-common-utilities-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-bindings-soap-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-core-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-databinding-aegis-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-databinding-jaxb-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-frontend-simple-2.0-incubator-RC-SNAPSHOT.jar
cxf-rt-transports-http-2.0-incubator-RC-SNAPSHOT.jar
cxf-tools-common-2.0-incubator-RC-SNAPSHOT.jar
I will now try the distribution
Cheers
Guillaume
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-distribution/2.0-incubator-RC-SNAPSHOT/cxf-distribution-2.0-incubator-RC-20070413.190734-16.tar.gz
>
> Cheers,
>
> - Dan
>
> On 4/13/07, tog <gu...@gmail.com> wrote:
> >
> > Hi,
> >
> > I am using rev 528592 and got the following problem (it's quite new):
> >
> > 13 avr. 2007 20:20:02
> > org.apache.cxf.bus.spring.BusApplicationContextgetConfigResources
> > INFO: Could not find the configuration file cxf.xml on the classpath.
> > baseUriStr: null - uriStr:
> > http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
> > baseUriStr: null - uriStr:
> > http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
> > Found JAXB 2.1
> > 13 avr. 2007 20:21:11
> > org.apache.cxf.endpoint.dynamic.DynamicClientFactoryaddSchemas
> > INFO: Loading the JAXB 2.1 simple binding for client.
> > 13 avr. 2007 20:21:12
> > org.apache.cxf.endpoint.dynamic.DynamicClientFactoryoutputDebug
> > INFO: Created classes: net.webservicex.ConversionRate,
> > net.webservicex.ConversionRateResponse, net.webservicex.Currency,
> > net.webservicex.ObjectFactory
> > client created !
> > org.apache.cxf.interceptor.Fault: No conduit initiator was found for the
> > namepsace http://schemas.xmlsoap.org/soap/http.
> > at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java
> > :383)
> > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java
> :223)
> > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java
> :158)
> > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java
> :178)
> > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java
> :164)
> > at groovy.net.ws.WSClient.invokeMethod(WSClient.java:36)
> >
> >
> > My code is basically the following
> >
> > client =
> > DynamicClientFactory.newInstance().createClient(URLLocation,
> > cl);
> > System.out.println("client created !");
> > client.getOutInterceptors().add(new
> > LoggingOutInterceptor());
> >
> > Object[] response = client.invoke(name, objs);
> >
> > where URLLocation is "http://localhost/CurrencyConvertor.asmx?WSDL"
> > name = "ConversionRate"
> > obs = {"USD", "EUR"}
> >
> > Thanks for your help
> > Guillaume
> >
>
>
>
> --
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.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>
Re: Problem with latest from svn
Posted by Dan Diephouse <da...@envoisolutions.com>.
Hiya Guillaume,
Do you have the cxf-rt-soap-binding.jar file on your classpath? If you
don't, you'll get that error.
Also, Dan Kulp uploaded new snapshots in which your bug that you reported to
me for the CurrencyConvertor web service has been fixed. You'll also see
that I improved the debug messages of the DynamicClientFactory to output the
classes it compiled.
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-distribution/2.0-incubator-RC-SNAPSHOT/cxf-distribution-2.0-incubator-RC-20070413.190734-16.tar.gz
Cheers,
- Dan
On 4/13/07, tog <gu...@gmail.com> wrote:
>
> Hi,
>
> I am using rev 528592 and got the following problem (it's quite new):
>
> 13 avr. 2007 20:20:02
> org.apache.cxf.bus.spring.BusApplicationContextgetConfigResources
> INFO: Could not find the configuration file cxf.xml on the classpath.
> baseUriStr: null - uriStr:
> http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
> baseUriStr: null - uriStr:
> http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
> Found JAXB 2.1
> 13 avr. 2007 20:21:11
> org.apache.cxf.endpoint.dynamic.DynamicClientFactoryaddSchemas
> INFO: Loading the JAXB 2.1 simple binding for client.
> 13 avr. 2007 20:21:12
> org.apache.cxf.endpoint.dynamic.DynamicClientFactoryoutputDebug
> INFO: Created classes: net.webservicex.ConversionRate,
> net.webservicex.ConversionRateResponse, net.webservicex.Currency,
> net.webservicex.ObjectFactory
> client created !
> org.apache.cxf.interceptor.Fault: No conduit initiator was found for the
> namepsace http://schemas.xmlsoap.org/soap/http.
> at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java
> :383)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:223)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:158)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:178)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:164)
> at groovy.net.ws.WSClient.invokeMethod(WSClient.java:36)
>
>
> My code is basically the following
>
> client =
> DynamicClientFactory.newInstance().createClient(URLLocation,
> cl);
> System.out.println("client created !");
> client.getOutInterceptors().add(new
> LoggingOutInterceptor());
>
> Object[] response = client.invoke(name, objs);
>
> where URLLocation is "http://localhost/CurrencyConvertor.asmx?WSDL"
> name = "ConversionRate"
> obs = {"USD", "EUR"}
>
> Thanks for your help
> Guillaume
>
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog