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
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
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
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
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
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?
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
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
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
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
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=
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.
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
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.
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
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.
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
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
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
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
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
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
22 matches
Mail list logo