ublesome though:
http://cwiki.apache.org/CXF20DOC/ws-security.html#WS-Security-SpringXMLConfiguration
BTW, I just finished my blog entry on this. Our code is similar, but maybe
you can find something else to leverage:
http://www.jroller.com/gmazza/date/20080716
Glen
Gary Weaver wrote:
>
&g
So my problem is twofold. I need to be able to:
a) Catch all exceptions that CXF sends back to the client and replace
the exception with a custom exception. Do I use an interceptor for
this? How do I basically return a Response object with custom XML and a
status code?
b) Have a standard way t
Hi Dan,
Looks like the problem with the mtom client is when we try to get the
attachment out as a stream from the Source Object.The getInputStream()
method on the Holder always returns a null object,while the
getReader()works.
This Does not work.
StreamSource dataSource = (StreamSour
Just verified that it works to set PW_CALLBACK_REF instead of
PW_CALLBACK_CLASS.
Do you think it would help to have examples on
http://cwiki.apache.org/CXF20DOC/ws-security.html that use
WSHandlerConstants.PW_CALLBACK_REF in addition (or maybe instead?) of
those that use WSHandlerConstants.PW
The first thing I should have done is to look at the WSS4J source... ;)
The code in WSS4J 1.5.4 to get your CallbackHandler is (
http://svn.apache.org/viewvc/webservices/wss4j/tags/1_5_4/src/org/apache/ws/security/handler/WSHandler.java?view=markup
):
--- start code ---
/**
* Get the p
dkulp wrote:
>
>
> Can you use wireshark or something to capture the request/response?
>
> Looking at the stack trace, I see:
>
> Caused by: java.net.HttpRetryException: cannot retry due to server
> authentication, in streaming mode
> at
> sun.net.www.protocol.http.HttpURLConnect
here is the other file
http://www.nabble.com/file/p18495715/SSRSjdk1_6_07_success.zip
SSRSjdk1_6_07_success.zip
--
View this message in context:
http://www.nabble.com/CXF-cannot-create-webservice-in-JDK-1.5-with-libraries-but-succeeds-in-1.6-tp18408520p18495715.html
Sent from the cxf-user maili
getting read-timeouts on soap11 and soap12 bindings :/
looks like provider doesnt support them..
M
On Wed, Jul 16, 2008 at 10:54 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:
>
> We don't support the HTTP post binding. The two soap bindings should work
> fine though.
>
> Dan
>
>
>
>
> On Jul 16,
We don't support the HTTP post binding. The two soap bindings should
work fine though.
Dan
On Jul 16, 2008, at 3:48 PM, Mert Çalışkan wrote:
Hi,
I'm trying to consume this wsdl:
http://pmum.teias.gov.tr/UzlasmaWeb/services/DGPService?wsdl
with the cxf-codegen-plugin like,
Hi,
I'm trying to consume this wsdl:
http://pmum.teias.gov.tr/UzlasmaWeb/services/DGPService?wsdl
with the cxf-codegen-plugin like,
org.apache.cxf
cxf-codegen-plugin
2.1.1
generate-sou
Well, couple questions:
1) Are you using a 2.1.x version of CXF or 2.0.x? The javascript
stuff is only in 2.1.x.
2) In your war or tomcat setup, are you using the big CXF bundle jar
or individual modules? If using modules, is the cxf-rt-javascript
jar in there?
3) Are you complete
I'm not sure what it's all about either. I just kind of followed the
instructions in:
http://feature.opengeospatial.org/forumbb/viewtopic.php?p=2424&sid=d681ab2e7b5117640ad50ee78328d69
that I found by googling the error message.
:-)
Dan
On Jul 16, 2008, at 11:57 AM, nmt999 wrote:
Tho
I'd rather configure passwords for my client that uses CXF via Spring,
but the use of CallbackHandler that seems it must be instantiated via
reflection makes this more difficult.
While I understand that some may want to store their password into a
hardcoded CallbackHandler class or even maybe
Though I did not understand what you were trying to do in the binding, it
works. Would you be able to suggest any quick tutorial for beginners to get
an understanding on this binding.
Thank you very much for your help.
Regards
nmt
dkulp wrote:
>
>
> Try this:
>
>
> xmlns:xsd="http://w
didn't thought of that...
Thanks!
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 5:31 PM
To: users@cxf.apache.org
Subject: Re: getting the ip address in the action method
Why go through the trouble of using an interceptor for this?
Why go through the trouble of using an interceptor for this?
If you do
@Resource
WebServiceContext ctx;
The ctx itself has the HttpServletRequest in it as well.
MessageContext.SERVLET_REQUEST key.
Dan
On Jul 16, 2008, at 8:35 AM, Yair Ben-Meir wrote:
Hi
I have a class implementing
Can you use wireshark or something to capture the request/response?
Looking at the stack trace, I see:
Caused by: java.net.HttpRetryException: cannot retry due to server
authentication, in streaming mode
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
I was wrong as I simplly misspelled the XSD file name :-/
sory for the noise
2008/7/16 nicolas de loof <[EMAIL PROTECTED]>:
> My WSDL use xs:import to acces the types schéma
>
> running wsdl2java (with 2.0.7 maven plugin) I get an import error as the
> schemaLocation is computed from project ba
My WSDL use xs:import to acces the types schéma
running wsdl2java (with 2.0.7 maven plugin) I get an import error as the
schemaLocation is computed from project basedir, not from the WSDL current
location.
Is this a known issue ???
Thanks! This works like a charm.
I m still happy I've learnt about ThreadLocal today...
-Original Message-
From: Ian Roberts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 4:09 PM
To: users@cxf.apache.org
Subject: Re: getting the ip address in the action method
Yair Ben-Meir wr
Beauty is in the eye of the beholder, same goes for elegance.
You could probably append the IP information to the incoming message
using CXF, maybe there are other options, I am not a CXF expert.
As you are not willing to expose this functionality as part of you
public interface (WSDL), most (al
I guess you mean you need access to the ip address in the implementation
of the method. If you are using JAX-WS frontend you can add a custom
header in the message and inject webServiceContext into your service
implementation. once you are inside your method implementation you can
retrive your
Yair Ben-Meir wrote:
The problem is - how can I pass the IP to the method? The method's arguments
are according to the WSDL, I can't change them and add "ip" or something
like that.
Store the IP address as a property of the Message in your interceptor:
message.put("my.package.ClientIP", ipAddr
Thanks David,
Let me start by saying I consider myself to be a Java specialist, after
programming in it for years and teaching courses about it. So I was amazed
to find out about this class "ThreadLocal" which is in core Java, and I (and
my colleagues here in the office) haven't heard about it, eve
How about a thread local?
-Original Message-
From: Yair Ben-Meir [mailto:[EMAIL PROTECTED]
Sent: 16 July 2008 13:36
To: users@cxf.apache.org
Subject: getting the ip address in the action method
Hi
I have a class implementing an interface annotated as a web service. In
the
method of this
Hi
I have a class implementing an interface annotated as a web service. In the
method of this class, I handle the request.
Now, I want to use the IP of the client in the logic of the method. So I
wrote an interceptor that gets the IP:
public class IpCxfInterceptor extends AbstractPhaseIntercepto
Hi Ron,
It's clear now. Do raise the Jira.
Regards,
Ulhas Bhole
rgavlin wrote:
By "non-ActiveMQ dynamic queue" I mean I am not using an ActiveMQ broker but
rather a broker from another vendor. The vendor's JMS implementation
supports dynamic queues, but it doesn't provide the "create the dyna
By "non-ActiveMQ dynamic queue" I mean I am not using an ActiveMQ broker but
rather a broker from another vendor. The vendor's JMS implementation
supports dynamic queues, but it doesn't provide the "create the dynamic
queue if it doesn't exist on jndi lookup" feature. I have already configured
the
Hi Ron,
I don't get what you mean by non-ActiveMQ dynamic queue? Do you mean
standard JMS queue (not the dynamic one) If that's the case CXF JMS
transport do not try to create the JMS queue on the broker if it doesn't
exists.(unless you use dynamicQueues on ActiveMQ)
By all means it can be d
Hello Daniel
I had another profiling session and this time saved the snapshot so we
can have a fixed point of reference. I am using JProfiler with CPU
measurement set to "Elapsed time", which according to the documentation
should ignore time spent while waiting or blocking.
This time I have:
74.
Thanks,
WebMethods does not support HTTP 1.1 and the chunked transfert. This fixed
the issue.
2008/7/16 Daniel Kulp <[EMAIL PROTECTED]>:
>
> Probably need to turn chunking off. See:
> http://cwiki.apache.org/CXF20DOC/client-http-transport.html
>
> Dan
>
>
>
> On Jul 11, 2008, at 5:36 AM, nicol
31 matches
Mail list logo