You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by WANG Chi <Ch...@gemalto.com> on 2007/03/02 03:32:15 UTC

how to configure java2wsdl to generate minOccurs=0 attribute

Hi all,
 
I need to generate wsdl from a java interface in which an element has attribute minOccurs="0", can axis 1.4 generate this? thank you very much
 
Best Regards,
WANG Chi

Re: how to configure java2wsdl to generate minOccurs=0 attribute

Posted by Martin Gainty <mg...@hotmail.com>.
Wang-

java -classpath %CLASSPATH%;. org.apache.axis.wsdl.Java2WSDL %1 -location=http://localhost:8080/axis/services/%1 -o %1.wsdl

replace %1 with the name of the Java class

Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
  ----- Original Message ----- 
  From: WANG Chi 
  To: axis-user@ws.apache.org 
  Sent: Thursday, March 01, 2007 9:32 PM
  Subject: how to configure java2wsdl to generate minOccurs=0 attribute


  Hi all,

  I need to generate wsdl from a java interface in which an element has attribute minOccurs="0", can axis 1.4 generate this? thank you very much

  Best Regards,
  WANG Chi