You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by PonPrathip <po...@ust-global.com> on 2010/05/01 15:26:27 UTC

CXF Standlone Client to include SSLContext Toke


Hi,

 Can anyyou please help me  in creating a CXF standlone WebService client 
that  needs to take/include SSLContextToken in its SOAP Request to connect
to the .Net Server.
Provided below  some portion of the WSDL 

 <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
   <X509Data>
      <X509Certificate></X509Certificate>
   </X509Data>
</KeyInfo>
</Identity>

<sp:ProtectionToken>
<wsp:Policy>
<mssp:SslContextToken
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"
  xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy">
 <wsp:Policy>
   <sp:RequireDerivedKeys />
            <mssp:RequireClientCertificate />
   </wsp:Policy>
</mssp:SslContextToken>
</wsp:Policy>
</sp:ProtectionToken>


Please help me I am very ne to WS Security layer..Please provide some links
where I can get some information about this

-- 
View this message in context: http://old.nabble.com/CXF-Standlone-Client-to-include-SSLContext-Toke-tp28420778p28420778.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: CXF Standlone Client to include SSLContext Toke

Posted by Daniel Kulp <dk...@apache.org>.
On Tuesday 04 May 2010 12:59:23 am Ponprathip Aasaithambi (UST, IND) wrote:
> Hi Daniel,
> 
>    Whether AXIS extends support to SslContextToken?

I do not believe Axis supports SslContextToken either.   I actually don't 
think ANY of the Java toolkits support it.   

Dan


>    If yes can you
> please provide some inputs on how to create AXIS Client that takes
> SSLContextToken in its SOAP Request
> 
> Thanks & Regards,
> A.Prathip
> 
> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Monday, May 03, 2010 11:07 PM
> To: users@cxf.apache.org
> Cc: Ponprathip Aasaithambi (UST, IND)
> Subject: Re: CXF Standlone Client to include SSLContext Toke
> 
> 
> CXF doesn't support the Microsoft specific SslContextToken.   If you
> would
> like to write the support for it, I'd be happy to provide pointers as to
> where
> to start.
> 
> Dan
> 
> On Saturday 01 May 2010 9:26:27 am PonPrathip wrote:
> > Hi,
> > 
> >  Can anyyou please help me  in creating a CXF standlone WebService
> 
> client
> 
> > that  needs to take/include SSLContextToken in its SOAP Request to
> 
> connect
> 
> > to the .Net Server.
> > Provided below  some portion of the WSDL
> > 
> >  <Identity
> > 
> > xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
> 
> <KeyInfo
> 
> > xmlns="http://www.w3.org/2000/09/xmldsig#">
> > 
> >    <X509Data>
> >    
> >       <X509Certificate></X509Certificate>
> >    
> >    </X509Data>
> > 
> > </KeyInfo>
> > </Identity>
> > 
> > <sp:ProtectionToken>
> > <wsp:Policy>
> > <mssp:SslContextToken
> 
> sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/In
> clu
> 
> > deToken/AlwaysToRecipient"
> > xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy">
> > <wsp:Policy>
> > 
> >    <sp:RequireDerivedKeys />
> >    
> >             <mssp:RequireClientCertificate />
> >    
> >    </wsp:Policy>
> > 
> > </mssp:SslContextToken>
> > </wsp:Policy>
> > </sp:ProtectionToken>
> > 
> > 
> > Please help me I am very ne to WS Security layer..Please provide some
> 
> links
> 
> > where I can get some information about this

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

RE: CXF Standlone Client to include SSLContext Toke

Posted by "Ponprathip Aasaithambi (UST, IND)" <Po...@ust-global.com>.
Hi Daniel,

   Whether AXIS extends support to SslContextToken? If yes can you
please provide some inputs on how to create AXIS Client that takes
SSLContextToken in its SOAP Request

Thanks & Regards,
A.Prathip

-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org] 
Sent: Monday, May 03, 2010 11:07 PM
To: users@cxf.apache.org
Cc: Ponprathip Aasaithambi (UST, IND)
Subject: Re: CXF Standlone Client to include SSLContext Toke


CXF doesn't support the Microsoft specific SslContextToken.   If you
would 
like to write the support for it, I'd be happy to provide pointers as to
where 
to start.

Dan



On Saturday 01 May 2010 9:26:27 am PonPrathip wrote:
> Hi,
> 
>  Can anyyou please help me  in creating a CXF standlone WebService
client
> that  needs to take/include SSLContextToken in its SOAP Request to
connect
> to the .Net Server.
> Provided below  some portion of the WSDL
> 
>  <Identity
> xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
<KeyInfo
> xmlns="http://www.w3.org/2000/09/xmldsig#">
>    <X509Data>
>       <X509Certificate></X509Certificate>
>    </X509Data>
> </KeyInfo>
> </Identity>
> 
> <sp:ProtectionToken>
> <wsp:Policy>
> <mssp:SslContextToken
>
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/In
clu
> deToken/AlwaysToRecipient"
> xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy">
> <wsp:Policy>
>    <sp:RequireDerivedKeys />
>             <mssp:RequireClientCertificate />
>    </wsp:Policy>
> </mssp:SslContextToken>
> </wsp:Policy>
> </sp:ProtectionToken>
> 
> 
> Please help me I am very ne to WS Security layer..Please provide some
links
> where I can get some information about this

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Re: CXF Standlone Client to include SSLContext Toke

Posted by Daniel Kulp <dk...@apache.org>.
CXF doesn't support the Microsoft specific SslContextToken.   If you would 
like to write the support for it, I'd be happy to provide pointers as to where 
to start.

Dan



On Saturday 01 May 2010 9:26:27 am PonPrathip wrote:
> Hi,
> 
>  Can anyyou please help me  in creating a CXF standlone WebService client
> that  needs to take/include SSLContextToken in its SOAP Request to connect
> to the .Net Server.
> Provided below  some portion of the WSDL
> 
>  <Identity
> xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity"> <KeyInfo
> xmlns="http://www.w3.org/2000/09/xmldsig#">
>    <X509Data>
>       <X509Certificate></X509Certificate>
>    </X509Data>
> </KeyInfo>
> </Identity>
> 
> <sp:ProtectionToken>
> <wsp:Policy>
> <mssp:SslContextToken
> sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/Inclu
> deToken/AlwaysToRecipient"
> xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy">
> <wsp:Policy>
>    <sp:RequireDerivedKeys />
>             <mssp:RequireClientCertificate />
>    </wsp:Policy>
> </mssp:SslContextToken>
> </wsp:Policy>
> </sp:ProtectionToken>
> 
> 
> Please help me I am very ne to WS Security layer..Please provide some links
> where I can get some information about this

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog