Hi Martin,
Thank you. But this seems doesnot work. I use the ant task to do this,
<axis-java2wsdl typemappingversion="1.2" style="WRAPPED" use="LITERAL"
classname="com.aaa.InvocationManager" location="${invocation-url}"
bindingname="InvocationManagerSoapBinding"
namespace="urn:card.soap.ota.gemplus.com"
output="${wsdl.dir}/invocationmanager.wsdl">
<classpath refid="wsdl.classpath" />
</axis-java2wsdl>
The style is WARPPED/LITERAL,
for example my InvocationManager is as follows,
public interface InvocationManager {
public String test(Integer i);
}
I want java2wsdl to generate the minOccurs=0 for the integer, so when I use
wsdl2java to generate the stubs, it still will generate the paramter as an
Integer instead of int. But axis java2wsdl seems can't generate this.
you can find information at
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200509.mbox/[EMAIL
PROTECTED]
Thank you.
Best Regards,
WANG Chi
-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 10:47 AM ?
To: [email protected]
Subject: Re: how to configure java2wsdl to generate minOccurs=0 attribute
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 <mailto:[EMAIL PROTECTED]>
To: [email protected]
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