I have a problem and I'm not sure what's going wrong. I'm using versin
1.0.4 as I have to fit this into a WebLogic 8.1 app server, version 2.*
isn't an option (as far as I know as there are conflicts with jar's)

 

Anyway, I have a schema which has been defined using xsd:dateTime
formats. XMLB has converted these and provided set methods as it should,
for example setETA(Calendar cal)

 

The problem I have is that the setETA() method takes in a calendar, and
when this is converted to XML, it includes the time-zone information and
I actually need a specific format for the date in the created XML.

 

I then looked at the xsetETA() method, which takes in an XmlDateTime,
and this looks like it will do the job, but when I call it, the value
doesn't get set when I print out the xml. The XmlDateTime is correctly
initialised.

 

Has anyone any ideas? 

 

I could change the generated source code, and make the setETA method
actually take in a string - that's what I want in the XML anyway, but
I'd rather not do this if I can avoid it.

 

I'd be grateful for any assistance.

 

Pete

Reply via email to