External configuration file cxf.xml and relative paths.

2017-11-21 Thread Alemoli
Hello !! I'm using cxf 3.2.0 for a client web service. I use a cxf.xml file with -Dcxf.config.file=./conf/cxf.xml option and cxf.xml file is not in the classpath. Inside I have a configuration for a TLS connection: http://objetos/wsTransaccionOnlineEmisor}WsTransaccionOnlineEmisorPort

Re: Error: No bean named 'cxf' is defined with cxf.xml imported

2015-02-24 Thread Sergey Beryozkin
I've actually no idea why you are seeing that error given that you do not have any explicit references to a 'cxf' bean... On 24/02/15 14:00, smq wrote: Could you please clarify on where I need an explicit reference to the 'cxf' bean? and how? I thought what I have in application-context.xml is

Re: Error: No bean named 'cxf' is defined with cxf.xml imported

2015-02-24 Thread smq
Could you please clarify on where I need an explicit reference to the 'cxf' bean? and how? I thought what I have in application-context.xml is sufficient based on some of the CXF tutorials out there: Any input would be appreciate

Re: Error: No bean named 'cxf' is defined with cxf.xml imported

2015-02-24 Thread Sergey Beryozkin
Hi I'm not sure what is going on there, all appears to be fine, I do not see any explicit references to a 'cxf' bean in your context example though... Sergey On 23/02/15 19:17, smq wrote: Hi, I am setting up a simple RESTful web service using Apache CXF 3.0.0. I keep getting the following

Error: No bean named 'cxf' is defined with cxf.xml imported

2015-02-23 Thread smq
Hi, I am setting up a simple RESTful web service using Apache CXF 3.0.0. I keep getting the following error: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'cxf' is defined even though I already have in WEB-INF/conf/application-context.xml file. I may be mi

Re: cxf.xml config client not working

2014-03-21 Thread Guzmán Llambías
AM To: users@cxf.apache.org Subject: Re: cxf.xml config client not working Hi Guzmán, Not sure how your client program looks and what problem you are having there. And which version of CXF are you using? I just noticed that your generated code has a very old and unique version string. /** *

Re: cxf.xml config client not working

2014-03-21 Thread Aki Yoshida
-21 4:29 GMT+01:00 Guzmán Llambías : > Hi guys! > > I'm trying to use the cxf.xml config on my client without success. Could > anybody point me what am I doing wrong? > > here's my cxf.cml > >serviceClass="test.mtom.MTOMSampleImplService" >

cxf.xml config client not working

2014-03-20 Thread Guzmán Llambías
Hi guys! I’m trying to use the cxf.xml config on my client without success. Could anybody point me what am I doing wrong? here’s my cxf.cml http://localhost:8080/WSAddressing/MTOMSampleImpl";> below is the MTOMSampleImplService class t

Re: how to put encrypted password in sec:key Managers tag in cxf.xml

2013-08-29 Thread Sergey Beryozkin
Hi On 28/08/13 19:43, Gaurav Chandna wrote: how to put encrypted password in sec:key Managers tag in cxf.xml for eg. I can see from the code that Jetty "OBF" prefixes are supported Cheers, Sergey [1] http://wiki.eclipse.org/Jetty/Howto/Secure_Passwords --

how to put encrypted password in sec:key Managers tag in cxf.xml

2013-08-28 Thread Gaurav Chandna
how to put encrypted password in sec:key Managers tag in cxf.xml for eg. -- View this message in context: http://cxf.547215.n5.nabble.com/how-to-put-encrypted-password-in-sec-key-Managers-tag-in-cxf-xml-tp5733235.html Sent from the cxf-user mailing list archive at

Re: debug logging - is my cxf.xml being read?

2013-05-20 Thread Glen Mazza
Actually, some of us swing, but point well taken. Glad to see your system working. Glen On 05/20/2013 02:50 PM, Jeff Ramin wrote: You guys rock! My app is now serving over SSL w/ a short, simple cxf.xml file! Thanks! On 05/20/2013 01:34 PM, Glen Mazza wrote: You need to define the

Re: debug logging - is my cxf.xml being read?

2013-05-20 Thread Jeff Ramin
You guys rock! My app is now serving over SSL w/ a short, simple cxf.xml file! Thanks! On 05/20/2013 01:34 PM, Glen Mazza wrote: You need to define the namespace in your cxf.xml file: http://cxf.apache.org/docs/server-http-transport.html#ServerHTTPTransport-Namespace Otherwise Spring

Re: debug logging - is my cxf.xml being read?

2013-05-20 Thread Glen Mazza
You need to define the namespace in your cxf.xml file: http://cxf.apache.org/docs/server-http-transport.html#ServerHTTPTransport-Namespace Otherwise Spring has no clue what namespace "http-conf" is referring to. Glen On 05/20/2013 02:30 PM, Jeff Ramin wrote: Thank you! I&#x

Re: debug logging - is my cxf.xml being read?

2013-05-20 Thread Jeff Ramin
Thank you! I've added the appropriate spring jars to my classpath, and the cxf.xml file is now being processed. However, I have a new error when I run my app: Caused by: org.xml.sax.SAXParseException: The prefix "http-conf" for element "http-conf:destination" i

Re: debug logging - is my cxf.xml being read?

2013-05-20 Thread Glen Mazza
/cxf/trunk/distribution/src/main/release/samples/wsdl_first_https/pom.xml?revision=1482878&view=markup#l225 HTH, Glen On 05/20/2013 09:48 AM, Jeff Ramin wrote: Hi folks. I have a cxf.xml file on my classpath, but it doesn't appear as though it's being used by CXF. Is there some debug switch

debug logging - is my cxf.xml being read?

2013-05-20 Thread Jeff Ramin
Hi folks. I have a cxf.xml file on my classpath, but it doesn't appear as though it's being used by CXF. Is there some debug switch I could use to indicate if/when config files like this are processed? Thanks. -- Jeff Ramin Software Engineer Singlewire Software 2601 W Beltlin

Re: cxf ws client - jar - does not read cxf.xml

2013-04-23 Thread Jose María Zaragoza
Eclipse is only an IDE. You should know how you configured for Spring can find that file and CXF runtime Are you JAR file stored in classpath ? Has got a META-INF/cxf/cxf.xml file ? Are you included CXF runtime libraries into your classpath ? 2013/4/23 Au Usf > Now it doesn't work

Re: cxf ws client - jar - does not read cxf.xml

2013-04-23 Thread Au Usf
Now it doesn't work anywhere (Eclipse or standalone). Do I have to configure the location of cxf.xml somewhere? Thanks, Au From: Jose María Zaragoza To: users@cxf.apache.org; Au Usf Sent: Tuesday, April 23, 2013 2:35 PM Subject: Re: cxf ws client

Re: cxf ws client - jar - does not read cxf.xml

2013-04-23 Thread Jose María Zaragoza
The SpringBusFactory searches for all bean configuration files in the META-INF/cxf directories on your classpath, and builds an application context from them. Store your cxf.xml under META-INF/cxf in your JAR file 2013/4/23 Au Usf > I created a cxf ws client using plugins in Eclipse. I ad

cxf ws client - jar - does not read cxf.xml

2013-04-23 Thread Au Usf
I created a cxf ws client using plugins in Eclipse. I added cxf.xml for logging and request timeout. It all works fine in Eclipse. However, I need to export the client as a jar file, and it needs to be included as part of another project built in spring and ran on WebSphere 7. The WS calls are

Re: java.io.FileNotFoundException: OSGi resource[classpath:META-INF/cxf/cxf.xml]

2013-03-11 Thread Daniel Kulp
Are you importing "META-INF.cxf" in your bundles Imports? (or adding a Required-Bundle: …. thing pointing at the cxf bundles?) Dan On Mar 11, 2013, at 4:48 AM, NisalaPerera wrote: > Hi All, > > I'm very new to CXF & ServiceMix. > > I'm trying to deploy a simple solution (properly workin

java.io.FileNotFoundException: OSGi resource[classpath:META-INF/cxf/cxf.xml]

2013-03-11 Thread NisalaPerera
Hi All, I'm very new to CXF & ServiceMix. I'm trying to deploy a simple solution (properly working in development platform Eclipse, CXF) in ServiceMix. But it gives some errors as follows. And my ServiceMix features are as follows. Please advice. Br Nisala Perera -- View this message in

Re: Configuration using Java code without cxf.xml?

2013-01-14 Thread Glen Mazza
estion. Am I right to assume that a production web app using cxf for webservice can get away without using cxf.xml at all? As I read it in Configuration using Java code <http://cxf.apache.org/docs/bus-configuration.html> . The page basically shows that the bus can be obtained fr

Configuration using Java code without cxf.xml?

2013-01-14 Thread Sam777
Hi there, Excuse me a newbie question. Am I right to assume that a production web app using cxf for webservice can get away without using cxf.xml at all? As I read it in Configuration using Java code <http://cxf.apache.org/docs/bus-configuration.html> . The page basically shows that t

Re: mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread Freeman Fang
0:55:59 PM org.eclipse.jetty.util.log.Slf4jLog info INFO: started o.e.j.s.h.ContextHandler{/datax/services,null} The above seems fine - no errors. When I do this: https://myserver:443/datax/services/NotifyNewSearch?wsdl I get the IE Can not display page message. There are no other errors... Below is my cxf.xml. Any

Re: mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread nkunkov
g.Slf4jLog info INFO: started o.e.j.s.h.ContextHandler{/datax/services,null} The above seems fine - no errors. When I do this: https://myserver:443/datax/services/NotifyNewSearch?wsdl I get the IE Can not display page message. There are no other errors... Below is my cxf.xml. Any ideas why this is

Re: mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread Freeman Fang
rceptors below. I assume that since my process is started without an application server container, but by a simple windows service and the web service is being depoyed using Spring, i need to add something else cxf.xml. In the other postings I see that the keystore needs to be specified in the c

Re: mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread nkunkov
gt; > > > I'm posting my cxf file and one of my interceptors below. > > I assume that since my process is started without an application > > server > > container, but by a simple windows service and the web service is > > being > > depoyed usi

Re: mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread Freeman Fang
ed without an application server container, but by a simple windows service and the web service is being depoyed using Spring, i need to add something else cxf.xml. In the other postings I see that the keystore needs to be specified in the cxf.xml etc.. could you point me in the righ

mismatch for port 443, even with interceptors in cxf.xml

2011-10-18 Thread nkunkov
a simple windows service and the web service is being depoyed using Spring, i need to add something else cxf.xml. In the other postings I see that the keystore needs to be specified in the cxf.xml etc.. could you point me in the right direction? Your help is greatly appreciated as I've been

Re: cxf.xml

2011-08-11 Thread Daniel Kulp
gt; resource="classpath:META-INF/cxf/cxf-extension-http.xml" /> > >> >> resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml" > >> /> >> resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />

Re: cxf.xml

2011-08-11 Thread STEVEN THEIN
far as I know, you do need cxf.xml, cxf-servlet.xml, cxf-extension-jaxws.xml. These files are respectively in cxf-core.jar, cxf-rt-transports-http.jar, cxf-rt-frontend-jaxws.jar. With 2.4.x, most of the above are not needed. Really just the base cxf.xml is all that's needed outside of

Re: cxf.xml

2011-08-10 Thread Daniel Kulp
On Wednesday, August 10, 2011 11:06:18 AM Prisca POLYTE wrote: > Hi, > > In my case this is an extract of my configuration file > > > > > > > > > > As far as I know, you do need > cxf.xml, cxf-servlet.xml, cxf-extension-ja

Re: cxf.xml

2011-08-10 Thread David G
${cxf.version} org.apache.cxf cxf-rt-transports-http ${cxf.version} -Original Message- From: Prisca POLYTE Sent: Wednesday, August 10, 2011 10:06 AM To: users@cxf.apache.org Subject: Re: cxf.xml Hi, In my case this is

Re: cxf.xml

2011-08-10 Thread Prisca POLYTE
Hi, In my case this is an extract of my configuration file As far as I know, you do need cxf.xml, cxf-servlet.xml, cxf-extension-jaxws.xml. These files are respectively in cxf-core.jar, cxf-rt-transports-http.jar, cxf-rt-frontend-jaxws.jar. do you use Maven ? If

Re: cxf.xml

2011-08-10 Thread Willem Jiang
META-INF/cxf/cxf.xml is provided by CXF. You can import the files with CXF 2.4.x but you don't need to import them, as CXF switches to use other extension files which can be load faster then spring configuration by default. On Wed Aug 10 16:21:37 2011, David G wrote: I was using 2.2.

Re: cxf.xml

2011-08-10 Thread David G
al Message- From: Willem Jiang Sent: Wednesday, August 10, 2011 1:05 AM To: users@cxf.apache.org Subject: Re: cxf.xml Hi, It looks like you are using CXF servlet transport. Please make sure you put the cxf-core into the class path. Which version of CXF are you using ? If you are using CXF 2.4.x, you

Re: cxf.xml

2011-08-09 Thread Willem Jiang
ax-ws service working ok then started messing around with different loggers under the assumption this wouldn’t change core functionality. Now I try starting the server and get: ‘class path resource [META-INF/cxf/cxf.xml] cannot be opened because it does not exist’ My beans.xml file always had the foll

cxf.xml

2011-08-09 Thread David G
I had a jax-ws service working ok then started messing around with different loggers under the assumption this wouldn’t change core functionality. Now I try starting the server and get: ‘class path resource [META-INF/cxf/cxf.xml] cannot be opened because it does not exist’ My beans.xml file

Re: cxf.xml not recognized in 2.4.1.?

2011-08-09 Thread Anand Hemmige
ige wrote: > > > Hi, > > I apologize if this question is not intended to CXF community since Im > not > > really sure if the problem is with CXF or Spring. > > > > > > I have a web application where I use both Spring application context > files &g

Re: cxf.xml not recognized in 2.4.1.?

2011-08-09 Thread Prisca POLYTE
at 6:30 AM, Anand Hemmige wrote: > Hi, > I apologize if this question is not intended to CXF community since Im not > really sure if the problem is with CXF or Spring. > > > I have a web application where I use both Spring application context files > as well as cxf.xml. >

cxf.xml not recognized in 2.4.1.?

2011-08-08 Thread Anand Hemmige
Hi, I apologize if this question is not intended to CXF community since Im not really sure if the problem is with CXF or Spring. I have a web application where I use both Spring application context files as well as cxf.xml. The spring application context files are all named as beans

CXF 2.4.1 does not recognize cxf.xml

2011-08-08 Thread Anand Hemmige
Hi, I apologize if this question is not intended to CXF community since Im not really sure if the problem is with CXF or Spring. I have a web application where I use both Spring application context files as well as cxf.xml. The spring application context files are all named as beans

Re: Are these xml imports still required, cxf.xml, cxf-extension-jaxrs-binding.xml.

2011-05-10 Thread Willem Jiang
You don't need to import them all now. The cxf-extension-jaxrs-binding.xml is removed since CXF 2.4.0. Willem On 5/10/11 2:49 PM, Elias, Sean wrote: Hi, Are the below imports still required in version 2.4 of CXF: I am getting errors for cxf-extension-jaxrs-bin

Are these xml imports still required, cxf.xml, cxf-extension-jaxrs-binding.xml.

2011-05-09 Thread Elias, Sean
Hi, Are the below imports still required in version 2.4 of CXF: I am getting errors for cxf-extension-jaxrs-binding.xml and warnings on cxf-extension-soap.xml. Regards, Sean. *

Re: does dynamic client support cxf.xml configuration?

2010-12-25 Thread Michael West
Here is the patch[1] that I mentioned. Can you double check the if the cxf-extension-soap.xml[2] is updated ? I just noticed the warning went away after I got the latest cxf. I must have been running an old version before in groovyws-all-0.5-SNAPSHOT.jar Thanks for your help! -- View this m

Re: does dynamic client support cxf.xml configuration?

2010-12-25 Thread Willem Jiang
Here is the patch[1] that I mentioned. Can you double check the if the cxf-extension-soap.xml[2] is updated ? [1]http://svn.apache.org/viewvc?view=revision&revision=745638 [2]http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/resources/META-INF/cxf/cxf-extension-soap.xml?r1=745638&r

Re: does dynamic client support cxf.xml configuration?

2010-12-24 Thread Michael West
Willem.Jiang wrote: > > Can I know which version of CXF are you using? > I checked the svn history of CXF and I'm sure the issue was fixed in > CXF-918 (2/19/09), which means your CXF version is quit old. > Maybe you need to consider to upgrade the CXF version to fix the warning > :) > I am u

Re: does dynamic client support cxf.xml configuration?

2010-12-24 Thread Willem Jiang
Can I know which version of CXF are you using? I checked the svn history of CXF and I'm sure the issue was fixed in CXF-918 (2/19/09), which means your CXF version is quit old. Maybe you need to consider to upgrade the CXF version to fix the warning :) Willem On 12/24/10 10:25 PM, Michael West

Re: does dynamic client support cxf.xml configuration?

2010-12-24 Thread Michael West
My config file is being read now. I decided to try spring 3 and it works. I needed the following jars to read the xml config: spring-asm-3.0.5.RELEASE.jar spring-beans-3.0.5.RELEASE.jar spring-context-3.0.5.RELEASE.jar spring-core-3.0.5.RELEASE.jar spring-expression-3.0.5.RELEASE.jar And one

Re: does dynamic client support cxf.xml configuration?

2010-12-24 Thread Willem Jiang
On 12/24/10 3:58 PM, Michael West wrote: Thanks for the quick reply on possibly needing the spring jars. I have been using the groovy web service jar with cxf bundled and so have never add to think about what jars I had or what version of cxf I was using until now since everything just worked.

Re: does dynamic client support cxf.xml configuration?

2010-12-23 Thread Michael West
Thanks for the quick reply on possibly needing the spring jars. I have been using the groovy web service jar with cxf bundled and so have never add to think about what jars I had or what version of cxf I was using until now since everything just worked. Looking here: http://cxf.apache.org/docs/

Re: does dynamic client support cxf.xml configuration?

2010-12-23 Thread Willem Jiang
Is there any spring jars in your class path? If there is no spring jars, CXF will use CXFBusFactory instead of SpringBusFactory to create the bus. CXFBusFactory will not load the cxf.xml as your want :( Willem On 12/24/10 9:48 AM, Michael West wrote: In further attempts to get a cxf.xml

Re: does dynamic client support cxf.xml configuration?

2010-12-23 Thread Michael West
In further attempts to get a cxf.xml file to be used for custom http client configuration I tried setting JAVA_OPTS to point to my cxf.xml file in the CLASSPATH export JAVA_OPTS="-Dcxf.config.file=/path/to/my/cxf.xml" to no avail. I see from posts like this http://cxf.547215.n5.

does dynamic client support cxf.xml configuration?

2010-12-23 Thread Michael West
he default is 60 seconds which agrees with my experience. I expect this service to take longer than 60 seconds on a method call some of the time. I created a cxf.xml file and put it on my classpath. Contents of file: http://www.springframework.org/schema/beans"; xmlns:xsi="ht

does dynamic client support cxf.xml configuration?

2010-12-23 Thread Michael West
he default is 60 seconds which agrees with my experience. I expect this service to take longer than 60 seconds on a method call some of the time. I created a cxf.xml file and put it on my classpath. Contents of file: http://www.springframework.org/schema/beans"; xmlns:xsi="ht

Re: Unable to find cxf.xml

2010-11-02 Thread Willem Jiang
move to the OSGi version. When I launch this web bundle (lives in a war file), I get the following exception {code:title=Exception} Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id

Re: Unable to find cxf.xml

2010-11-02 Thread Raughan
I am rather embarrassed to say, but you are correct. Since my earlier implementation was including the dependencies in the war file, I forgot to move it to an OSGi import. Issue resolved. Thanks. -- View this message in context: http://cxf.547215.n5.nabble.com/Unable-to-find-cxf-xml-tp3245654p

Re: Unable to find cxf.xml

2010-11-02 Thread Freeman Fang
document from OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id=83| bnd.sym=com.company.com.company.app.osgi.server]; nested exception is java.io.FileNotFoundException: OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id=83| bnd.sym=com.company.com.company.app.osgi.server] cannot be resolved

Unable to find cxf.xml

2010-11-01 Thread Raughan
{code:title=Exception} Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id=83|bnd.sym=com.company.com.company.app.osgi.server]; nested exception is java.io.FileNotFoundException: OSGi resource

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-14 Thread Fabio souza
t;>           >> >>         >> >>       >> >>     >> >> >> >>     >> >>         >> >>     >> >> >> >>    > >>        xmlns:wsam="http://www.w3.org/2007/02/addres

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-14 Thread Sergey Beryozkin
;logging", "SOAP", > >> "SOAP.1_1", "SOAP.1_2" and "HTTP" out-of-the-box. > >> > >> However, if you want to create your intents, things are a little bit > >> more difficult. In that case, I think that you would need

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-14 Thread Peter Lauri
your intents, things are a little bit >> more difficult. In that case, I think that you would need to create >> some interceptors/features and a handler that could be used to parse >> the intent-map file. >> >> Well, I hope this can help you >> >> che

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-14 Thread Sergey Beryozkin
>> > >> > >> > >> > >> > >> > >> > >> As you can see, you can use "addressing" , "logging", "SOAP", > >> "SOAP.1_1", "SOAP.1_2" and "HTTP" out-of-th

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-14 Thread David Bosschaert
d "HTTP" out-of-the-box. >> >> However, if you want to create your intents, things are a little bit >> more difficult. In that case, I think that you would need to create >> some interceptors/features and a handler that could be used to parse >> the intent

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-13 Thread Sergey Beryozkin
ld need to create > some interceptors/features and a handler that could be used to parse > the intent-map file. > > Well, I hope this can help you > > cheers, > > Fábio > > > > On Wed, Oct 13, 2010 at 3:34 PM, Peter Lauri > wrote: > > Hi, > > >

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-13 Thread Fabio souza
ted to some wildcards etc. > > I'm going to try some more tomorrow, now time for bed :) > > /Peter > > > > > > On 2010-10-13 21.17, "ext David Bosschaert" > wrote: > >> Hi Peter, >> >> AFAIK, the CXF-DOSGi subproject doesn't

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-13 Thread Peter Lauri
gt; AFAIK, the CXF-DOSGi subproject doesn't yet support the cxf.xml. > Configuration is done through OSGI-INF/cxf/intents/intent-map.xml > although it doesn't fully support everything yet. Enhancements welcome > :) > > Cheers, > > David > > On 13 October 2010 1

Re: Where to locate cxf.xml for DOSGI consumer?

2010-10-13 Thread David Bosschaert
Hi Peter, AFAIK, the CXF-DOSGi subproject doesn't yet support the cxf.xml. Configuration is done through OSGI-INF/cxf/intents/intent-map.xml although it doesn't fully support everything yet. Enhancements welcome :) Cheers, David On 13 October 2010 19:14, Peter Lauri wrote: >

Where to locate cxf.xml for DOSGI consumer?

2010-10-13 Thread Peter Lauri
I have some configuration that I have created, but I don¹t know how to get the cxf.xml to be read up? Where to locate that file in my maven project. According to documentation it should be in classpath, so /cxf.xml is my assumption. But the configuration does not seem to have been read up.

Re: Setting ENDPOINT_ADDRESS_PROPERTY via cxf.xml file

2010-08-18 Thread Daniel Kulp
On Tuesday 17 August 2010 3:12:31 pm Glen Mazza wrote: > Thanks Dan. But to generalize what you're saying, the BindingProvider. > properties (not just endpoint URL but also basic auth username & password) > are meant to be programmatically set and *not* done via the cxf.x

Re: Setting ENDPOINT_ADDRESS_PROPERTY via cxf.xml file

2010-08-17 Thread Glen Mazza
Thanks Dan. But to generalize what you're saying, the BindingProvider. properties (not just endpoint URL but also basic auth username & password) are meant to be programmatically set and *not* done via the cxf.xml file, correct? (Even though there are some values that can be inform

Re: Setting ENDPOINT_ADDRESS_PROPERTY via cxf.xml file

2010-08-17 Thread Daniel Kulp
gt; %28including+SSL+support%29 > > Question: Is there a way to do the same using the cxf.xml file? (XML > configuration). The link above describes a "Host" property that can be > assigned to the Client element -- is that the same thing as > ENDPOINT_ADDRESS_PROPERTY

Setting ENDPOINT_ADDRESS_PROPERTY via cxf.xml file

2010-08-16 Thread Glen Mazza
g the cxf.xml file? (XML configuration). The link above describes a "Host" property that can be assigned to the Client element -- is that the same thing as ENDPOINT_ADDRESS_PROPERTY? Thanks, Glen -- View this message in context: http://cxf.547215.n5.nabble.com/Setting-ENDPOINT-ADDRESS-P

Re: CXF.xml config file has no effect

2010-04-26 Thread Freeman Fang
Hi, Is it caused by the file name is cxf.xml, but from your code, you refer it as mycxf.xml? Freeman On 2010-4-27, at 上午12:06, Renuka Pathak wrote: Hi CXF Team, I have an eclipse java project. I am using CXF.xml for logging configuration. cxf.xml file in at the location /src/main

CXF.xml config file has no effect

2010-04-26 Thread Renuka Pathak
Hi CXF Team, I have an eclipse java project. I am using CXF.xml for logging configuration. cxf.xml file in at the location /src/main/resources/cxf.xml. When I run my test from location /src/main/java/test/test.java, I am not able to see any effect of logging using CXF.xml. CXF.xml is at the

Re: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]

2010-04-22 Thread Daniel Kulp
d Apr 21 23:36:53 CDT 2010]; root of context hierarchy > Apr 21, 2010 11:36:53 PM > org.springframework.beans.factory.xml.XmlBeanDefinitionReader > loadBeanDefinitions > INFO: Loading XML bean definitions from class path resource > [META-INF/cxf/cxf.xml] > Apr 21, 2010 11:36:53 P

Re: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]

2010-04-22 Thread bill007
:36:53 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] Apr 21, 2010 11:36:53 PM org.apache.cxf.bus.spring.SpringBusFactory createApplicationContext WARNING: Initial attempt to crate

Re: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]

2010-04-22 Thread Daniel Kulp
gt; startup date [Thu Apr 22 00:03:20 CDT 2010]; root of context hierarchy > Apr 22, 2010 12:03:20 AM > org.springframework.beans.factory.xml.XmlBeanDefinitionReader > loadBeanDefinitions > INFO: Loading XML bean definitions from class path resource > [META-INF/cxf/cxf.xml] > Apr 22, 2010

Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]

2010-04-21 Thread bill007
resource [META-INF/cxf/cxf.xml] Apr 22, 2010 12:03:20 AM org.apache.cxf.bus.spring.SpringBusFactory createApplicationContext WARNING: Initial attempt to crate application context was unsuccessful. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document

Re: HTTP Conduits and cxf.xml

2010-01-07 Thread Daniel Kulp
I've updated the page on the http conduit configs at: http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html to mention two things; 1) Clarify it's the port name, not the service name. For you, it was probably HelloWorldPort. Not sure though. 2) Mention that condui

HTTP Conduits and cxf.xml

2010-01-06 Thread Pink, Simon (AGCS)
I am trying to configure a HTTP Conduit to set connection timeouts for a particular service call. I have looked at: http://cwiki.apache.org/CXF20DOC/configuration.html and for the most part it is very straight forward. I have a basic hello world service, created as the service '{http://server.

RE: Can I have more than one jaxws:endpoint in cxf.xml?

2009-07-18 Thread tsunpo
; Ron > > > -Original Message- > From: Tsun-Po Yang [mailto:t...@sanger.ac.uk] > Sent: Friday, July 17, 2009 9:41 AM > To: users@cxf.apache.org > Subject: Can I have more than one jaxws:endpoint in cxf.xml? > > Hi all, > > I am new to CXF and will be ver

RE: Can I have more than one jaxws:endpoint in cxf.xml?

2009-07-17 Thread Ron Grimes
: Tsun-Po Yang [mailto:t...@sanger.ac.uk] Sent: Friday, July 17, 2009 9:41 AM To: users@cxf.apache.org Subject: Can I have more than one jaxws:endpoint in cxf.xml? Hi all, I am new to CXF and will be very appreciated if you can help me. Can I have more than one endpoint per servlet? 1. For

Re: Can I have more than one jaxws:endpoint in cxf.xml?

2009-07-17 Thread Daniel Kulp
1. For example: my "cxf.xml": > > ... >implementor="com.example.business.Example1" > serviceName="Example1Service" > address="/Example1WS"/> > >implementor="com.example.business.Example2" >

Can I have more than one jaxws:endpoint in cxf.xml?

2009-07-17 Thread Tsun-Po Yang
Hi all, I am new to CXF and will be very appreciated if you can help me. Can I have more than one endpoint per servlet? 1. For example: my "cxf.xml": ... 2. Start Tomcat, I DO can visit both: http://localhost:8080/example/services/Example1WS http://localhost:8080/exampl

Re: cxf.xml doesn't work with client

2009-04-27 Thread mzha
Hi Glen, "cxf.xml" is placed directly on the classpath and the logging is actievated too. But in the logging file there is nothing about whether "cxf.xml" is found or not. here is the logging file: http://www.nabble.com/file/p23256802/cxf.log cxf.log Hmmm...if you plac

Re: cxf.xml doesn't work with client

2009-04-24 Thread Glen Mazza
Hmmm...if you place it directly on the classpath (right under your "classes" folder), it should detect the cxf.xml file. If you activate logging and run the client[1] it should say either "cxf.xml file found and being used" or "cxf.xml file not found...relying on defa

cxf.xml doesn't work with client

2009-04-24 Thread mzha
Hi all, I tried to do the proxy server setting with cxf.xml for the client to access remote webservices. It seems that this configuration file will be ignored. I attempted to put this file on the classpath or use a url as the configuration location... Nothing works. I didn't get any error,

Re: CXFServlet throws NullPointerException when using cxf.xml

2009-01-15 Thread Drishya
in web-inf/lib. Can someone suggest what i am doing wrong here? Thanks in advance, RayKrueger wrote: > > If I add the following cxf.xml file (from he wiki) to my build I get a > NullPointerException from the CxfServlet. It seems that the > bus.getExtension(ResourceManager.class)

java2ws and cxf.xml with wsdlLocation

2008-10-07 Thread vivo
Executing java2ws with a cxf.xml that contains a wsdlLocation leads to a FileNotFoundException. Why is java2ws looking for a wsdl (at the wsdlLocation) when it should just generate that wsdl file? Bug? Victor -- View this message in context: http://www.nabble.com/java2ws-and-cxf.xml-with

Re: Specifying wsdl path, configuring cxf.xml, using alternate URLs

2008-09-10 Thread Glen Mazza
the *Service.java class (and then recompile it). I've been looking for some way to configure this wsdl path, and as I understand it, this may be possible through editing cxf.xml. The documentation regarding cxf.xml is confusing to me. I've been trying to adapt examples from pages such as h

Specifying wsdl path, configuring cxf.xml, using alternate URLs

2008-09-10 Thread Hans Loeblich
typically hard-code this location as part of the wsdl2java step?  Unfortunately I don't have access to their source, so it's making debugging difficult.  I've been looking for some way to configure this wsdl path, and as I understand it, this may be possible through editin

Re: cxf.xml file not being picked up during maven2 processing

2008-06-09 Thread jsolderitsch
es in the past. In the end, the message about no cxf.xml file being found did not seem to matter -- it's still there. Really appreciate the help. Glen Mazza-2 wrote: > > Resending, forgot to include a link... > > 2008-06-07 Glen Mazza wrote: >> 2008-06-07 jsolderitsch wrote

Re: cxf.xml file not being picked up during maven2 processing

2008-06-07 Thread Glen Mazza
Resending, forgot to include a link... 2008-06-07 Glen Mazza wrote: > 2008-06-07 jsolderitsch wrote: > > We are doing both. We have a customer wsdl that we want to create a client > > for AND mock up an implementation of the service provider. > > > > I believe I am s

Re: cxf.xml file not being picked up during maven2 processing

2008-06-07 Thread Glen Mazza
2008-06-07 jsolderitsch wrote: > We are doing both. We have a customer wsdl that we want to create a client > for AND mock up an implementation of the service provider. > > I believe I am seeing the cxf.xml not found error in regard to the client > generation AND I do have the cxf

Re: cxf.xml file not being picked up during maven2 processing

2008-06-07 Thread jsolderitsch
We are doing both. We have a customer wsdl that we want to create a client for AND mock up an implementation of the service provider. I believe I am seeing the cxf.xml not found error in regard to the client generation AND I do have the cxf.xml file where you recommend it to be for SOAP clients

Re: cxf.xml file not being picked up during maven2 processing

2008-06-06 Thread Glen Mazza
I'm not clear if you're creating a SOAP client or web service provider. Generally speaking, use cxf.xml only for SOAP clients; for web service providers, unless you're doing some big-time CXF surgery, cxf-servlet.xml or anythingelse.xml as shown in Steps #7 and #8 here is pr

Re: cxf.xml file not being picked up during maven2 processing

2008-06-06 Thread jsolderitsch
Still looking for help on this. I want to learn where to place my custom cxf.xml in my source tree so that is does get picked up during wsdl2java. After some more googling, I see that others have reported a similar error and that the problem is seen with 2.0.6 and 2.1 (not with 2.0.2). Any

cxf.xml file not being picked up during maven2 processing

2008-06-05 Thread jsolderitsch
of context hierarchy Jun 4, 2008 4:41:52 PM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources INFO: No cxf.xml configuration file detected, relying on defaults. We have a cxf.xml file in a resources folder in our source hierarchy but maybe not the right one. First we build a jar

  1   2   >