Java web service, xsd date instead of dateTime -


Using JX-RPC 1.1 in Java EE 1.4, how can I highlight the web service, so there is a complex type of person (WSDL). ) Where is one of the person's assets, which is shown in the WSDL / XSD only as a date (such as a birthday) instead of a datetime (where the time is not needed)?

I want to refer XSD to wsdl

    
  & lt; Xs: element name = "birthdate" type = "xs: dateTime" /> Instead of  

java.util.Calendar and java.util.Date both seem to be due to the xsd datatype being periodically when wsdl / Xsd.

I know Java EE 1.4 does not have annotations like Java EE5, but is there any way to tell the web service to use Xs: date DATET?

I do not think you will be able to get it, JX-RPC does not have just the flexibility ( This is why it was killed in Java 5).

In general, I usually find that the WSDL generator does not have the expressive power to generate the exact WSDL, and so I use them to generate WSDL as a starting point I try, and then amend the result. Then you install WSDL as a formatted file instead of a static file as a server. It's not ideal, but it's not a big deal too.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -