duftler     01/06/19 17:08:32

  Modified:    targets/soap/faq index.html
  Added:       targets/soap/faq faq-for-WL6.1beta.html
  Log:
  Added a WebLogic61Beta FAQ by Steve Livingston
  
  Revision  Changes    Path
  1.3       +3 -0      xml-site/targets/soap/faq/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/soap/faq/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html        2001/05/23 17:41:02     1.2
  +++ index.html        2001/06/20 00:08:31     1.3
  @@ -64,6 +64,9 @@
   <li class="faqA">
   <em><a href="faq_chawke_smtp.html">SOAP and SMTP FAQ</a></em> by Jonathan 
Chawke.
   </li>
  +<li class="faqA">
  +<em><a href="faq-for-WL6.1beta.html">Apache SOAP and WebLogic 
6.1Beta</a></em> by Steve Livingston.
  +</li>
   </ul>
   
   
  
  
  
  1.1                  xml-site/targets/soap/faq/faq-for-WL6.1beta.html
  
  Index: faq-for-WL6.1beta.html
  ===================================================================
  <!-- saved from url=(0022)http://internet.e-mail -->
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    "http://www.w3.org/TR/REC-html40/loose.dtd";
  >
  <html>
  <head>
        <title>Apache SOAP Frequently Asked Questions (FAQ)</title>
        <style type="text/css">
        H1 { font-family : Helvetica; font-size : 14pt }
        P.faqTopic
        {
                font-family: Helvetica;
                font-size: 12pt;
                padding-top:0.25em;
              padding-bottom:0.25em;
        }
        LI.faqQ
        {
                font-family: Helvetica;
                font-size: 9pt
          font-weight: bold
        }
        P.faqA, LI.faqA
        {
                font-family: Times Roman;
                font-weight: normal
        }
        </style>
  </head>
  
  <body>
  <h1>Apache SOAP Frequently Asked Questions (FAQ)</h1>
  
  <p class="faqA">
  [Consider this a first draft .. comments welcome]
  </p>
  <p>
  Author: <a href="mailto:[EMAIL PROTECTED]">Steve Livingston</a>
  </p>
  
  <div id="faq_topic_installation" class="faqTopic">
    <p class="faqTopic">Installation</p>
        <ul class="faqTopic">
          <li id="faq_install_soap" class="faqQ">Can Apache Soap 2.2 be 
installed with WebLogic 6.1beta?
           <p class="faqA">
                The short answer is "yes", but you may have to resolve a 
namespace conflict
        because SOAP 2.2 now uses JAXP (instead of using Xerces directly).
                </p>
                <p class="faqA">
                When using Xerces directly there is no problem (other than to 
have the correct 
                version first in the classpath). When using JAXP there are two 
property values 
                which tell JAXP which parser to use. WL changes these to their 
bundled Xerces 
                parser (which is found in weblogic.apache.xerces -- at least in 
WL6.0). 
                With the entries described below, you change them to the 
original Xerces. 
                If WL6.1 has the bundled Xerces in org.apache.xerces you also 
have to have the 
                original xerces.jar first in classpath, otherwise it should not 
matter. So the 
                problem is that WL by default uses their bundled Xerces as JAXP 
parser. 
                </p>
                <p class="faqA">
                If you get <code>Unable to resolve namespace</code>,
        here's how to resolve the conflict:
                </p>
  
                <ol>    
  
                <li>Put Xerces in front of WebLogic's classpath (in 
startWebLogic script):
                <ul>
                <li><code>set 
CLASSPATH=E:\apache\xerces-1_4_0\xerces.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar</code>
                <br>(Starting with WebLogic 6.1beta, you may have to proceed 
with Setp #2 below.)
                </li>
                </ul>
                </li>
                <br>
  
                <li>Configure WebLogic to use the same Xerces as Soap, using 
the WebLogic console:</li>
                <ul>
                <li>mydomain/Services/XML => Configure a new XML Registry...<br>
        <code>Name = Xerces JAXP<br>
        DocumentBuilderFactory = 
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl<br>
        SAXParserFactory = org.apache.xerces.jaxp.SAXParserFactoryImpl<br>
        Transformer Factory = 
weblogic.apache.xalan.processor.TransformerFactoryImpl [default]<br>
        When To Cache = �cache-on-reference� [default]</code>
        </li>
                <li>mydomain/Servers/myserver => �Services� tab / �XML� tab<br>
        <code>Select �Xerces JAPX� from �XML Registry� pulldown</code>
                </li>
                </ul>
                <br>
  
                <li>Step 2 results in these changes to WebLogic's 
config.xml:</li>
                <ul>
                <li>Note the new <code>XMLRegistry</code>-attribute in the 
Server-tag:<br>
                      <code>&ltServer<br>ListenPort="7001"<br> 
              Name="myserver"<br>
              NativeIOEnabled="true"<br>
              TransactionLogFilePrefix="config/mydomain/logs/"<br>
              <em>XMLRegistry="Xerces JAXP"</em>&gt<br>
                                ...<br>
                                &lt/Server&gt
        </code></li>
                <li>An <code>XMLRegistry</code>-tag is created:<br>
                  <code>&ltXMLRegistry<br>
          
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"<br>
          Name="Xerces JAXP"<br>
          SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"<br>
          
TransformerFactory="weblogic.apache.xalan.processor.TransformerFactoryImpl"<br> 
          WhenToCache="cache-on-reference"/&gt
        </code></li>
                </ul>
                </ol>
  
  </div>
  
  </body>
  </html>
  
  
  
  

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

Reply via email to