Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 78787 invoked from network); 31 Aug 2006 05:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 05:17:30 -0000 Received: (qmail 85977 invoked by uid 500); 31 Aug 2006 05:17:22 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 85612 invoked by uid 500); 31 Aug 2006 05:17:21 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 85601 invoked by uid 99); 31 Aug 2006 05:17:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 22:17:21 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_NUMERIC_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [205.178.146.56] (HELO omr6.networksolutionsemail.com) (205.178.146.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 22:17:20 -0700 Received: from mail.networksolutionsemail.com (ns-omr6.mgt.netsol.com [10.49.6.69]) by omr6.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id k7V5GwZm017403 for ; Thu, 31 Aug 2006 01:16:58 -0400 Received: (qmail 29388 invoked by uid 78); 31 Aug 2006 05:16:58 -0000 Received: from unknown (HELO webmail12) (205.178.146.50) by ns-omr6.lb.hosting.dc2.netsol.com with SMTP; 31 Aug 2006 05:16:58 -0000 Received: from 24.30.58.4 (java.developer@simpaq.com [24.30.58.4]) by webmail12 (EdgeDesk 4.02) with WEBMAIL id 12097; Thu, 31 Aug 2006 05:16:58 +0000 From: "Gabsaga Tata" To: axis-user@ws.apache.org Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Mintersoft EdgeDesk, Build 4.03.0105 X-Originating-IP: [24.30.58.4] X-Forwarded-For: [(null)] Date: Thu, 31 Aug 2006 05:16:58 +0000 Subject: Java2WSDL -y option in Ant Target MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="--=_vm_0011_W11408706_12097_1157001418" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ----=_vm_0011_W11408706_12097_1157001418 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following ant target works just fine. But when I added the option "-y WRAPPED" like the following: I get the following error: Java2WSDL: [java] The value of --style must be DOCUMENT, RPC, or WRAPPED. [java] Java Result: 1 Any ideas why? Thanks. Gabsaga ----=_vm_0011_W11408706_12097_1157001418 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
The f= ollowing ant target works just fine.
 
<target name=3D"Java2WSDL" descript= ion=3D"Creates WSDL file from Java Classes">
 <java classna= me=3D"org.apache.axis.wsdl.Java2WSDL" fork=3D"yes" >
  &l= t;arg value=3D"-o helloworld.wsdl" />
  <arg value=3D"= -l &quot;http://localhost/axis/services/sayhello&quot;" />
=   <arg value=3D"-n &quot;urn:com:simpaq:helloworld&q= uot;" />
  <arg value=3D"-p&quot;com:simpaq:hellow= orld&quot;" /> 
  <arg value=3D"&quot;urn= :com:simpaq:helloworld&quot;" />
  <arg value=3D"c= om.simpaq.helloworld.SayHello" />
  <classpath>
=    <path refid=3D"APACHE_AXIS_API.classpath"/>
&n= bsp;  <path refid=3D"compile.classpath" />
  = ; <pathelement path=3D"${build.home}"/>
  </cl= asspath>
 </java> 
</target>
 
But when I added the option "-y WRAPPE= D" like the following:
 
<target name=3D"Java2WSDL" description=3D"Creates WSDL file from = Java Classes">
 <java classname=3D"org.apache.axis.wsdl.Jav= a2WSDL" fork=3D"yes" >
  <arg value=3D"-o helloworld.w= sdl" />
  <arg value=3D"-l &quot;http://localhost/= axis/services/sayhello&quot;" />
  <arg value=3D"-= n &quot;urn:com:simpaq:helloworld&quot;" />
  <= ;arg value=3D"-p&quot;com:simpaq:helloworld&quot;" />
&nbs= p; <arg value=3D"-y WRAPPED" /><= /STRONG>
  <arg value=3D"&quot;urn:com:simpaq:= helloworld&quot;" />
  <arg value=3D"com.simpaq.he= lloworld.SayHello" />
  <classpath>
  =  <path refid=3D"APACHE_AXIS_API.classpath"/>
  &n= bsp;<path refid=3D"compile.classpath" />
   <p= athelement path=3D"${build.home}"/>
  </classpath><= BR> </java> 
</target>
 
I get the following error:
 

Java2WSDL:

[java] The value of --style must be DOCUMENT, RPC, or WRAPPED= .

[java] Java Result: 1

 
Any ideas why?
 
Thanks.
 
Gabsaga
 
----=_vm_0011_W11408706_12097_1157001418--