Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get type="xs:dateTime" instead of type="xs:date"  RSS feed

 
Masrudyn Main
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm creating a bottom-up web service from a java class using Axis2

In the java class, I am using java.util.Date

When the WSDL is generated by Axis, the element has type="xs:date". How do I generate the element to have a type of type="xs:dateTime" instead?

 
dhanu manjula
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Masrudyn Main wrote:I'm creating a bottom-up web service from a java class using Axis2

In the java class, I am using java.util.Date

When the WSDL is generated by Axis, the element has type="xs:date". How do I generate the element to have a type of type="xs:dateTime" instead?




use java.util.Calendar class

dhanuxp
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!