Re: Newbie question

2013-11-07 Thread Colm O hEigeartaigh
al Message- > > From: Emiliano Carlesi [mailto:emiliano.carl...@itattitude.com] > > Sent: Mittwoch, 6. November 2013 11:57 > > To: users@cxf.apache.org > > Cc: Andrei Shakirin; Emiliano Carlesi > > Subject: RE: Newbie question > > > > Hi Andrei, > > > >

RE: Newbie question

2013-11-06 Thread Andrei Shakirin
13 11:57 > To: users@cxf.apache.org > Cc: Andrei Shakirin; Emiliano Carlesi > Subject: RE: Newbie question > > Hi Andrei, > > As first, thanks for your replies. > > Yes. I don't want to have, client side, any configuration . I want to use only > the informations obtain

RE: Newbie question

2013-11-06 Thread Emiliano Carlesi
shaki...@talend.com] Sent: Wednesday, November 6, 2013 11:52 AM To: users@cxf.apache.org Cc: Emiliano Carlesi Subject: RE: Newbie question Hi, Just re-reading your message, would you like that WS-Policy with security assertions is not stored locally by the client, but will be retrieved fro

RE: Newbie question

2013-11-06 Thread Andrei Shakirin
> Sent: Dienstag, 5. November 2013 13:06 > To: users@cxf.apache.org > Cc: Emiliano Carlesi > Subject: Newbie question > > Hi All, > I'm new to CXF so this question could be stupid... Please be patient :) > > I read the CXF book, some tutorials and many articles. I doubt, h

RE: Newbie question

2013-11-06 Thread Andrei Shakirin
ano Carlesi [mailto:emiliano.carl...@itattitude.com] > Sent: Dienstag, 5. November 2013 13:06 > To: users@cxf.apache.org > Cc: Emiliano Carlesi > Subject: Newbie question > > Hi All, > I'm new to CXF so this question could be stupid... Please be patient :) > > I read the CX

Newbie question

2013-11-05 Thread Emiliano Carlesi
Hi All, I'm new to CXF so this question could be stupid... Please be patient :) I read the CXF book, some tutorials and many articles. I doubt, however, remains :( I have a WSP under WS-Trust, so the WSC when invoke it need to attach a valid token. I see many example and in all of these I see t

Re: Newbie Question: WARNING: No root resource matching request path / has been found.

2011-12-28 Thread cxfuser
Thanks Jeff, your suggestion worked -- View this message in context: http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5105681.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Newbie Question: WARNING: No root resource matching request path / has been found.

2011-12-26 Thread Sergey Beryozkin
mapper = new ObjectMapper(); return mapper.writeValueAsString(object); } } Thanks for the help Prakash -- View this message in context: http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-fo

Re: Newbie Question: WARNING: No root resource matching request path / has been found.

2011-12-26 Thread Tcharl
cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5101566.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Newbie Question: WARNING: No root resource matching request path / has been found.

2011-12-25 Thread Jeff Wang
           Customer customer = new Customer(); >                customer.setName("customer1"); >                return javaToJSON(customer); >        } > >        private String javaToJSON(final Object object) throws IOException { >                ObjectMapper mapper = null; >                mapper = new ObjectMapper(); >                return mapper.writeValueAsString(object); >        } > > } > > > > > Thanks for the help > Prakash > > > > > > > > > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5098573.html > Sent from the cxf-user mailing list archive at Nabble.com.

Newbie Question: WARNING: No root resource matching request path / has been found.

2011-12-25 Thread cxfuser
ctMapper(); return mapper.writeValueAsString(object); } } Thanks for the help Prakash -- View this message in context: http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5098573.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-09 Thread Daniel Kulp
On Tuesday 09 November 2010 6:13:58 am Bayu Anggorojati wrote: > On 08-11-2010 22:07, Daniel Kulp wrote: > Hi Dan, > > Thank you for your response. I will answer to your suggestions below. > > > Don't remove the whole thing, just the two xmlsoap.org namespaces above. > > Those are basically telli

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-09 Thread Bayu Anggorojati
On 08-11-2010 22:07, Daniel Kulp wrote: Hi Dan, Thank you for your response. I will answer to your suggestions below. Don't remove the whole thing, just the two xmlsoap.org namespaces above. Those are basically telling the runtime that whenever those namespaces are encountered, use the local tr

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-08 Thread Daniel Kulp
On Friday 05 November 2010 1:56:49 pm Bayu Anggorojati wrote: > Hi Dan, > > Thank you for your highlight. I checked the applicationContext.xml, and > there is these lines of codes for configuring CXF web service: > > implementor="#queryOperationsWebService" address="/" /> > implementor="#que

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-05 Thread Bayu Anggorojati
Hi Dan, Thank you for your highlight. I checked the applicationContext.xml, and there is these lines of codes for configuring CXF web service: implementor="#queryOperationsWebService" address="/" /> implementor="#queryOperationsWebService" address="local://query" /> lazy-init="false"

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-05 Thread Daniel Kulp
Well, the main issue is: > [org.apache.cxf.transport.local.LocalTransportFactory:106] - Creating > destination for address / All the destinations that are being created are on the LocalTransport, not the http stuff. Thus, it wouldn't be available on the servlet stuff. I would check the conf

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-05 Thread Bayu Anggorojati
Hi Dan, I just want to add my previous post. I found somewhere in this forum, almost the same problem but in different context. Someone said that there might be jax-ws conflict. I don't really know what might caused the conflict, but from the previous log that I sent out, I found the followin

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-05 Thread Bayu Anggorojati
Hi Dan, Here is the log at the start up, but it is very huge: ### INFO (2010-11-05 11:51:36,153 [org.fosstrak.epcis.repository.RepositoryContextListener:76] - Starting Fosstrak EPCIS Repository application INFO (2010-11-

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Daniel Kulp
On Thursday 04 November 2010 11:15:15 am viveksvl wrote: > Dan, Bayu, > This is just to confirm my understanding, When you do WSDL2Java for a wsdl > that has security policy, it does not generate the call back handlers(or > inerceptors) correct? Meaning, I do see the JAXB components, Server(Service

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Daniel Kulp
On Thursday 04 November 2010 12:57:32 pm Bayu Anggorojati wrote: > Hi Dan, > > Thank you for your response. I endorse the JAXB 2.2 API jar, and the > wsdl2java works now. > > However I faced another problem. When I try to access the web service > application after it is being deployed on tomcat,

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Bayu Anggorojati
Hi Dan, Thank you for your response. I endorse the JAXB 2.2 API jar, and the wsdl2java works now. However I faced another problem. When I try to access the web service application after it is being deployed on tomcat, I got the following error/message "No services have been found." Do you

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread viveksvl
message in context: http://cxf.547215.n5.nabble.com/newbie-question-CXFNonSpringServlet-and-ws-security-tp3248140p3250219.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Daniel Kulp
Well, there are three potential workarounds for this: 1) Endorse the JAXB 2.2 API jar. 2) Use Java 5 instead of Java 6 3) Drop the jaxb-impl and jaxb-xjc jars down to 2.1.13 instead of 2.2. I'll have to see if there is an easier way to detect this (other than an UndeclaredThrowableException

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Bayu Anggorojati
Here is the full stack trace: org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:279) at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Daniel Kulp
On Thursday 04 November 2010 8:08:57 am Bayu Anggorojati wrote: > Hi Dan, > > I encountered this error when trying to generate the java code from wsdl > using wsdl2java from cfx 2.3.0: > > WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException > > I never had this error with 2.2.10 at

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-04 Thread Bayu Anggorojati
Hi Dan, I encountered this error when trying to generate the java code from wsdl using wsdl2java from cfx 2.3.0: WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException I never had this error with 2.2.10 at least. Is it a bug? or is there any thing that I need to take care of in 2.3

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-03 Thread Daniel Kulp
What version of CXF? At one point, there was a bug where interceptors added to the endpoint directly didn't get added to the chain. Make sure you are using 2.3.0. Also, in your code below, you are not setting any actions on the Wss4jInInterceptor. Thus, it may be bailing out fast as its n

Re: [newbie question] CXFNonSpringServlet and ws-security

2010-11-03 Thread siuyab
When I debugged it, it just went directly to the port implementation method, i.e. it didn't go to the callback-handler class.. does anybody know what might go wrong in this case? Thank you in advance. bayu -- View this message in context: http://cxf.547215.n5.nabble.com/newbie-que

[newbie question] CXFNonSpringServlet and ws-security

2010-11-03 Thread siuyab
ic or stupid question, but any help will be appreciated. Regards, Bayu -- View this message in context: http://cxf.547215.n5.nabble.com/newbie-question-CXFNonSpringServlet-and-ws-security-tp3248140p3248140.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Newbie Question - web.xml or cxf-servlet.xml and multiple wars

2010-07-14 Thread Glen Mazza
t with each other. HTH, Glen -- View this message in context: http://cxf.547215.n5.nabble.com/Newbie-Question-web-xml-or-cxf-servlet-xml-and-multiple-wars-tp1070451p1144331.html Sent from the cxf-user mailing list archive at Nabble.com.

Newbie Question - web.xml or cxf-servlet.xml and multiple wars

2010-07-13 Thread jaybytez
y App Server, do I need to change any of the configuration files in the individual wars to handle this? Thanks for your help, Jay -- View this message in context: http://cxf.547215.n5.nabble.com/Newbie-Question-web-xml-or-cxf-servlet-xml-and-multiple-wars-tp1070451p1070451.html Sent from the cxf

Re: Newbie question. Webservice not registered in servlet

2010-06-30 Thread Ted Roeloffzen
Hi Philippe, I already found out what I did wrong. Because the webapp uses Jetty, there was a second spring-web.xml and that file didn' t contain the correct info. When I added the correct info, it worked. Ted 2010/6/30 antoine philippe chaker > Hi Ted, > > i'm a newbie too :-) but could you gi

Re: Newbie question. Webservice not registered in servlet

2010-06-30 Thread antoine philippe chaker
Hi Ted, i'm a newbie too :-) but could you give us the complete url that you try to call ? Philippe 2010/6/30 Ted Roeloffzen > Hi All, > I have a quick question. > I'm using cxf 2.2.3 and I want to register a service (the server side) via > Spring. > My web.xml contains > > contextConfigLoc

Newbie question. Webservice not registered in servlet

2010-06-30 Thread Ted Roeloffzen
Hi All, I have a quick question. I'm using cxf 2.2.3 and I want to register a service (the server side) via Spring. My web.xml contains contextConfigLocation classpath:nl/topicus/cluedo/spring-web.xml org.springframework.web.context.ContextLoaderListener CXF Servlet CXFServl

Re: Newbie question

2010-06-01 Thread Glen Mazza
> > Gabo > > > > Ted Roeloffzen wrote: >> Hi all, >> I'm just starting with CXF and i have a question. >> I have to store a variable in the session, but i can' t seem to find how >> i >> can do that. >> Can anyone help me with that? &

Re: Newbie question

2010-05-31 Thread Gabo Manuel
Hi Ted, Try: message.getExchange() from an interceptor or PhaseInterceptorChain.getCurrentMessage().getExchange() for a more generic approach. If you really need access to the session, afaik, the Exchange object has a getter for the session. Not sure if this answers your question. Gabo

Newbie question

2010-05-31 Thread Ted Roeloffzen
Hi all, I'm just starting with CXF and i have a question. I have to store a variable in the session, but i can' t seem to find how i can do that. Can anyone help me with that? thanks a bunch Ted

Re: CXF - WSDL : Newbie question

2009-06-25 Thread xpsytor
Nice. I know where to start looking then. Thanks!! --- On Wed, 6/24/09, Daniel Kulp wrote: From: Daniel Kulp Subject: Re: CXF - WSDL : Newbie question To: users@cxf.apache.org Cc: "xpsytor" Date: Wednesday, June 24, 2009, 4:29 PM Both are related to JAXB spec.   For 2, JAXB

Re: CXF - WSDL : Newbie question

2009-06-24 Thread Daniel Kulp
ava.lang.Exception com.abcd.common.Result.getError() > at com.abcd.common.Result > at private com.abcd.common.Result > com.abcd.handler.jaxws_asm.LoginResponse._return at > com.abcd.handler.jaxws_asm.LoginResponse > > > --- On Wed, 6/24/09, Andrew Clegg wrote: > &g

Re: CXF - WSDL : Newbie question

2009-06-24 Thread xpsytor
t private com.abcd.common.Result com.abcd.handler.jaxws_asm.LoginResponse._return         at com.abcd.handler.jaxws_asm.LoginResponse --- On Wed, 6/24/09, Andrew Clegg wrote: From: Andrew Clegg Subject: Re: CXF - WSDL : Newbie question To: users@cxf.apache.org Date: Wednesday, June 24, 2009, 10:38 AM

Re: CXF - WSDL : Newbie question

2009-06-24 Thread xpsytor
Hi Daniel, Yes, I'm using the default JAXB. >From what you said, looks like @XmlSeeAlso might do the trick. I'm checking >this pronto! Thanks. Chris. --- On Wed, 6/24/09, Daniel Kulp wrote: From: Daniel Kulp Subject: Re: CXF - WSDL : Newbie question To: users@cxf.apache.

Re: CXF - WSDL : Newbie question

2009-06-24 Thread Andrew Clegg
2009/6/24 xpsytor : > Will take a look at the link you've mentioned here. > > About the method definitions for returned class, I'm sorry - I should have > probably said definition for my getter and setter methods. Yes, they - > including the constructor isn't generating. The class is literally em

Re: CXF - WSDL : Newbie question

2009-06-24 Thread xpsytor
ObjectFactory class does have a newInstance() for returned class but its pretty much useless as the returned class is abstract. Chris --- On Wed, 6/24/09, Andrew Clegg wrote: From: Andrew Clegg Subject: Re: CXF - WSDL : Newbie question To: "xpsytor" Cc: users@cxf.apache.org Date: Wedne

Re: CXF - WSDL : Newbie question

2009-06-24 Thread Daniel Kulp
;m missing something here or is it a bug or its intended > design. Hope that explanation was clear without me printing out the actual > classes involved here. > > Chris > > --- On Wed, 6/24/09, Andrew Clegg wrote: > > From: Andrew Clegg > Subject: Re: CXF - WSDL : Newbie ques

Re: CXF - WSDL : Newbie question

2009-06-24 Thread Andrew Clegg
2009/6/24 xpsytor : > In my case, method return type is an abstract class, wherein the actual > object returned is of its subclasses. > Problem 1: This subclass-es is missing in wsdl Not too sure about how this is handled -- someone here with more Java-first experience can help. This might give

Re: CXF - WSDL : Newbie question

2009-06-24 Thread xpsytor
nation was clear without me printing out the actual classes involved here. Chris --- On Wed, 6/24/09, Andrew Clegg wrote: From: Andrew Clegg Subject: Re: CXF - WSDL : Newbie question To: users@cxf.apache.org, xpsy...@yahoo.com Date: Wednesday, June 24, 2009, 8:42 AM 2009/6/24  : > Hello gr

Re: CXF - WSDL : Newbie question

2009-06-24 Thread Andrew Clegg
2009/6/24 : > Hello group! > > I am new to using CXF and have run into initial hiccups. Using JAX-WS styled > notations I have deployed my services on tomcat in testing env. > For consumption, I generated local stubs using the published wsdl. The > problem is that not all classes are getting gen

CXF - WSDL : Newbie question

2009-06-24 Thread xpsytor
Hello group! I am new to using CXF and have run into initial hiccups. Using JAX-WS styled notations I have deployed my services on tomcat in testing env. For consumption, I generated local stubs using the published wsdl. The problem is that not all classes are getting generated and some of them

RE: Newbie question on running the CXF Samples in Eclipse

2008-09-16 Thread Graham_Steveg
Ok, classpath incorrectly set up, this is what was tripping me up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 1:24 PM To: users@cxf.apache.org Subject: RE: Newbie question on running the CXF Samples in Eclipse I am not even

RE: Newbie question on running the CXF Samples in Eclipse

2008-09-16 Thread Graham_Steveg
" gives the same result. Like I said, I suspect it is something really simple that I am missing. sgg -Original Message- From: Ostermueller, Erik [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:25 PM To: users@cxf.apache.org Subject: RE: Newbie question on running

RE: Newbie question on running the CXF Samples in Eclipse

2008-09-16 Thread Ostermueller, Erik
22 AM To: users@cxf.apache.org Subject: Newbie question on running the CXF Samples in Eclipse Help please. I installed CXF on my machine, and am successful in running the samples from the command line. Now I want to see these samples running in Eclipse. But I am somewhat stuck (likely due to s

Newbie question on running the CXF Samples in Eclipse

2008-09-16 Thread Graham_Steveg
install directory. But now comes the really newbie question: "what else do I need to do in order to actually run or execute any of these samples in the eclipse environment? How do I actually run (or debug) one of these sample applications?". Thanks in advance sgg