Yup,
Kudos to Roman Roelofsen for dreaming this one up!
Cheers,
Ade.
Jim Ma-3 wrote:
Great! Ade. It's artful hackery .
-Jim
Adrian Trenaman wrote:
Hi Jim,
Just to follow up on this - I had a go at providing a skeleton Java
package
with the package-info.java(.class) in place:
Hi,
I use the cxf-codegen-plugin maven plugin to generate java classes for a
wsdl of mine. I then use the generated service like this:
new FooService(wdlUrl, serviceQname).getFoo().bar(bleech)
But why does the FooService actually need the wsdlUrl again? I can see it
resolves it. I thought,
So, to try and answer my own question (and you might very well correct me
here, if I am wrong :-))
But why does the FooService actually need the wsdlUrl again? I can see it
resolves it. I thought, that when i chose the path of generating classes
from WSDL to java, I had done all the wsdl
Daniel,
I posted this exact same question last week to the mailing list but have
not received a response on it yet. I am receiving the exact same error
as you. I attempted to look for the namespace parser that extracts the
schemaLocation but couldn't find one. Hopefully I just couldn't find it
Hello,
I hava a big problem with geronimo-javamail_1.4_spec-1.0-M1 for my cxf web
services project.
I need to migrate geronimo-javamail to javamail of sun. As this migration is
not possible due to a bug I've splitted geronimo-javamail into two new jars
- one containing only javax/mail/...
When split geronimo-javamail jar into two jars and replace the first one with
the one of sun web services don't work anymore.
Web services traces show the inbound message but there is an error when
parsing this message saying something like missing soap version
dkulp wrote:
Nuka,
This is the trace
Invoking getName...
27 août 2007 17:55:11 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: null is not a valid SOAP version.
at
This error is probably hiding a bigger issue. Any chance of a
tcpdump/wireshark log of the response?Most likely, this is a server
side error and the response coming back is not a soap message at all.
It's probably html (with no namespace thus the null is not a valid
soap version
The server is on my computer. The problem is that if I am using
geronimo-javamail_1.4_spec-1.0.jar (the original) it's work.
dkulp wrote:
This error is probably hiding a bigger issue. Any chance of a
tcpdump/wireshark log of the response?Most likely, this is a server
side error
This is the inbound message. There is no outbound message in the server
traces.
nuka wrote:
The server is on my computer. The problem is that if I am using
geronimo-javamail_1.4_spec-1.0.jar (the original) it's work.
dkulp wrote:
This error is probably hiding a bigger
INFO: Find registry server-registry.xml at classpath resource
27 ao¹t 2007 17:52:06 org.apache.catalina.startup.Catalina start
INFO: Server startup in 36081 ms
27 ao¹t 2007 17:55:11 org.apache.cxf.interceptor.LoggingInInterceptor
handleMess
age
INFO: Inbound Message
Hi Guillaume
This is a little bit tricky, but doable I think.
Step 1: Write your own TypeCreator which initializes a MyBeanType with your
own BeanTypeInfo. BeanTypeInfos provides metadata about how to map beans to
xml.
public class MyTypeCreator extends DefaultTypeCreator {
@Override
Probably the easiest way is to add an @IgnoreProperty annotation to the
property. Or you can supply an XML mapping file for your bean as well.
mapping files are named after your bean - so something along the lines of
MyBean.aegis.xml if your bean is named MyBean. They reside on the classpath
in
Hi Jacob,
You may have to turn on xsi:type writing for aegis. If you're using the API,
it'll probably look something like this:
ServerFactoryBean sf ...
MapString, Object props = new HashMapString, Object();
props.put(AegisDatabinding.WRITE_XSI_TYPE_KEY, true);
sf.setProperties(props);
Or in
Per,
Technically, JAX-WS doesn't need the WSDL again at runtime if you don't
want it. However, it does require a bit of extra configuration. The
main use of grabbing the wsdl at runtime is to grab the live
soap:address location. Basically, you could publish a static wsdl at a
known
I tried something like this once in an effort to take control of
namespace prefix selection. I failed. However, it looks here as if the
protocol facilitates what you want here, unlike (sadly) what I wanted.
-Original Message-
From: Dan Diephouse [mailto:[EMAIL PROTECTED]
Sent: Monday,
Thanks Dan! I have got it work.
I notice one interesting thing though. If I send a Date from the client, it
is getting converted to an
XMLGregorianCalendarImpl at the server side. I see that there is an existing
JIRA issue open on this.
(https://issues.apache.org/jira/browse/CXF-369)
I changed
Does anyone have an example of authenticating with Acegi Security using a
Simple Server?
I'd like to pass the authentication token as easily and securely as
possible -
http://www.vorburger.ch/blog1/2006/10/propagating-acegis-security-context-in.html
suggests passing it in the SOAP headers.
I opened bug CXF-948 for this, but anyway; here's the problem.
Deploying CXF via the CXFServlet, you will get a NullPointerException
when your URL contains extra parameters...
This URL
http://localhost:8181/ws/soap/CurrencyExchange?wsdlusername=TESTpassword=password
Causes this stack trace...
This might seem like an odd answer, but you can also look at how
Spring-WS does it...
http://static.springframework.org/spring-ws/site/reference/html/security.html
On 8/27/07, Kaleb Walton [EMAIL PROTECTED] wrote:
Does anyone have an example of authenticating with Acegi Security using a
Hi all,
I notice that in CXF, the xsd elements for method names have a type
attribute. This was not the case in XFire.
Here is an example of what I am talking about. My question is, is there a
way to get CXF to spit out wsdl exactly as XFire?
Thanks,
Jacob
XFire
==
xsd:element
I don't know a lot about acegi, but if you are only talking about
propagating a WS-Security UnsernameToken through a SOAP wss:Security
header, then yes, CXF is perfectly capable of doing this.
Note, however, that you will need to add some code on the consuming
side of the message to
22 matches
Mail list logo