I use the one parameter Constructor.
-- throw new MetaInformacionException(Error in meta Info)
Glen Mazza-2 wrote:
Am Mittwoch, den 28.11.2007, 00:25 -0800 schrieb imorales:
Hi all. I developed a web service using CXF. The methods of the web
service
throws Custom Exceptions. Something
Upgrade to the two or three parameter one, as you can see from [2], they
are the only versions that will incorporate your custom exception:
(Code from [2]:)
// ignores custom exception:
public CustomException (String message) { super(message); }
// absorbs custom exception:
public
Sorry but I´m missing something. My MetaInfoException have 3 methos as you
can see in [1], and the server olny can throw this exception.
I have auto-generated classes with the CXF tool WSDL2Java that generates my
MetaInfoException and MetaInfoException_Exception that have 3 the methods
see
Errr...sorry, apparently we are discussing two different things.
There may be another issue with Exceptions, unrelated to yours, that I
just submitted on the dev list[4]. I'm still a rather newbie committer
so it could be just a misunderstanding on my part. Apparently your
problem is not
Yes but my problem is that I can´t throw MetaInfoException_Exception in the
web service code because the WSDL says that only throws MetaInfoException.
But in the port client auto-generated throws MetaInfoException_Exception and
that´s because I can´t throw MetaInfoException_Exception in the web
Glen,
Thanks for the response. It is a JAXB specific question and yes I did
google for both of those but they turn up pages related to an XmlAdapter
which doesn't seem like the right solution. In addition we don't use
annotations (we use the InlineAnnotationsReader from JBoss) so I'm not sure
Correct -- on the server side, https requires step 0, though you also
need to do a bit more than just setting the server factory. You
should have a look at the https sample in the distribution for the
full picture. The basic idea is that you configure the physical port/
socket using TLS
See the http-conf:trustDecider in
https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/transports/
http/src/main/resources/schemas/configuration/http-conf.xsd
You'll need to implement your own
org.apache.cxf.transport.http.MessageTrustDecider, but this will get
called when a connection
Hi everybody!
I'm trying to sign both request and response of a WS call.
Signing request with UsernameToken and Signature works well but signing
response throws an exception (see stacktrace bellow)
I have done tons of tests but I have to give up, no more idea and nothing
found on forums.
Any
Kuro,
I suggest avoiding RPC. Can the perl thing deal with Doc/literal/bare?
--benson
-Original Message-
From: Teruhiko Kurosaka [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 6:03 PM
To: cxf-user@incubator.apache.org
Subject: perl (SOAPLite) interoperability with
Is there a way to control the content type that CXF sends.. I'm having
a heck of a time figuring out how.. Here's the issue.. My CXF client
is sending a content type of text/xml;charset=utf-8 while my WCF
client (and service) is using application/soap+xml; charset=utf-8.
This is the configuration
Has anybody had any problem returning arrays with document/literal
wrapped?
I have the following wsdl that consistenly returns an empty response
even though I can see the server side has data to return as elements in
the array
...
element name=getAllUsersResponse
Hello,
I have a Maven 101 question--for our CXF/Maven sample here[1], where/how
do I set the basedir property (i.e., the ${basedir} you see multiple
places in the file)? Does it default to the location of the pom.xml
file--i.e., I actually don't need to specify it?
Thanks,
Glen
[1]
I can answer my own question--basedir is defaulted to the directory of
the pom.xml file; and it can be set differently via a properties
element just before dependencies/ in the pom.xml as follows:
properties
basedir/home/username/.../basedir
/properties
Glen
Am Donnerstag, den
Hello,
I have another CXF/Maven[1] newbie question--to run wsdl2java using
Maven, what is the plugin prefix for wsdl2java, i.e.,
mvn :wsdl2java at the command line? Currently I'm using mvn
generate-sources instead which works fine, but would like to see if I
can get it to work using the
Hello guys,
I´m starting to develop with webservices... I would like to start with a simple
call to a WS, given that I have the WSDL url. To relieve me from generating
service interfaces, I´m trying to use a DynamicClient (as shown in
http://xfire.codehaus.org/Dynamic+Client ). But I
Kaleb,
This is an interesting question, and one which I have encountered twice
in the last week. I came up with a solution which works using
@XmlAdaptor (wait, don't write it off just yet...)
First a caveat: this only works if you represent the map as a *wrapped*
list of {k,v} pairs. Probably
Can you fill a JIRA[1] and submit your test case ?
It will helpful for use to trace the bug.
[1]http://issues.apache.org/jira/browse
Willem.
ahwulf wrote:
If I turn off FINE and thus ignore the error, the server app still doesn't
load - it loops endlessly apparently reloading all the beans. I
Can not reproduce the error, you don't paste your xsd, what's the error
message?
James
Can't generate code from
?xml version=1.0 encoding=UTF-8?
definitions
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
Glen,
You have to do couple things in order to run codegen:wsdl2java under the
folder which contains the pom.xml
You can take a look at the /tools/jdee which is a maven plugin i did for
generating the emacs jdee project
How it works?
0. Look at the /tools/jdee/pom.xml, the group id is
Fixed. To return a String using text/plain content type, you need a
@ProduceMime annotation as below:
@HttpMethod(GET)
@UriTemplate(/booknames/{bookId}/)
@ProduceMime(text/plain)
public String getBookName(@UriParam(bookId) int id) throws
BookNotFoundFault {
...
}
21 matches
Mail list logo