cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tog <guillaume.all...@gmail.com>
Subject Re: Problem with latest from svn
Date Sun, 15 Apr 2007 06:29:16 GMT
Dan,


On 4/14/07, Dan Diephouse <dan@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 <guillaume.alleon@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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message