How do I specify SOAP Address Location using maven cxf-codegen-plugin?

2008-04-08 Thread sgomez
Hi. I'm using the Maven cxf-codegen-plugin to generate a WSDL from a few Java classes. Everything works OK except for the soap:address location, that always has the same value: http://localhost:9090/hello;. I've been looking everywhere for a way to specify the location I want, but I haven't found

Suppress console output when using CXF

2008-04-08 Thread Curious1001
Hi all !! During execution of code using the CXF part it always print out lines like: 08.apr.2008 13:49:04 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL INFO: Creating Service {http://X.org/}ServiceX from WSDL: http://127.0.0.1/testme/ServiceX.asmx?wsdl

Re: Suppress console output when using CXF

2008-04-08 Thread Christian Vest Hansen
I suppose you could configure the logging levels and set the default level to something that doesn't include INFO: http://cwiki.apache.org/confluence/display/CXF20DOC/Debugging#Debugging-Configurelogginglevels. On 4/8/08, Curious1001 [EMAIL PROTECTED] wrote: Hi all !! During execution of

Re: Suppress console output when using CXF

2008-04-08 Thread Curious1001
Hi Glen!! Thank you very much. :-) Glen Mazza wrote: Yes. In the build.xml file in step #5 here[1], the run-client task, I specify the logging.properties file. Within that file, set the log level to warning or error and that should reduce almost all of the output. HTH, Glen

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
Can you post the wsdl? On Tue, Apr 8, 2008 at 10:46 AM, Tim Perrett [EMAIL PROTECTED] wrote: Hey All, Just trying to get up and running with CXF wsdl2java but I keep getting this error from the service I want to consume: Thrown by JAXB : undefined element declaration 's:schema' Its a

Manifest puzzle

2008-04-08 Thread Benson Margulies
Building from ant, I find that using the CXF Manifest jar works fine for the 'java' task, but not for the 'javac' task. Am I rediscovering a wheel?

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
This error emerges from the bowels of JAXB's xjc tool, complete with the lack of navigational info. However, What is s:complexType s:sequence s:element ref=s:schema / s:any / /s:sequence /s:complexType

Re: Manifest puzzle

2008-04-08 Thread Daniel Kulp
On Tuesday 08 April 2008, Benson Margulies wrote: Building from ant, I find that using the CXF Manifest jar works fine for the 'java' task, but not for the 'javac' task. Am I rediscovering a wheel? Possibly. Try adding the fork=true flag to javac. I'm not sure if the embedded classloader

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Ian Roberts
Benson Margulies wrote: What is s:complexType s:sequence s:element ref=s:schema / s:any / /s:sequence /s:complexType supposed to mean? It defines a complex type consisting of an XML schema document

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Benson Margulies
Well, I don't know how hard it is to apply the jaxb customization inside of CXF. My superiors in the secret college of JAXB will, with any luck, pipe up at this point. On Tue, Apr 8, 2008 at 12:15 PM, Ian Roberts [EMAIL PROTECTED] wrote: Benson Margulies wrote: What is

Re: Parameters not being resolved - broken going from 2.0.3 - 2.0.4 and still broken in 2.0.5

2008-04-08 Thread Zarar Siddiqi
Thanks Dan, this was the problem. I was using JAX-WS and by default the elementFormDefault for the service namespace was unqualified. Adding the package-info.java file with the following worked: @XmlSchema(namespace = http://domain.com/PersonService;, elementFormDefault=

Re: NoSuchMethodError: When creating SoapFault in WebLogic 9.2

2008-04-08 Thread Daniel Kulp
Most likely, the SAAJ jar that is being picked up by WebLogic is an SAAJ 1.2 version instead of a 1.3 version that we need. My gut feeling is that weblogic includes an old version. Not sure what the workaround is (I'm not familliar with weblogic), but that may be something to look for.

NoSuchMethodError: When creating SoapFault in WebLogic 9.2

2008-04-08 Thread stevewu
Hi all, When I create a SoapFault in my WebServices running in WebLogic 9.2 I am getting NoSuchMethodError exception. The same code works fine in JBoss. I tried using all possible addFault() methods but it give me the same exception. Am I missing some JARs? Here's the code to create

Re: Need help with WSDL2Java

2008-04-08 Thread Benson Margulies
That's soap encoding. CXF 2.0.x doesn't support it at all. CXF 2.1 might support it enough, I don't recall how complete is the job Dain did on it. On Tue, Apr 8, 2008 at 2:44 PM, Syed Haq [EMAIL PROTECTED] wrote: Hi, We have been using Axis (1.3)'s in our project for quite some time now.

CXF and http session?

2008-04-08 Thread Karsten Strunk
Hi everybody! I'm quite new to CXF, so my question might be a little bit stupid: I want to store some data on the server side over serveral webservice calls. So I thougt a HTTP session would be ok for that, but unfortunately my server doesn't return a cookie or any kind of session id back to

Re: Need help with WSDL2Java

2008-04-08 Thread Daniel Kulp
On Tuesday 08 April 2008, Benson Margulies wrote: That's soap encoding. CXF 2.0.x doesn't support it at all. CXF 2.1 might support it enough, I don't recall how complete is the job Dain did on it. Not far enough for this case. Dain hasn't started at all on any of the code generation parts.

Need help with WSDL2Java

2008-04-08 Thread Syed Haq
Hi, We have been using Axis (1.3)'s in our project for quite some time now. While trying to evaluate migration effort to cxf, I'm stuck right at the first step - unable to generate Java source out of WSDL file. Here is the error that I get: WSDLToJava Error: Thrown by JAXB : undefined

Re: Thrown by JAXB : undefined element declaration 's:schema'

2008-04-08 Thread Daniel Kulp
The CXF wsdl2java does support the jaxb binding files as well (-b flag). However, the -b things must be actual jaxb/jaxws binding files, not another schema. That's very strange syntax that I haven't seen before. Interesting. Thus, to get it working for CXF, you would need to modify

Re: CXF and http session?

2008-04-08 Thread Ian Roberts
Karsten Strunk wrote: Hi everybody! I'm quite new to CXF, so my question might be a little bit stupid: I want to store some data on the server side over serveral webservice calls. So I thougt a HTTP session would be ok for that, but unfortunately my server doesn't return a cookie or any kind

Re: Deploy into websphere 6.1

2008-04-08 Thread Glen Mazza
What happens if you place those JARs within your WAR (WEB-INF/lib directory)? Perhaps there is a precedence issue that is resulting in the older SAAJ jar still be picked up--placing it in the WAR might fix the issue. Also, googling CXF SAAJ Websphere (without quotes) returns 366 hits--could any

Re: Deploy into websphere 6.1

2008-04-08 Thread Daniel Kulp
Did you check the section at: http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide#AppServerGuide-Websphere about creating a new classloader instead of using endorsed? I'm wondering if you add the saaj stuff in as well, it might work. That said, Websphere is an IBM jdk which

Re: CXF and http session?

2008-04-08 Thread Daniel Kulp
On Tuesday 08 April 2008, Karsten Strunk wrote: Hi everybody! I'm quite new to CXF, so my question might be a little bit stupid: I want to store some data on the server side over serveral webservice calls. So I thougt a HTTP session would be ok for that, but unfortunately my server doesn't