667560 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

XML & Web services XML & Web services XML & Web services Messages: 1 Messages: 1 Messages: 1 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Weblogic Web Services Security Header - dateformat error -HELP!!

Posted by: Maria Korniyevska on June 29, 2009 DIGG
I am getting the following error:
javax.xml.rpc.soap.SOAPFaultException: Error. Handler Exception. com.sun
.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.WssSoapFaultException: javax
.security.auth.callback.UnsupportedCallbackException: Date format is invalid, pl
ease use YYYY-MM-DDThh:mm:ss.mmmZ
--------------------------------------------------
Where/how can I change date format? I would appreciate your feedback very much
--------------------------------------------------
Below is the header web service service expects
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-32895865" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>sams</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">PVICapu4Ex3sImcAVqQZu7I+r2s=</wsse:Password>
<wsse:Nonce>WPD5yDdoHu01PTe1+xeOlg==</wsse:Nonce>
<wsu:Created>2009-06-25T17:09:40.796Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
....
----------------------------------------------------
My weblogic client sends date in wrong format (I checked this with SOAP sniffer)<wsu:Created>2009-06-25T17:09:40Z</wsu:Created>
  Message #322631 Post reply Post reply Post reply Go to top Go to top Go to top

Did you find a solution for this issue?

Posted by: GeeW R on September 29, 2009 in response to Message #310413
Did you find a solution for this issue?
Have seen the same behaviour in different libraries.

Recent active threads Recent active threads Recent active threads More More More
Debug Java applications remotely with Eclipse
Hard Core Tech Talk with Craig McClanahan Posted on TSS
Jt - Java Pattern Oriented Framework (Jt 4.5)
Service Adapter 1.0 released , an adapter for web services
index of an element in an array
HtmlUnit 2.5, a headless java browser, released
Need help for login page using java servlet
.NET Software Development & Programming Services
More active threads »
Top posters of the weekTop posters of the weekTop posters of the week
This list contains the members who have made the most posts in all forums over the last 7 days:
  1. Dan Evans
  2. James Watson
  3. William Louth
  4. Chief Thrall
  5. David Freezea
Hot threads Hot threads Hot threads More hot threads More hot threads More hot threads

Object pooling is now a serious performance loss

Brian Goetz continues to lift the lid and peak into the inner workings of Java in Java Urban Performance Legends. In this article he exposes the fallacy behind some of the more common performance myths found in the annals of the JVM.
(93 comments, last posted February 06, 2009)

Beyond Java

Bruce Tate, author of Better, Faster Lighter Java and Bitter EJB has come out with a new book called Beyond Java. Bruce has an epiphany about the future of software development. Does it include Java?
(770 comments, last posted September 23, 2009)

Three forms of AJAX: solid, liquid and gas.

Looks like today AJAX concept have several interpretations. We can distinguish different approaches of AJAX integration. Can they co-exist within the same application? Can we talk about layered AJAX integration?
(68 comments, last posted May 08, 2008)

Design-Time API Promises to make Java more like VB

Artima has published a short article describing the Design-Time API for JavaBeans, which was recently approved as JSR 273. This API promises to bring VB-like ease to Java development, but may face a cultural bias among Java developers who tend to think more in terms of class libraries than components.
(225 comments, last posted November 19, 2009)

Will Sun be that target of a management buyout?

There is plenty of speculation today regarding a potential buyout of Sun Microsystems by Scott McNealy and Silver Lake Partners. How would privatization of Sun affect Java?
(16 comments, last posted May 15, 2009)
More hot threads »

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy      Powered by JIVE
Site Map