Can someone from the WSS4J dev team please look into this and possibly resolve this soon. Seems like this is a blocking interop issue between WSS4J and .NET UsernameToken.

Thanks much!

On 3/15/06, footh <[EMAIL PROTECTED]> wrote:
A FailedAuthentication SOAP fault:

<soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode
xmlns:code=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">code:FailedAuthentication
</faultcode>
<faultstring>The security token could not be
authenticated or authorized
</faultstring>
<faultactor>http://ws.staging.xwebservices.com/XWebEmailValidation/V2/EmailValidation.asmx </faultactor>
</soapenv:Fault>




--- Tech Rams <[EMAIL PROTECTED]> wrote:

> Just curious....what does the error log on .NET say?
> Does it give any clue as to why it is not able to
> authenticate this token?
>
> --rams
>
> --- footh <[EMAIL PROTECTED]> wrote:
>
> > OK, I found the SVN, downloaded it, ran it as is,
> > and
> > then modified the code so the wsu:Id would match
> > exactly the one from the .NET client call.  In
> both
> > cases the authentication failed with the same
> error
> > as
> > before.
> >
> > I can only conclude that the digest algorithm must
> > be
> > incompatible with .NET.  Any ideas for further
> > steps?
> >
> > FYI, here is the location that gives instructions
> > for
> > accessing various source repositories for apache
> web
> > service projects:
> >
> > http://ws.apache.org/cvs.html
> >
> > --- Soactive Inc <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > I am facing the exact same issue. Does someone
> > have
> > > a resolution for this
> > > yet? Also, if you can send me the exact location
> > for
> > > the SVN head that would
> > > help too.
> > >
> > > Thanks.
> > >
> > > On 3/13/06, footh <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Thanks for the help Werner.
> > > >
> > > > What is the SVN Head and where do I get it?
> > > >
> > > > --- "Dittmann, Werner"
> > > < [EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > Very strange.
> > > > >
> > > > > Maybe you can use the SVN Head an generate a
> > > WSS4J
> > > > > jar
> > > > > and use this. The deployment parameters etc
> > are
> > > the
> > > > > same, nothing changed here.
> > > > >
> > > > > The SVN head uses some internal
> enhancements.
> > > One of
> > > > > this
> > > > > enhancement is to always add an Id to
> > > UsernameToken
> > > > > and other
> > > > > elements.
> > > > >
> > > > > Regards,
> > > > > Werner
> > > > >
> > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > Von: footh [mailto:[EMAIL PROTECTED]]
> > > > > > Gesendet: Donnerstag, 9. M�rz 2006 20:16
> > > > > > An: [email protected]
> > > > > > Betreff: Re: AW: Axis client to .NET -
> > simple
> > > > > question?
> > > > > >
> > > > > > No problem.  The SOAP requests sent by
> each
> > > > > platform
> > > > > > appear below.  Also, in case the
> formatting
> > is
> > > > > bad,
> > > > > > I've attached a file with the same
> messages
> > > (had
> > > > > to
> > > > > > archive it or it wouldn't attache for some
> > > > > reason).
> > > > > >
> > > > > >
> > > > > > <!-- Request sent by Axis:  authentication
> > > fails
> > > > > -->
> > > > > > <soapenv:Envelope
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"
> > > > > >
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > >   <soapenv:Header>
> > > > > >     <wsse:Security
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-20040
> > > > > > 1-wss-wssecurity-secext-1.0.xsd"
> > > > > > soapenv:mustUnderstand="1">
> > > > > >       <wsse:UsernameToken>
> > > > > >
> > <wsse:Username>XWebDev</wsse:Username>
> > > > > >         <wsse:Password
> > > > > >
> > > > >
> > > >
> > >
> >
>
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
> > > > > >
> > > > >
> > > >
> > >
> >
>
username-token-profile-1.0#PasswordDigest">wPe818edEclEvVysEDj
> > > > > > +vOBzoWI=</wsse:Password>
> > > > > >
> > > > > >
> > >
> <wsse:Nonce>+GpncHhwxoyMqWNQ34GTog==</wsse:Nonce>
> > > > > >         <wsu:Created
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401
> > > > > >
> > > > >
> > > >
> > >
> >
>
-wss-wssecurity-utility-1.0.xsd">2006-03-08T06:06:47.636Z</wsu
> > > > > > :Created>
> > > > > >       </wsse:UsernameToken>
> > > > > >     </wsse:Security>
> > > > > >   </soapenv:Header>
> > > > > >   <soapenv:Body>
> > > > > >     <ns1:ValidateEmail
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:ns1="urn:ws-xwebservices-com:XWebEmailValidation:EmailVa
> > > > > > lidation:v2">
> > > > > >       <ns1:ValidateEmailRequest>
> > > > > >         <ns1:Email
> > > > > > xsi:type="string"> [EMAIL PROTECTED]</ns1:Email>
> > > > > >       </ns1:ValidateEmailRequest>
> > > > > >     </ns1:ValidateEmail>
> > > > > >   </soapenv:Body>
> > > > > > </soapenv:Envelope>
> > > > > >
> > > > > > <!-- Request sent by .NET:  works -->
> > > > > > <SOAP-ENV:Envelope
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/ "
> > > > > >
> > > > >
> > > >
> > >
> >
>
xmlns:tns="urn:ws-xwebservices-com:XWebEmailValidation:EmailVa
> > > > > > lidation:v2"
> > > > > >
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > > > > >   <SOAP-ENV:Header>
>
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to