Hi there,
Actually when I apply an ascii encoding on message context with :
Message msg = PhaseInterceptorChain.getCurrentMessage();
message.put(Message.ENCODING, "ASCII");
I got an encoding with lowercases : ex : [ 'e0', 'e6' ]. I wish to get that
encoding in uppercase -> 'E0', 'E6' .
Is
Hi all,
In my WS application I store objects in session using this methode:
WebServiceContextImpl().getMessageContext().put(key, object)
And I get theme in the response interceptor using :
(object) message.getExchange().getInMessage().get(key);
So, that works fine but . what about callin
Hi all,
I want to extends AbstractSoapInterceptor to etid.save my soap requests.
but when try to retrieve the SOAPmessage by :*
getContent(SOAPMessage.class)* it returns a
SOAPMessage with null header and Body parts, while the response contains
realy body and headers (I use soapUI to test my
Hi Glen And thak you
I finally found it
What I was doing :
Object obj= arg0.getExchange().get("keyCode"); // DOES NOT WORK
The correct code is :
Object obj= arg0.getExchange().getInMessage().get("keyCode"); // WORK
M-A
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-
Hi,
Thanks for replay, I saw the example .
The guy puts the value of MAX_VALUE this way :
DoubleItService service = new DoubleItService();
DoubleItPortType port = service.getDoubleItPort();
((BindingProvider) port).getRequestContext().put("MAX_VALUE", "200");
There is no information
Hi all,
I create a simple cxf project based on maven archetype.
I deploy the on the war in tomcat and it works fine. But when I try to add a
custom interceptor, tomcat could not deploy the archive I get these
Exception:
Exception :
*Caused by: javax.xml.ws.WebServiceException:
org.apache.cxf.in
Hi,
This is what I did , And does nt work :
In my service I did this :
@Resource
private WebServiceContext wsctx;
...
final MessageContext messageContext = wsctx.getMessageContext();
messageContext.put("MYKEY", "keyValue");
And in my interceptor (response). I try to retrieve the value like :
Hello
Sorry for my english, I'll try to be as clear as I can
with CXF integrated in my application , I m extending the
AbstractPhaseInterceptor class so I can save my Request/Response into an
output file.
but, while my response xml contains no request information (like a customer
ID's for ex)
Hi Daniel , and thank you for reply,
I v tried this
@Logging(outLocation = "file:outsoap.log", inLocation = "file:outsoap.log",
pretty = true)
@Logging(outLocation = "file:c:\\outsoap.log", inLocation =
"file:c:\\outsoap.log", pretty = true)
but doesnt work. I can t find the logs files with out
Hi all
I m logging my soap in/out xml using the annotations
@InInterceptors(interceptors =
"org.apache.cxf.interceptor.LoggingInInterceptor")
@OutInterceptors(interceptors =
"org.apache.cxf.interceptor.LoggingOutInterceptor")
That works great. requests and response are logged in my application s
10 matches
Mail list logo