With 2.2.4 it works fine :-)
I still mustn't add these imports:
import resource=classpath:META-INF/cxf/cxf.xml /
import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
import resource=classpath:META-INF/cxf/cxf-servlet.xml /
But I'm now able (with 2.2.4) to configure
Hi
But When Sync Service uses PolicyService using the Client API, I am getting
the following error even though I am registering reader within the sync
service.
SEVERE: .No message body reader found for class : class
biz.neustar.panjika.policy.dto.ProfilePolicy, ContentType : {1}.
I'll fiix
Also, I get a similar message that 'no message body reader found' when I am
registering more than 2 providers for custom types. I simply end up using
a different end point..i mean more jaxrs:server for those other types.
I am using xmlbeans and I have reader/writer provider for every type in
jaxrs:client solution that you have provided worked perfectly fine.
I had to do a NP check on the UriInfo
Now, I get the colocation performance benefit.
rkam
--
View this message in context:
http://www.nabble.com/Multiple-Custom-Providers-tp25916823p25926686.html
Sent from the cxf-user
Hi
jaxrs:client solution that you have provided worked perfectly fine.
great...
I had to do a NP check on the UriInfo
can you give me some more info please ? Is it not injected into your custom reader when the jaxrs client starts processing the
response ?
Now, I get the colocation
On Fri October 16 2009 5:01:05 am Spam wrote:
With 2.2.4 it works fine :-)
I still mustn't add these imports:
import resource=classpath:META-INF/cxf/cxf.xml /
import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
import resource=classpath:META-INF/cxf/cxf-servlet.xml /
No, UriInfo was not set and was giving null pointer .. So I had to check Null
Pointer before I used it
I was under the assumption that ClientAPI uses colocation .. may be not yet.
But for intra service messaging we definitely want colocation rather than go
down the tcp stack.
Also, can you
No, UriInfo was not set and was giving null pointer .. So I had to check Null
Pointer before I used it
I'd really appreciate if you could give more infor about it (send me some code please showing how UriInfo is declared, is it
injected as a filed, etc). I have a WebClient test which uses
I declared as follows in my class. ui doesn't get set when called thru
jaxrs:client but works fines otherwise.
private UriInfo ui;
@Context
public void setUriInfo(UriInfo ui) {
this.ui = ui;
}
Also, when a jaxrs server contains multiple
This may win some sort of a prize for a simple question.
I want to define a JAX-RS function where the function provides, as a
response, the entire content of the response plus the content type. I might,
for example, be returning an entire CSV spreadsheet.
ok, I'll investigate the problem with setting UriInfo in readers used as part
of processing jaxrs:client invocations...
It ignores profilePolicyReaderProvider for a CustomType ProfilePolicy and
gives me an error that no message reader is found.
I'm still confused about this one. Does the
Hi Benson
You might want to return a StreamingOutput and have @Produces(CSV type).
Or return it as a multipart/mixed, and have @Multipart annotation on the
method level which will specify the type for the root type
cheers, Sergey
bimargulies wrote:
This may win some sort of a prize for a
Basically, the way this is supposed to work (with wss4j right now, maybe
changed in the future) is that WSS4J will verify the signature using whatever
it finds in the keystore (or elsewhere).
After signature validation occurs, it then calls the verifyTrust method to
make sure the cert that
This came up while testing a new feature, but I thought it might be
generally useful, so I'd pose it here.
Say you wanted to grab the Endpoint for a service from inside the
implementation.
It looked to me as if I could (a) ask for injection of a WebServiceContext,
(b) from any WebMethod, ask the
Can I dynamically state the content type? I definitely don't want multipart.
On Fri, Oct 16, 2009 at 5:07 PM, Sergey Beryozkin sergey.beryoz...@iona.com
wrote:
Hi Benson
You might want to return a StreamingOutput and have @Produces(CSV type).
Or return it as a multipart/mixed, and have
15 matches
Mail list logo