You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ajweav <aj...@gmail.com> on 2008/05/14 16:11:33 UTC
Java client using CXF to call x509 secure Wservice
I am looking for a post on using CXF to generate stub code and connect to a
secure (x509) service.
I am trying to do the same thing now with a Weblogic web service (but who
cares if its weblogic really, for all intents and purposes, its some web
service in a cloud with an x509 cert auth requirement)
I have the key... have added it to my keystore. I just am trying to use a
main method to call the service.... But to no avail and cant find a good
example.
FYI: I am not using HTTPS!!!, only using certs for authentication, not
encryption... its point to point so I don't care about encryption (plus I
know how to do that already).
The samples that come with CXF DL only go into using HTTPS for encryption...
again, not what I need.
Any examples, links, or pointers would be appreciated.
Thanks
AJ
--
View this message in context: http://www.nabble.com/Java-client-using-CXF-to-call-x509-secure-Wservice-tp17232021p17232021.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Java client using CXF to call x509 secure Wservice
Posted by Daniel Kulp <dk...@apache.org>.
On May 14, 2008, at 11:53 AM, ajweav wrote:
>
> Well AXIS supports JAX-RPC, so I could use that in lieu of CXF for
> now.
>
Technically, Axis 1 supports JAX-RPC. Axis 2 does not.
> Also:
>
> 1.) (I know this isnt a BEA board), but does that mean I'd have
> issues with
> inter-op as well (calling BEA WS from a .Net client)? I cant seem
> to get
> that working either, but since you seem to have knowledge of BEA, I
> thought
> Id through it out to you...
>
> 2.) to make this second post a CXF user board qualifying post, have
> there
> been inter-op issues calling .Net service (pre-WCF) since I believe
> they are
> RPC as well?
All of that really depends. Some of the older toolkits from MS did
support the "wrapped doc/lit" stuff which would work with the modern
toolkits as well. I'm definitely not a MS person so I'm not familiar
with all the details, but if you can get your services using the
wrapped doc/lit stuff, you're definitely much better off. Most of
the older JAX-RPC toolkits also supported the wrapped doc/lit stuff as
well. The BEA stuff might. I don't really know.
Dan
>
>
> Thanks
> AJ
>
>
>
>
> Glen Mazza-2 wrote:
>>
>> 2008-05-14 ajweav wrote:
>>
>>> I am looking for a post on using CXF to generate stub code and
>>> connect to
>>> a
>>> secure (x509) service.
>>>
>>> I am trying to do the same thing now with a Weblogic web service
>>> (but who
>>> cares if its weblogic really, for all intents and purposes, its
>>> some web
>>> service in a cloud with an x509 cert auth requirement)
>>>
>>
>> Not necessarily unfortunately--as far as its security features go,
>> BEA
>> WebLogic is a JAX-RPC implementation (read caution at the tops of [1]
>> and [2]), while CXF is JAX-WS, so YMMV. We are grappling with that
>> at
>> work right now, and I unfortunately don't have any answers yet.
>>
>> Glen
>>
>> [1] http://e-docs.bea.com/wls/docs100/webserv/setenv.html
>> [2] http://e-docs.bea.com/wls/docs100/webserv/jaxws.html
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Java-client-using-CXF-to-call-x509-secure-Wservice-tp17232021p17234455.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
---
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog
Re: Java client using CXF to call x509 secure Wservice
Posted by ajweav <aj...@gmail.com>.
Well AXIS supports JAX-RPC, so I could use that in lieu of CXF for now.
Also:
1.) (I know this isnt a BEA board), but does that mean I'd have issues with
inter-op as well (calling BEA WS from a .Net client)? I cant seem to get
that working either, but since you seem to have knowledge of BEA, I thought
Id through it out to you...
2.) to make this second post a CXF user board qualifying post, have there
been inter-op issues calling .Net service (pre-WCF) since I believe they are
RPC as well?
Thanks
AJ
Glen Mazza-2 wrote:
>
> 2008-05-14 ajweav wrote:
>
>> I am looking for a post on using CXF to generate stub code and connect to
>> a
>> secure (x509) service.
>>
>> I am trying to do the same thing now with a Weblogic web service (but who
>> cares if its weblogic really, for all intents and purposes, its some web
>> service in a cloud with an x509 cert auth requirement)
>>
>
> Not necessarily unfortunately--as far as its security features go, BEA
> WebLogic is a JAX-RPC implementation (read caution at the tops of [1]
> and [2]), while CXF is JAX-WS, so YMMV. We are grappling with that at
> work right now, and I unfortunately don't have any answers yet.
>
> Glen
>
> [1] http://e-docs.bea.com/wls/docs100/webserv/setenv.html
> [2] http://e-docs.bea.com/wls/docs100/webserv/jaxws.html
>
>
>
>
--
View this message in context: http://www.nabble.com/Java-client-using-CXF-to-call-x509-secure-Wservice-tp17232021p17234455.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Java client using CXF to call x509 secure Wservice
Posted by Glen Mazza <gl...@verizon.net>.
2008-05-14 ajweav wrote:
> I am looking for a post on using CXF to generate stub code and connect to a
> secure (x509) service.
>
> I am trying to do the same thing now with a Weblogic web service (but who
> cares if its weblogic really, for all intents and purposes, its some web
> service in a cloud with an x509 cert auth requirement)
>
Not necessarily unfortunately--as far as its security features go, BEA
WebLogic is a JAX-RPC implementation (read caution at the tops of [1]
and [2]), while CXF is JAX-WS, so YMMV. We are grappling with that at
work right now, and I unfortunately don't have any answers yet.
Glen
[1] http://e-docs.bea.com/wls/docs100/webserv/setenv.html
[2] http://e-docs.bea.com/wls/docs100/webserv/jaxws.html