Hello:
I'm using Apache CXF 2.7.3
and I need to invoke a webservice from a web application ( servlet )
I had thought to implement it with a JAX-WS client , by using Spring's
jaxws:client
I would like to know if I can inject this client into the servlet object
in an object field and ,
Hi,
It's thread safe in many cases, please take a look at faq[1] to get more
details when it's not thread safe.
[1]http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe
-
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com |
Hi Juan,
Thanks for uploading the logs. I am not yet 100% sure but it looks like
there is an issue in the response delivery for request-response ws-rm case
after an error.
As we have several persistent recovery tests for ws-rm, I thought initially
the problem after a successful response
Hi Oliver,
Thanks, the tomcat-idp.jks was the keystore I was looking for.
However, I cannot make the 1.1.0-SNAPSHOT IDP running. I am using the same
Tomcat as for 1.0.0, I only replace the keystore for the HTTPS connector.
I simply deploy the STS and IDP. The STS WSDL is available as always.
Hi Greg,
It seems to work ok using this XSLT testing utility but it doesn't seem to do
anything at all in CXF using:
XSLTOutInterceptor outInterceptor = new XSLTOutInterceptor(Phase.PRE_STREAM,
StaxOutInterceptor.class, null, test.xsl);
config.getOutInterceptors().add(outInterceptor);
By
Thanks.
I guess that when I set jaxws:client in CXF Spring context file , I can
@Autowired it by type, right ?
Because , its not working for me
I've got
jaxws:client id=client
serviceClass=com.ws.FooPortType
address=http://x.x.x.x/foo/Foo.jpd;
Hi
On 03/06/13 16:32, eanbiso wrote:
Hi all,
I'm trying to publish and use cxf rest endPoint adding annotations required
to use the framework com.wordnik.swagger
I tried to follow the example at
Hi Ertuğrul
Thanks for your question, I'm redirecting to the users list,
On 30/05/13 13:40, Ertuğrul Saruhan wrote:
Hello
I have problem. I would like to implement OAuth with Apache CFX. There is a
sample named *oauth* (server and client) directory in *Apache CFX 2.75*
.
I make it run on
To actually include the SAML Token in the security header, you need to also
have either a SecurityPolicy that references a SamlToken policy, or else
set up WSS4J using the older Action based approach. For an example of the
policy case, please take a look at the SAML test data here:
Hi Oliver,
I found an error in my URL:
https://localhost:9443/fediz-idp/federation*/*
?wa=wsignin1.0wreply=https%3A%2F%2Flocalhost%3A8443%2Ffedizhelloworld%2Fsecureservlet%2Ffedwtrealm=https%3A%2F%2Flocalhost%3A8443%2Ffedizhelloworld%2F
I had to get rig of the / after federation. But anyway, I
Once you get to 2.7.5, you should be able to grab the principal and such from
the context. I think that is fine, but Colm would definitely need to weigh
in
on this. (although it's a public holiday in Ireland today)
Yep, the code looks like:
SecurityContext sc =
On 30/05/13 09:39, krish09 wrote:
hey I am also facing the same issue. Can you please let me know the bug no
for this so later on I can try this as in my company also I cant use
snapshot label.
See https://issues.apache.org/jira/browse/CXF-4949
CXF 2.6.8 should have it fixed
Sergey
--
View
I've updated a schema to Java type map to included 'float' and 'double'
types too
Cheers, Sergey
On 03/06/13 14:08, rjadrian wrote:
The interface resource created by wadl2java (using maven
cxf-wadl2java-plugin) is always setting the parameter data type to String
for any floating point types
FYI, I've done a minor update to make sure all of the code needed to set
a field value runs as privileged, which may help in cases like this one.
where CGLIB proxies are used, but working with setters is always a safe
approach too
Cheers, Sergey
On 03/06/13 21:12, Sergey Beryozkin wrote:
Hi,
sorry, i don't understand.
I also just noticed my initial post got cut off (wadl above, generated
Resource result below).
@GET
@Produces(text/xml)
ListingListType get(@QueryParam(miles) String miles);
--
View this message in context:
Hi Sergey,
the annotation that is responsible for the failure is the
@Path(/PubDocs.json)
Removing it the endPoint works fine.
All the annotations used in the class are the following :
@Path(/PubDocs.json)
@Api(value = /PubDocs, description = Operations about pubDocs)
Hello,
I would like to ask, if there is way to easily create simple test html
application to call cxf web service?
Something like Eclipse Web Service Explorer, which is in fact web app
generated on the fly based on provided WSDL.
Just call some url inside my app, like
Hi Oliver again,
Sorry for spamming you. I have no idea what I did, but the 1.1.0-SNAPSHOT
RP(tomcat)/IDP/STS is working now. Please forget my previous two mails.
Kind regards,
Ivan
2013/6/4 Iván Brencsics ivan.brencs...@gmail.com
Hi Oliver,
I found an error in my URL:
Just look at the unit tests.
Firing up a server is about 4 lines.
On Jun 4, 2013, at 7:46, Martin Choma martin.ch...@gmail.com wrote:
Hello,
I would like to ask, if there is way to easily create simple test html
application to call cxf web service?
Something like Eclipse Web Service
Why not use Eclipse Web Service Explorer?
On 04/06/2013 9:54 AM, Johan Edstrom wrote:
Just look at the unit tests.
Firing up a server is about 4 lines.
On Jun 4, 2013, at 7:46, Martin Choma martin.ch...@gmail.com wrote:
Hello,
I would like to ask, if there is way to easily create simple
On 04/06/13 14:23, rjadrian wrote:
sorry, i don't understand.
I also just noticed my initial post got cut off (wadl above, generated
Resource result below).
@GET
@Produces(text/xml)
ListingListType get(@QueryParam(miles) String miles);
I believe the reason you are seeing 'String'
Hi
On 04/06/13 14:31, eanbiso wrote:
Hi Sergey,
the annotation that is responsible for the failure is the
@Path(/PubDocs.json)
Removing it the endPoint works fine.
All the annotations used in the class are the following :
@Path(/PubDocs.json)
@Api(value = /PubDocs, description
will do. Thx!
--
View this message in context:
http://cxf.547215.n5.nabble.com/wAdl2java-not-creating-floating-point-data-types-properly-tp5728638p5728728.html
Sent from the cxf-user mailing list archive at Nabble.com.
This definitely should be working and we have test cases for it:
https://issues.apache.org/jira/browse/CXF-2449
https://fisheye6.atlassian.com/changelog/cxf?cs=819092
If it's not working, a test case would definitely be useful to see why it's
different then the test cases we have.
Dan
Hi Andrei,
The question though (as Dan pointed out) is whether the SAML Token will be
available on the security context, if it is used in the context of
SecureConversation.
Dan, I recommend starting with an existing test:
My colleague Andrei has spotted this post which I missed, while coming to the
same conclusion that there's a bug in this specific Request method
implementation, going to be fixed shortly, I think the workaround is to use
the dedicated Request evaluatePreconditions methods, first check
The problem is that the client enters in the while cicle of the follofing
method of ClientImpl class:
protected void waitResponse(Exchange exchange) {
int remaining = synchronousTimeout;
while (!Boolean.TRUE.equals(exchange.get(FINISHED)) remaining
0) {
long
Hi Juan,
It looks like the problem occurs after the response retransmission from the
server at the client side at its decoupled receiving port. Because you have
a request-response call, there is a step to correlate this response message
to the original exchange. But the old exchange was gone when
Hi Sergey,
I've tried but the same problem occurs.
the only ways to call the ws without exceptions seem to be:
1) remove the annotation @Path
2) or replace it with general @Path(/)
Cheers,
Andrea
Date: Tue, 4 Jun 2013 07:19:00 -0700
From: ml-node+s547215n5728727...@n5.nabble.com
To:
Hi
On 04/06/13 17:35, eanbiso wrote:
Hi Sergey,
I've tried but the same problem occurs.
the only ways to call the ws without exceptions seem to be:
1) remove the annotation @Path
2) or replace it with general @Path(/)
Hmm, so which URI works ?
When you have
@Path(/PubDocs.json)
then you
Hello Aki,
Thanks for your response and for taking the time to review the information
I provided. While I'm still processing the answer I can think of two
possible solutions:
- Changing the model so we use one-way endpoints if WS-RM with decoupled
endpoint is present.
- Purge the messages from
I'm sorry, I have not explained clearly,
I was referring to the call of the other endPoint.
I try to explain:
whit the annotation
@Path(/PubDocs.json)
in the RestPublicDocsJSON class, when I call the endPoint
http://localhost:8162/PubDocs/isReady
the call fails with the exception
In simple, when i use annotations the request object is not embedding in
the wsdl file , but when i use spring configuration it is embedding.
Read onnn...
I am new bye to CXF Web services.
We are using CXF with Spring
Following is my Web service class
*@WebService*
public interface
Hi,
I have exactly the same problem as described above. Using newest 2.7.5
version. Without schema validation enabled everything works without
problems. But with schema-validation-enabled:
jaxws:properties
entry key=schema-validation-enabled value=true /
/jaxws:properties
and manually
On 04/06/13 19:03, eanbiso wrote:
I'm sorry, I have not explained clearly,
I was referring to the call of the other endPoint.
I try to explain:
whit the annotation
@Path(/PubDocs.json)
in the RestPublicDocsJSON class, when I call the endPoint
http://localhost:8162/PubDocs/isReady
the
I prefer to use JUnit test but lately I'm using SoapUI ( for SOAP
webservice, of course )
Regards
2013/6/4 Martin Choma martin.ch...@gmail.com
Hello,
I would like to ask, if there is way to easily create simple test html
application to call cxf web service?
Something like Eclipse Web
Hi,
I'm trying to learn how to correctly use WS-Policy with CXF (using version
2.7.2) and would like to know if there's a way to log the effective policy
calculated for both consumer and provider?
The problem is that I have a wsdl with 3 policies attached to different points.
The first policy
Hi,
I'm trying to learn how to correctly use WS-Policy with CXF (using version
2.7.2) and would like to know if there's a way to log the effective policy
calculated for both consumer and provider?
The problem is that I have a wsdl with 3 policies attached to different points.
The first policy
I also use SoapUI.
But my goal is give to non-technical colleagues tool to easily call web
service.
So there is not such tool as i asked? Integrated in cxf?
What about another web service stacks, do they have this feature? Doesnt
exists some standalone web app (one war) which get wsdl and
39 matches
Mail list logo