axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Serializing Java types
Date Mon, 04 Aug 2003 20:50:16 GMT

Use a java.util.Calendar.  It will be serialized as a xsd:dateTime


Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
(614) 213-6100

Balaji Thirugnanam <> on 08/04/2003 04:37:52 PM

Please respond to

To:   "''" <>

Subject:  Serializing Java types


does anyone know how to serialize a java.sql.Date/Timestamp,

-Balaji .T

-----Original Message-----
From: Shantanu Sen []
Sent: Monday, August 04, 2003 4:17 PM
Subject: WSDL2Java question

Is there any way to programmatically specify the set
of allowed methods to an interface which is going to
be deployed  as a service?  For example here is a
section of the generated wsdd that I have.

<parameter name="className"
      <parameter name="wsdlPortType"
      <parameter name="allowedMethods" value="*"/>

I want to expose only one method of MyServiceInt as
exportable which will be generated in the WSDL when a
http://someurl/MyService?wsdl is run on the service
after it is started. But I need to do this
programmatically at the time of generating the WSDD
(and not edit the resulting wsdd by hand).

I could not find any API in the wsdltojava Emitter
where I can specify this.

Any ideas?

Shantanu Sen

This transmission may contain information that is privileged, confidential and/or exempt from
disclosure under applicable law. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error,
please immediately contact the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you.

View raw message