jechawke    01/08/07 06:43:17

  Modified:    targets/soap/faq faq_chawke.html
  Log:
  Added some new faq entries.
  
  Revision  Changes    Path
  1.6       +24 -12    xml-site/targets/soap/faq/faq_chawke.html
  
  Index: faq_chawke.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/soap/faq/faq_chawke.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- faq_chawke.html   2001/07/24 12:49:33     1.5
  +++ faq_chawke.html   2001/08/07 13:43:17     1.6
  @@ -11,7 +11,7 @@
   </HEAD>
   <BODY LINK="#0000ff" VLINK="#800080">
   <H1>Apache-SOAP User's FAQ</H1>
  -This FAQ is based on the questions and answers that appear on the <a 
href="http://xml.apache.org/soap/mail.html";>Apache-SOAP User's Mailing 
List</a>.<br> It is currently maintained by <A HREF="mailto:[EMAIL 
PROTECTED]">Jonathan Chawke</A>, and was last modified on Tue 24-Jul-2001 01:38 
GMT.
  +This FAQ is based on the questions and answers that appear on the <a 
href="http://xml.apache.org/soap/mail.html";>Apache-SOAP User's Mailing 
List</a>.<br> It is currently maintained by <A HREF="mailto:[EMAIL 
PROTECTED]">Jonathan Chawke</A>, and was last modified on Tue 07-Aug-2001 02:25 
GMT.
   <br>Corrections and suggestions for new questions are always welcome.
   <H1><A NAME="toc">Table of Contents</A></H1><OL><LI><H2>Hot 
Topics</H2>1.1&nbsp;&nbsp;<A HREF="#Q1_1">Help! I'm getting this error: 
"Element must contain a:'faultcode' element"</A><br>
   1.2&nbsp;&nbsp;<A HREF="#Q1_2">Help! I'm getting this error: "Unable to 
resolve namespace URI for 'xsd'".</A><br>
  @@ -21,6 +21,7 @@
     "Fault String = java.lang.NoSuchMethodError"</A><br>
   1.6&nbsp;&nbsp;<A HREF="#Q1_6">Help! I'm getting this error: "Exception in 
thread "main" java.lang.NoSuchMethodError 
   at org.apache.soap.util.xml.QName.<init>(QName.java:80)"</A><br>
  +1.7&nbsp;&nbsp;<A HREF="#Q1_7">Help! I'm getting this error: "Exception in 
thread "main" java.lang.AbstractMethodError at 
org.apache.soap.util.xml.QName.<init>(QName.java:80)"</A><br>
   <br></LI><LI><H2>General</H2>2.1&nbsp;&nbsp;<A HREF="#Q2_1">Where can I get 
help on SOAP issue XYZ?</A><br>
   2.2&nbsp;&nbsp;<A HREF="#Q2_2">Where can I find mailing list archives for 
the soap-user mailing list?</A><br>
   2.3&nbsp;&nbsp;<A HREF="#Q2_3">I'm just getting started with SOAP. Where can 
I find a tutorial on SOAP programming?</A><br>
  @@ -72,6 +73,7 @@
   4.13&nbsp;&nbsp;<A HREF="#Q4_13">I'm getting an error telling me that class 
'XMLParserLiason' is not found. What is wrong?</A><br>
   4.14&nbsp;&nbsp;<A HREF="#Q4_14">Help! I'm getting this error message: 
"Unable to retrieve PropertyDescriptor for property 'checkMustUnderstands' of 
class 'class org.apache.soap.server.DeploymentDescriptor'.</A><br>
   4.15&nbsp;&nbsp;<A HREF="#Q4_15">Help! I'm getting this error: "BSF Error: 
Unable to load language: javascript". I'm using bsf 2.2 and js.jar from 
rhino14R3.zip.</A><br>
  +4.17&nbsp;&nbsp;<A HREF="#Q4_17">Help! I'm getting this error: "Caught 
SOAPException <SOAP-ENV:Client>: Error opening socket:connection 
refused"</A><br>
   4.18&nbsp;&nbsp;<A HREF="#Q4_18">Help! I'm getting this error when I run one 
of the MIME samples: "Error parsing response:
   javax.mail.MessagingException: Missing start boundary"</A><br>
   <br></LI><LI><H2>Design and Architecture Issues</H2>5.2&nbsp;&nbsp;<A 
HREF="#Q5_2">Can a SOAP server maintain session between multiple client 
invocations?</A><br>
  @@ -82,9 +84,10 @@
   5.9&nbsp;&nbsp;<A HREF="#Q5_9">How do I write a SOAP service that maintains 
state across a session?</A><br>
   5.11&nbsp;&nbsp;<A HREF="#Q5_11">Is it possible to perform more than one 
invocation in a single SOAP request?</A><br>
   5.12&nbsp;&nbsp;<A HREF="#Q5_12">I would like to write a SOAP service method 
that returns a DOM Document (org.w3c.dom.Document). How do I do this?</A><br>
  -5.14&nbsp;&nbsp;<A HREF="#Q5_14">What is the performance difference (if any) 
between SOAP and RMI? Are there any benchmark test results available?</A><br>
  -5.15&nbsp;&nbsp;<A HREF="#Q5_15">I am writing a SOAP service which returns a 
set of data. Is it better to return this data in an object, or as an XML data 
structure?</A><br>
  -5.16&nbsp;&nbsp;<A HREF="#Q5_16">Are Apache SOAP calls synchronous or 
asynchronous?</A><br>
  +5.14&nbsp;&nbsp;<A HREF="#Q5_14">I would like to pass a DOM Element as a 
parameter to a method. How do I do this?</A><br>
  +5.15&nbsp;&nbsp;<A HREF="#Q5_15">What is the performance difference (if any) 
between SOAP and RMI? Are there any benchmark test results available?</A><br>
  +5.16&nbsp;&nbsp;<A HREF="#Q5_16">I am writing a SOAP service which returns a 
set of data. Is it better to return this data in an object, or as an XML data 
structure?</A><br>
  +5.17&nbsp;&nbsp;<A HREF="#Q5_17">Are Apache SOAP calls synchronous or 
asynchronous?</A><br>
   <br></LI><LI><H2>SOAP and Namespaces</H2>6.1&nbsp;&nbsp;<A HREF="#Q6_1">What 
are all these SOAP Namespaces?</A><br>
   6.2&nbsp;&nbsp;<A HREF="#Q6_2">Do I need to use namespaces on my XML 
data?</A><br>
   6.3&nbsp;&nbsp;<A HREF="#Q6_3">What are all those namespace prefixes in my 
SOAP messages? Won't they keep validation from working?</A><br>
  @@ -99,6 +102,7 @@
   8.5&nbsp;&nbsp;<A HREF="#Q8_5">Is there a command-line utility that I can 
use to generate a WSDL File?</A><br>
   8.6&nbsp;&nbsp;<A HREF="#Q8_6">Is there a command-line utility that I can 
use to generate WSDL stub and skeleton files?</A><br>
   8.7&nbsp;&nbsp;<A HREF="#Q8_7">Any one know is there any open source UDDI  
server implementation?  (the UDDI4J server is locked into DB2)</A><br>
  +8.8&nbsp;&nbsp;<A HREF="#Q8_8">Is there a tool that can be used to parse 
WSDL files?</A><br>
   <br></LI><LI><H2>SOAP and .NET</H2>9.1&nbsp;&nbsp;<A HREF="#Q9_1">Does 
Apache SOAP work with Microsoft SOAP?</A><br>
   9.4&nbsp;&nbsp;<A HREF="#Q9_4">Help! My Apache SOAP Client cannot connect to 
a .NET service - the server says it expects 'text/xml' and doesn't understand 
"text/xml; charset=utf-8".</A><br>
   </OL>
  @@ -120,7 +124,9 @@
   Ensure that:<BR>(a) You have deployed the sample service you want to use. 
<BR>(b) Xerces.jar is the very first entry in your classpath (set this in 
tomcat.bat or tomcat.sh as per the SOAP installation instructions).<BR>(c) 
There are no other XML parsers in your classpath. Some people have experienced 
this problem due to an early version of the JAXP package hiding in 
JAVA_HOME/jre/lib/ext.<BR>(d) The sample classes are in the server's 
CLASSPATH.<p>
   1.6&nbsp;&nbsp;<STRONG><A NAME="Q1_6">Help! I'm getting this error: 
"Exception in thread "main" java.lang.NoSuchMethodError 
   at org.apache.soap.util.xml.QName.<init>(QName.java:80)"</A></STRONG><BR>
  -The most likely cause of this problem is that you have more than one xml 
parser library (jar) in your classpath. Finding the other xml library can be 
tricky. Note that the JVM looks in two places BEFORE it looks at classpath. It 
finds "Bootstrap" classes and "Extension" classes first. $JAVA_HOME/jre/lib/ext 
is where the extension classes live. <BR>People often find another XML parser 
hiding in JAVA_HOME\jre\lib\ext. <BR>Libraries to look for include: xml.jar, 
xsltc.jar. The solution is to delete these jars (or move them to a directory 
that isn't included in the classpath).<p>
  +The most likely cause of this problem is that you have more than one xml 
parser library (jar) in your classpath. Finding the other xml library can be 
tricky. Note that the JVM looks in two places BEFORE it looks at classpath. It 
finds "Bootstrap" classes and "Extension" classes first. $JAVA_HOME/jre/lib/ext 
is where the extension classes live. <BR>People often find another XML parser 
hiding in JAVA_HOME\jre\lib\ext. <BR>Libraries to look for include: xml.jar, 
xsltc.jar. The solution is to delete these jars (or move them to a directory 
that isn't included in the classpath).<BR>Note also that JRun users got around 
this problem by adding the xerces jar to the JRun classpath in 
<jrun>/lib/global.properties:<BR>    jrun.classpath=c:/myjars/xerces.jar;..�<p>
  +1.7&nbsp;&nbsp;<STRONG><A NAME="Q1_7">Help! I'm getting this error: 
"Exception in thread "main" java.lang.AbstractMethodError at 
org.apache.soap.util.xml.QName.<init>(QName.java:80)"</A></STRONG><BR>
  +See Question 1.6 above.<p>
   
   
   <p><H2><u>2.&nbsp;&nbsp;General</u></H2>
  @@ -165,7 +171,7 @@
   2.24&nbsp;&nbsp;<STRONG><A NAME="Q2_24">Help! I got the following error 
message: "SOAP Service Manager: Unable to read 'DeployedServices.ds': assuming 
fresh start"</A></STRONG><BR>
   This message will appear the first time you run SOAP, as the file does not 
exist and needs to be created for the first time. Don't worry - it is just a 
warning, not an error.<p>
   2.28&nbsp;&nbsp;<STRONG><A NAME="Q2_28">How do I tell my Apache SOAP client 
to use a proxy server?</A></STRONG><BR>
  -Here is some sample code to do this:<BR>SOAPHTTPConnection connection = new 
SOAPHTTPConnection();<BR>connection.setProxyHost("proxy");<BR>connection.setProxyPort(8080);<p>
  +Here is some sample code to do this:<BR>SOAPHTTPConnection connection = new 
SOAPHTTPConnection();<BR>connection.setProxyHost("proxy");<BR>connection.setProxyPort(8080);<BR>Call
 call = new Call(); // prepare the service 
invocation<BR>call.setSOAPTransport(conn); // use the proxy<p>
   2.29&nbsp;&nbsp;<STRONG><A NAME="Q2_29">How do I perform Proxy 
Authentication with my Apache SOAP client?</A></STRONG><BR>
   See the sample code in the weather service client - it shows how to do proxy 
authentication. Here is some sample code too:<BR>SOAPHTTPConnection connection 
= new 
SOAPHTTPConnection();<BR>connection.setProxyHost("proxy");<BR>connection.setProxyPort(8080);<BR>setProxyUserName("username");<BR>setProxyPassword("password");<p>
   2.31&nbsp;&nbsp;<STRONG><A NAME="Q2_31">Are there any commercially ready 
servlet containers which will support Apache SOAP clients ?</A></STRONG><BR>
  @@ -192,7 +198,7 @@
   3.6&nbsp;&nbsp;<STRONG><A NAME="Q3_6">How do I install Apache-SOAP on Bea 
WebLogic 6.1 beta?</A></STRONG><BR>
   It seems to be more or less the same process as that used for WebLogic 6.0, 
but there are some (new) gotchas related to JAXP. See <A 
HREF="http://xml.apache.org/soap/faq/faq-for-WL6.1beta.html";>http://xml.apache.org/soap/faq/faq-for-WL6.1beta.html</a>
 [note: when WebLogic 6.1 is released, we will merge this FAQ with the Apache 
SOAP install docs] and <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&m=99270271408539&w=2";>http://marc.theaimsgroup.com/?l=soap-user&m=99270271408539&w=2</a>.<p>
   3.7&nbsp;&nbsp;<STRONG><A NAME="Q3_7">How do I install Apache-SOAP on 
Resin?</A></STRONG><BR>
  -Under Resin 1.2.3, configure a web app to point to the soap webapp directory 
(i.e.<path-to-apache-soap>/webapps/soap).<p>
  +Under Resin 1.2.3, configure a web app to point to the soap webapp directory 
(i.e.<path-to-apache-soap>/webapps/soap). See also <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&m=99650513909887&w=2";>http://marc.theaimsgroup.com/?l=soap-user&m=99650513909887&w=2</a>.<p>
   3.8&nbsp;&nbsp;<STRONG><A NAME="Q3_8">How do I install Apache-SOAP on IBM 
WebSphere?</A></STRONG><BR>
   Apache SOAP has worked under every version of WebSphere from 1.1 to 3.02. It 
will work out of the box on WebSphere 3.5 with fixpak 2 applied. Wouter 
Cloetens has provided instructions on using Apache-SOAP with IBM Websphere v1, 
v2, and v3.0 on <A 
HREF="http://workspot.net/~zombie/soap/";>http://workspot.net/~zombie/soap/</a>. 
There are also instructions for WebSphere v3.5 in the Apache-SOAP distribution 
- see <A 
HREF="http://xml.apache.org/websrc/cvsweb.cgi/~checkout~/xml-soap/java/docs/install/websphere.html?rev=1.1&content-type=text/html&only_with_tag=MAIN";>http://xml.apache.org/websrc/cvsweb.cgi/~checkout~/xml-soap/java/docs/install/websphere.html?rev=1.1&content-type=text/html&only_with_tag=MAIN</a>.
 <BR>Be sure to check the following items: <BR>1. Explicitly set the port 
number that you have exposed the rpcrouter servlet on. Even if it is 
default(80), just mention it in the URL as <A 
HREF="http://aaa.bbb.ccc.ddd:port/soap/servlet/rpcrouter";>http://aaa.bbb.ccc.ddd:port/soap/servlet/rpcrouter</a>.
 <BR>2. Verify that xerces is at the start of your path not only by setting it 
in the App but also in the websphere configuration files (admin.config, 
setupclient.bat).<p>
   3.9&nbsp;&nbsp;<STRONG><A NAME="Q3_9">How do I install Apache-SOAP on 
Bluestone?</A></STRONG><BR>
  @@ -217,7 +223,7 @@
   4.7&nbsp;&nbsp;<STRONG><A NAME="Q4_7">Help! I'm using Tomcat+SOAP on Linux. 
When I try to access the SOAP admin page, Tomcat crashes and I see this 
message: "HotSpot Virtual Machine Error, Unexpected Signal 11"</A></STRONG><BR>
   This may be related to a JDK 1.3 bug on Linux; try<BR>- Using JDK 1.2<BR>- 
Using the -server or -client option on the JDK 1.3 JVM<p>
   4.8&nbsp;&nbsp;<STRONG><A NAME="Q4_8">I am running the SOAP TunnelGui on Red 
Hat Linux 7.0. Sometimes the client hangs for the HTTP response to arrive. 
What's wrong?</A></STRONG><BR>
  -This problem is due to a combination of the JVM you are using and the glibc 
packages installed in 7.0. Redhat has a patch for glibc which solves this 
problem (as well as a ton of others).<BR>You should also make sure that the JVM 
is using the classic<BR>compiler each time. Do this by editing a file called 
jvm.cfg and<BR>making sure classic is the first available option for the VM. 
This file<BR>is in $JAVA_HOME/jre/lib.<p>
  +This problem is due to a combination of the Sun JDK you are using and the 
glibc packages installed in 7.0. Redhat has a patch for glibc which solves this 
problem (as well as a ton of others). Here is the<BR>advisory and update: <A 
HREF="http://www.redhat.com/support/errata/RHBA-2000-079.html";>http://www.redhat.com/support/errata/RHBA-2000-079.html</a>.
 <BR>You should also make sure that the JVM is using the classic<BR>compiler 
each time. Do this by editing a file called jvm.cfg and<BR>making sure classic 
is the first available option for the VM. This file<BR>is in 
$JAVA_HOME/jre/lib.<BR>You might also consider switching to the IBM or 
Blackdown JDK if you continue to have problems.<p>
   4.9&nbsp;&nbsp;<STRONG><A NAME="Q4_9">Help! I just upgraded Apache-SOAP. 
When I run the service manager I get the following error: 
"javax.servlet.ServletException:  Cannot create bean of class 
org.apache.soap.server.ServiceManager"</A></STRONG><BR>
   Delete the JSP work files that were stored by your JSP server, so that they 
are re-generated using the new SOAP classes. In the case of tomcat, these 
should be in a directory that looks like this: 
$TOMCAT_HOME/work/localhost_8080/%2Fsoap.<p>
   4.10&nbsp;&nbsp;<STRONG><A NAME="Q4_10">Help! Apache won't integrate with 
IIS: it says that the message content type should be text/xml but it is read as 
text/xml. What do I do?</A></STRONG><BR>
  @@ -231,6 +237,8 @@
   Try using a later version of Xerces such as 1.4 (you're probably using 1.2.* 
or 1.3.1) and see if the problem goes away. Also, make sure that you have 
removed all previous versions of Apache SOAP from your classpath.<p>
   4.15&nbsp;&nbsp;<STRONG><A NAME="Q4_15">Help! I'm getting this error: "BSF 
Error: Unable to load language: javascript". I'm using bsf 2.2 and js.jar from 
rhino14R3.zip.</A></STRONG><BR>
   This is a result of a code change that the Mozilla folks made which is not 
backward-compatible. You have two options:  <BR>(a) Upgrade to Rhino 1.5. 
<BR>(b) Re-compile BSF against rhino14R3. The compiler will flag a line of code 
- remove the last parameter from the function call on this line and the problem 
should go away.<p>
  +4.17&nbsp;&nbsp;<STRONG><A NAME="Q4_17">Help! I'm getting this error: 
"Caught SOAPException <SOAP-ENV:Client>: Error opening socket:connection 
refused"</A></STRONG><BR>
  +The problem is caused by one of the following:<BR>(a) Your SOAP client isn't 
specifying the right port in the service URL, e.g.  It is using <A 
HREF="http://localhost:80/soap/servlet/rpcrouter";>http://localhost:80/soap/servlet/rpcrouter</a>
 but the SOAP service router is listening on port 8080 (i.e. <A 
HREF="http://localhost:8080/soap/servlet/rpcrouter";>http://localhost:8080/soap/servlet/rpcrouter</a>
 ). <BR>(b) Your SOAP client isn't specifying the right path in the service 
URL, e.g. it is using <A 
HREF="http://localhost:8080/rpcrouter";>http://localhost:8080/rpcrouter</a> 
instead of <A 
HREF="http://localhost:8080/soap/servlet/rpcrouter";>http://localhost:8080/soap/servlet/rpcrouter</a>.
 <BR>(c) Your application server/servlet container (e.g. Tomcat) isn't running. 
<BR>(d) If you are using Apache-SOAP in conjunction with a web server (e.g. 
Apache or IIS), ensure that the web server is also running.<p>
   4.18&nbsp;&nbsp;<STRONG><A NAME="Q4_18">Help! I'm getting this error when I 
run one of the MIME samples: "Error parsing response:
   javax.mail.MessagingException: Missing start boundary"</A></STRONG><BR>
   Ensure that you have added activation.jar and mail.jar to your classpath.<p>
  @@ -253,11 +261,13 @@
   No. SOAP v1.1 (see <A 
HREF="http://www.w3.org/TR/SOAP/";>http://www.w3.org/TR/SOAP/</a>), which is 
what Apache SOAP implements, does not allow that.<p>
   5.12&nbsp;&nbsp;<STRONG><A NAME="Q5_12">I would like to write a SOAP service 
method that returns a DOM Document (org.w3c.dom.Document). How do I do 
this?</A></STRONG><BR>
   You need to return a DOM Element rather than a Document, and you need to 
specify the use of Literal XML encoding for the return value. The encoding 
style of a Call return is determined by the encoding style of the Request. DOM 
Elements use Literal XML encoding. For example, if a service accepts one String 
Parameter and returns an Element, just set the encoding style for the call to 
"<A 
HREF="http://xml.apache.org/xml-soap/literalxml"";>http://xml.apache.org/xml-soap/literalxml";</a>
 and the encoding style for the parameter to "<A 
HREF="http://schemas.xmlsoap.org/soap/encoding"";>http://schemas.xmlsoap.org/soap/encoding";</a>.
 Thus, part of your client code would look like:<BR>...<BR>Call call = new 
Call();<BR>call.setTargetObjectURI("urn:someservice");<BR>call.setMethodName("callmethod");<BR>call.setEncodingStyleURI(
 Constants.NS_URI_LITERAL_XML );<BR>String strparam = "joebob";<BR><BR>Vector 
params = new Vector();<BR>params.addElement( new Parameter( "strparam", 
String.class,<BR>                                  strparam, 
Constants.NS_URI_SOAP_ENC ) );<BR>�<BR><BR>See the GetAllListings() method in 
the Addressbook sample for a more detailed example of how to control the return 
encoding style.<p>
  -5.14&nbsp;&nbsp;<STRONG><A NAME="Q5_14">What is the performance difference 
(if any) between SOAP and RMI? Are there any benchmark test results 
available?</A></STRONG><BR>
  +5.14&nbsp;&nbsp;<STRONG><A NAME="Q5_14">I would like to pass a DOM Element 
as a parameter to a method. How do I do this?</A></STRONG><BR>
  +Try: <BR> params.addElement(new Parameter("name", Element.class, 
root,<BR>Constants.NS_URI_LITERAL_XML) ); <BR>Where <BR>- 'name' is the name of 
the parameter expected by the SOAP service method.<BR>- 'root' is an object of 
type 'Element'.<p>
  +5.15&nbsp;&nbsp;<STRONG><A NAME="Q5_15">What is the performance difference 
(if any) between SOAP and RMI? Are there any benchmark test results 
available?</A></STRONG><BR>
   There aren't any official benchmark test results available, but some ad hoc 
testing by SOAP users suggests that RMI is about 5 times faster than an 
unoptimized SOAP implementation. The XML parser is considered to be the 
bottleneck in Apache SOAP. <BR>Bear in mind that:<BR>- Apache SOAP 
implementations will be optimized in the future, and RMI probably won't. <BR>- 
The common expectation is that eventually, SOAP implementations will provide 
performance that is comparable to RMI.<BR>- RMI is Java only, SOAP isn't.<p>
  -5.15&nbsp;&nbsp;<STRONG><A NAME="Q5_15">I am writing a SOAP service which 
returns a set of data. Is it better to return this data in an object, or as an 
XML data structure?</A></STRONG><BR>
  +5.16&nbsp;&nbsp;<STRONG><A NAME="Q5_16">I am writing a SOAP service which 
returns a set of data. Is it better to return this data in an object, or as an 
XML data structure?</A></STRONG><BR>
   If the clients consuming the SOAP service are all written in Java, then it 
is probably easier to return objects. Otherwise you should probably return your 
data as XML (i.e. as DOM Elements).<p>
  -5.16&nbsp;&nbsp;<STRONG><A NAME="Q5_16">Are Apache SOAP calls synchronous or 
asynchronous?</A></STRONG><BR>
  +5.17&nbsp;&nbsp;<STRONG><A NAME="Q5_17">Are Apache SOAP calls synchronous or 
asynchronous?</A></STRONG><BR>
   If you're using the HTTP transport then the calls are synchronous. If you're 
using the SMTP transport then calls are asynchronous. A number of people have 
discussed the need to provide one-way calls over HTTP - see <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&w=2&r=1&s=one-way&q=b";>http://marc.theaimsgroup.com/?l=soap-user&w=2&r=1&s=one-way&q=b</a>.<p>
   
   
  @@ -291,11 +301,13 @@
   8.4&nbsp;&nbsp;<STRONG><A NAME="Q8_4">Is there a tool that can validate 
WSDL?</A></STRONG><BR>
   Yes: Simon Fell has written a Schematron-based validator for SOAP oriented 
WSDL documents. See here: <A 
HREF="http://www.pocketsoap.com/wsdl/";>http://www.pocketsoap.com/wsdl/</a>. 
Note that the current version only checks the relationships between the various 
parts of the WSDL, it doesn't really check anything in the schema sections yet. 
A couple of folks on the schematron mailing list are working on some XSD 
checking code, and it will be added to the validator when its done.<p>
   8.5&nbsp;&nbsp;<STRONG><A NAME="Q8_5">Is there a command-line utility that I 
can use to generate a WSDL File?</A></STRONG><BR>
  -Yes - the IBM web services toolkit (WSTK) 2.3 (<A 
HREF="http://www.ibm.com/developerworks/webservices/";>http://www.ibm.com/developerworks/webservices/</a>)
 includes a utility called 'wsdlgen'. It is in WSTK_HOME/bin.<p>
  +Yes - the IBM web services toolkit (WSTK) 2.3 (<A 
HREF="http://www.ibm.com/developerworks/webservices/";>http://www.ibm.com/developerworks/webservices/</a>)
 includes a utility called 'wsdlgen'. It is in WSTK_HOME/bin.<BR>See also the 
Open Source WSDL4J project on <A 
HREF="http://oss.software.ibm.com/developerworks/projects/wsdl4j/";>http://oss.software.ibm.com/developerworks/projects/wsdl4j/</a>.<p>
   8.6&nbsp;&nbsp;<STRONG><A NAME="Q8_6">Is there a command-line utility that I 
can use to generate WSDL stub and skeleton files?</A></STRONG><BR>
   Yes - the IBM web services toolkit (<A 
HREF="http://www.ibm.com/developerworks/webservices/";>http://www.ibm.com/developerworks/webservices/</a>)
 includes a command-line java application that should do what you want: 
<BR>.com.ibm.wsdl.Main -?<BR>Note that:<BR>(a) It is in the wsdl.jar 
library.<BR>(b) Passing in '-?' (without the apostrophes) gets you a list of 
available commands that the class supports.<p>
   8.7&nbsp;&nbsp;<STRONG><A NAME="Q8_7">Any one know is there any open source 
UDDI  server implementation?  (the UDDI4J server is locked into 
DB2)</A></STRONG><BR>
   Have a look at the following:<BR>- Idoox WASP <A 
HREF="http://www.idoox.com";>http://www.idoox.com</a> (not open source, uses 
JDBC)<BR>- The Mind Electric GLUE <A 
HREF="http://www.themindelectric.com";>http://www.themindelectric.com</a> (not 
open source, uses JDBC)<BR>- jUUDI, on sourceforge at <A 
HREF="http://sourceforge.net/projects/uddi/";>http://sourceforge.net/projects/uddi/</a>.
 It's relatively young (i.e. the current release is an alpha), but SOAP users 
report that the guy running the project is very helpful, and that it looks like 
the code runs off whichever db platform you want. Ensure you get the code from 
CVS, not the (tarball) release.<BR>- pUDDIng at <A 
HREF="http://www.opensorcerer.org/";>http://www.opensorcerer.org/</a> (UDDI v2.0 
on Oracle). The author is talking about adding support for other database 
platforms.<p>
  +8.8&nbsp;&nbsp;<STRONG><A NAME="Q8_8">Is there a tool that can be used to 
parse WSDL files?</A></STRONG><BR>
  +Yes, IBM have one. The Web Services Description Language for Java Toolkit 
(WSDL4J) allows the creation, representation, and manipulation of WSDL 
documents describing services. See <A 
HREF="http://oss.software.ibm.com/developerworks/projects/wsdl4j/";>http://oss.software.ibm.com/developerworks/projects/wsdl4j/</a>.<p>
   
   
   <p><H2><u>9.&nbsp;&nbsp;SOAP and .NET</u></H2>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to