In
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-gui
de.html#Java2WSDL: Building WSDL from Java
Step 2
% java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl
-l"http://localhost:8080/axis/services/WidgetPrice" -n "urn:Example6"
-p"samples.userguide.example6" "urn:Example6"
samples.userguide.example6.WidgetPrice
Should be
% java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l
http://localhost:8080/axis/services/WidgetPrice -n urn:Example6
-psamples.userguide.example6=urn:Example6
samples.userguide.example6.WidgetPrice
based on
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/referenc
e.html#Java2WSDL
In order to support the above execution, CLArgsParser also needs to be
modified to use NULL_SEPARATORS instead of ARG2_SEPARATORS for while
check.
Thanks,
Ias.
===========================================================
Lee, Changshin (Korean name)
Ias (International name)
Company Web Site: http://www.tmax.co.kr
Personal Web Site: http://www.iasandcb.pe.kr
---------------------------------------------------------
R&D Institute
Tmax Soft, Inc.
==========================================================
Index: CLArgsParser.java
===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/utils/CLArgsParser.java,v
retrieving revision 1.3
diff -u -r1.3 CLArgsParser.java
--- CLArgsParser.java 17 May 2002 19:09:34 -0000 1.3
+++ CLArgsParser.java 25 Jun 2003 12:55:49 -0000
@@ -680,7 +680,7 @@
m_lastChar = ch;
}
- while( !isSeparator( ch, ARG2_SEPARATORS ) )
+ while( !isSeparator( ch, NULL_SEPARATORS ) )
{
sb.append( ch );
ch = getChar();
Index: user-guide.html
===================================================================
RCS file: /home/cvspublic/xml-axis/java/docs/user-guide.html,v
retrieving revision 1.87
diff -u -r1.87 user-guide.html
--- user-guide.html 8 Jun 2003 01:48:38 -0000 1.87
+++ user-guide.html 27 Jun 2003 12:33:36 -0000
@@ -1286,7 +1286,7 @@
Use the Java2WSDL tool to create a WSDL file from the interface above.
<p>Here is an example invocation that produces the wsdl file (<tt>wp.wsdl</tt>)
from the interface described in the previous section:
-<pre class="example">% java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl
-l"http://localhost:8080/axis/services/WidgetPrice" -n
"urn:Example6" -p"samples.userguide.example6" "urn:Example6"
samples.userguide.example6.WidgetPrice</pre>
+<pre class="example">% java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l
http://localhost:8080/axis/services/WidgetPrice -n urn:Example6
-psamples.userguide.example6=urn:Example6 samples.userguide.example6.WidgetPrice</pre>
<p>Where:
<ul>
<li>