jechawke    01/09/24 05:43:25

  Modified:    targets/soap/faq faq_chawke.html
  Log:
  Corrected problem with HTML in FAQ (wasn't displaying correctly on Netscape)
  
  Revision  Changes    Path
  1.8       +8 -8      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- faq_chawke.html   2001/09/20 12:41:22     1.7
  +++ faq_chawke.html   2001/09/24 12:43:25     1.8
  @@ -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 Thu 20-Sep-2001 
01:37PM 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 Mon 24-Sep-2001 
01:40PM 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>
  @@ -52,7 +52,7 @@
   2.36&nbsp;&nbsp;<A HREF="#Q2_36">How do I restrict access to the Apache SOAP 
administration client?</A><br>
   <br></LI><LI><H2>Installation</H2>3.1&nbsp;&nbsp;<A HREF="#Q3_1">What jar 
files do I need to provide for Apache-SOAP clients?</A><br>
   3.2&nbsp;&nbsp;<A HREF="#Q3_2">How do I install Apache-SOAP on 
Tomcat?</A><br>
  -3.3&nbsp;&nbsp;<A HREF="#Q3_3">Can I install Apache-SOAP 2.1 on Tomcat 4.0 
beta?</A><br>
  +3.3&nbsp;&nbsp;<A HREF="#Q3_3">Can I install Apache-SOAP 2.1 on Tomcat 4.0 
(beta)?</A><br>
   3.4&nbsp;&nbsp;<A HREF="#Q3_4">How do I install Apache-SOAP on Bea WebLogic 
5.1?</A><br>
   3.5&nbsp;&nbsp;<A HREF="#Q3_5">How do I install Apache-SOAP on Bea WebLogic 
6.0?</A><br>
   3.6&nbsp;&nbsp;<A HREF="#Q3_6">How do I install Apache-SOAP on Bea WebLogic 
6.1 beta?</A><br>
  @@ -124,13 +124,13 @@
   
   <p><H2><u>1.&nbsp;&nbsp;Hot Topics</u></H2>
   1.1&nbsp;&nbsp;<STRONG><A NAME="Q1_1">Help! I'm getting this error: "Element 
must contain a:'faultcode' element"</A></STRONG><BR>
  -This is probably due to a bug in some newer releases of Xerces (e.g. 1.3.1). 
Try using Xerces 1.2.3 or 1.3.0 instead (on both the client AND the server) - 
have a look on <A 
HREF="http://xml.apache.org/dist/xerces-j/";>http://xml.apache.org/dist/xerces-j/</a>.
 You should also make sure that xerces.jar is the FIRST entry in your 
classpath.<p>
  +This is probably due to a bug in some newer releases of Xerces (e.g. 1.3.1). 
Try using Xerces 1.4.3, 1.2.3 or 1.3.0 instead (on both the client AND the 
server) - have a look on <A 
HREF="http://xml.apache.org/dist/xerces-j/";>http://xml.apache.org/dist/xerces-j/</a>.
 You should also make sure that xerces.jar is the FIRST entry in your 
classpath.<p>
   1.2&nbsp;&nbsp;<STRONG><A NAME="Q1_2">Help! I'm getting this error: "Unable 
to resolve namespace URI for 'xsd'".</A></STRONG><BR>
  -Ensure that:<BR>(a) You are using Xerces 1.2.3 or 1.3.0 (but NOT 1.3.1) - on 
both the client and the server (if both are using Apache-SOAP).<BR>(b) 
xerces.jar is the FIRST entry in your CLASSPATH, as described in the 
Apache-SOAP installation instructions.<BR>(c) There is ONLY ONE version of 
xerces.jar in your CLASSPATH.<BR>(d) 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.<p>
  +Ensure that:<BR>(a) You are using Xerces 1.4.3, 1.2.3 or 1.3.0 (but NOT 
1.3.1) - on both the client and the server (if both are using 
Apache-SOAP).<BR>(b) xerces.jar is the FIRST entry in your CLASSPATH, as 
described in the Apache-SOAP installation instructions.<BR>(c) There is ONLY 
ONE version of xerces.jar in your CLASSPATH.<BR>(d) 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.<p>
   1.3&nbsp;&nbsp;<STRONG><A NAME="Q1_3">Help! I'm getting this error: "Unable 
to resolve target object.." when I try to invoke a method on my SOAP 
service.</A></STRONG><BR>
   This is a classpath problem. Ensure that your SOAP service class is included 
in the classpath. For example, if your class is called HelloServer and it is in 
directory /foo/, then make sure that /foo/ is in your Tomcat classpath when it 
launches.<p>
   1.4&nbsp;&nbsp;<STRONG><A NAME="Q1_4">Help! I got this error message: "Fault 
String = org.w3c.dom.Node: method getNamespaceURI() java/lang/String; not 
found"</A></STRONG><BR>
  -The most likely cause of this problem is a DOM level 1/level 2 issue. 
<BR>SOAP uses DOM level 2, and you may have DOM level 1 classes (i.e. another 
XML parser library) included earlier in the classpath. People often find 
another XML parser hiding in JAVA_HOME\jre\lib\ext.<BR>Ensure that:<BR>(a) You 
are using Xerces 1.2.3 or 1.3.0 (but NOT 1.3.1).<BR>(b) xerces.jar is the FIRST 
entry in your CLASSPATH, as described in the Apache-SOAP installation 
instructions.<BR>(c) There is ONLY ONE version of xerces.jar in your 
CLASSPATH.<p>
  +The most likely cause of this problem is a DOM level 1/level 2 issue. 
<BR>SOAP uses DOM level 2, and you may have DOM level 1 classes (i.e. another 
XML parser library) included earlier in the classpath. People often find 
another XML parser hiding in JAVA_HOME\jre\lib\ext.<BR>Ensure that:<BR>(a) You 
are using Xerces 1.4.3, 1.2.3 or 1.3.0 (but NOT 1.3.1).<BR>(b) xerces.jar is 
the FIRST entry in your CLASSPATH, as described in the Apache-SOAP installation 
instructions.<BR>(c) There is ONLY ONE version of xerces.jar in your 
CLASSPATH.<p>
   1.5&nbsp;&nbsp;<STRONG><A NAME="Q1_5">Help! The Samples won't work. Every 
time I run a sample client I get this response: 
     "Fault String = java.lang.NoSuchMethodError"</A></STRONG><BR>
   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>
  @@ -153,7 +153,7 @@
   2.4&nbsp;&nbsp;<STRONG><A NAME="Q2_4">Are there any other SOAP FAQs 
available?</A></STRONG><BR>
   Yes, a list of FAQs is available here: <A 
HREF="http://www.SoapRPC.com/faqs/";>http://www.SoapRPC.com/faqs/</a>. You could 
also look at the SOAP FAQ maintained by Developmentor: <A 
HREF="http://www.develop.com/soap/soapfaq.htm";>http://www.develop.com/soap/soapfaq.htm</a>.<p>
   2.5&nbsp;&nbsp;<STRONG><A NAME="Q2_5">Where can I download the SOAP 
specification document(s)?</A></STRONG><BR>
  -SOAP 1.1 is here: <A 
HREF="http://www.w3.org/TR/SOAP<BR>There">http://www.w3.org/TR/SOAP<BR>There</a>
 are also some other SOAP-related specs in this list: <A 
HREF="http://www.w3.org/TR/";>http://www.w3.org/TR/</a>.<p>
  +SOAP 1.1 is here: <A 
HREF="http://www.w3.org/TR/SOAP";>http://www.w3.org/TR/SOAP</a>. <BR>There are 
also some other SOAP-related specs in this list: <A 
HREF="http://www.w3.org/TR/";>http://www.w3.org/TR/</a>.<p>
   2.6&nbsp;&nbsp;<STRONG><A NAME="Q2_6">Are there any good books on 
SOAP?</A></STRONG><BR>
   See <A 
HREF="http://www.soaprpc.com/books/";>http://www.soaprpc.com/books/</a>.<p>
   2.7&nbsp;&nbsp;<STRONG><A NAME="Q2_7">What other SOAP implementations are 
available?</A></STRONG><BR>
  @@ -205,7 +205,7 @@
   For an Apache-SOAP 2.2 deployment, you will need to include the following 
jars:<BR>- xerces.jar<BR>- soap.jar<BR>- mail.jar<BR>- activation.jar<BR>The 
Apache-SOAP client-side dependencies are described in more detail on the 
web-site, in the "Installation" section, under the "Client-Side Instructions" 
heading. See <A 
HREF="http://xml.apache.org/soap/docs/";>http://xml.apache.org/soap/docs/</a> 
for this information.<p>
   3.2&nbsp;&nbsp;<STRONG><A NAME="Q3_2">How do I install Apache-SOAP on 
Tomcat?</A></STRONG><BR>
   Follow the instructions that are included with the Apache-SOAP distribution. 
Make sure that you read the instructions carefully as there are a bunch of 
'gotchas'.<BR>Xmethods have a good tutorial which includes setup information: 
<A 
HREF="http://www.xmethods.net/gettingstarted/apache.html";>http://www.xmethods.net/gettingstarted/apache.html</a><p>
  -3.3&nbsp;&nbsp;<STRONG><A NAME="Q3_3">Can I install Apache-SOAP 2.1 on 
Tomcat 4.0 beta?</A></STRONG><BR>
  +3.3&nbsp;&nbsp;<STRONG><A NAME="Q3_3">Can I install Apache-SOAP 2.1 on 
Tomcat 4.0 (beta)?</A></STRONG><BR>
   Catalina (Tomcat 4) uses a different class loading model to the tomcat 3.* 
series, so if you follow the Tomcat instructions in the soap distribution, when 
the soap web application is loaded it will not be able to find 
org.apache.soap.* or the SAX classes needed. However, it should work if you put 
xerces.jar and soap.jar into the lib directory under WEB-INF under your web 
application.<p>
   3.4&nbsp;&nbsp;<STRONG><A NAME="Q3_4">How do I install Apache-SOAP on Bea 
WebLogic 5.1?</A></STRONG><BR>
   Dion Almaer has written an article about this and it has been included in 
the distribution. See <A 
HREF="http://xml.apache.org/websrc/cvsweb.cgi/xml-soap/java/docs/install/weblogic51.html";>http://xml.apache.org/websrc/cvsweb.cgi/xml-soap/java/docs/install/weblogic51.html</a>.<p>
  @@ -228,7 +228,7 @@
   3.14&nbsp;&nbsp;<STRONG><A NAME="Q3_14">How do I install Apache-SOAP on 
Unify's ServletExec?</A></STRONG><BR>
   See <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&m=97741067209680&w=2";>http://marc.theaimsgroup.com/?l=soap-user&m=97741067209680&w=2</a>.<p>
   3.17&nbsp;&nbsp;<STRONG><A NAME="Q3_17">How do I install Apache-SOAP on 
Borland Application Server (BAS) 4.5?</A></STRONG><BR>
  -Installation of SOAP on BAS 4.5 is done in 3 steps:<BR>1) Deploy the <soap 
install dir>/webapps/soap.war using the deploy tool.<BR>2) Edit "<BAS451 
install dir>\var\servers\<server name>\adm\properties\ias.config" and add a 
line like "addpath <xerces install dir>/xerces.jar" at the end of the 
modifiable section."<BR>3) Add the required libraries either in the appserver 
or in the webcontainer.<BR> <BR>See <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&m=99728307503567&w=2";>http://marc.theaimsgroup.com/?l=soap-user&m=99728307503567&w=2</a>.
 Thanks to  <BR>Laurent Letellier and Colin Mondesir for this information.<p>
  +Installation of SOAP on BAS 4.5 is done in 3 steps:<BR>1) Deploy the [soap 
install dir]/webapps/soap.war using the deploy tool.<BR>2) Edit "[BAS451 
install dir]\var\servers\[server name]\adm\properties\ias.config" and add a 
line like "addpath [xerces install dir]/xerces.jar" at the end of the 
modifiable section."<BR>3) Add the required libraries either in the appserver 
or in the webcontainer.<BR> <BR>See <A 
HREF="http://marc.theaimsgroup.com/?l=soap-user&m=99728307503567&w=2";>http://marc.theaimsgroup.com/?l=soap-user&m=99728307503567&w=2</a>.
 Thanks to  <BR>Laurent Letellier and Colin Mondesir for this information.<p>
   
   
   <p><H2><u>4.&nbsp;&nbsp;Troubleshooting</u></H2>
  
  
  

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

Reply via email to