For the J2EE RI, soap.xml file does not need to live in WEB-INF, but in the
root of the directory created by the war file.

here is the contents of my soap war file:

META-INF/
META-INF/MANIFEST.MF
soap.xml
WEB-INF/
WEB-INF/lib/
WEB-INF/lib/activation.jar
WEB-INF/lib/cscie162-asimpson-fp-ba.jar
WEB-INF/lib/mail.jar
WEB-INF/lib/soap.jar
WEB-INF/lib/xerces.jar
WEB-INF/web.xml

And here is the relevant section of the web.xml file:


    <init-param>
      <param-name>ConfigFile</param-name>
      <param-value>soap.xml</param-value>
    </init-param>
  </servlet>

Not sure if this is the same on BEA.

Andrew



-----Original Message-----
From: Jamie Tsao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: RE: soap.xml and deployed-services.xml


Now I'm really confused, the Apache documentation clearly says:

        <init-param>
          <param-name>ConfigFile</param-name>
          <param-value>config-file</param-value>
        </init-param>
      </servlet>
where config-file is the path (either fully qualified or relative) and
filename of the SOAP configuration file.

So this means that it should work if I put "/WEB-INF/soap.xml"
In my soap.xml file, I have:
<soapServer>
  <configManager value="org.apache.soap.server.XMLConfigManager">
    <option name="filename" value="/WEB-INF/deployed-services.xml"/>
  </configManager>
</soapServer>

Why is this not working ??  I really don't want to put soap.xml and
deployed-services.xml in my root web directory.  IT BELONGS IN WEB-INF !!!!
ANYBODY ???
I'm using weblogic 6.1
Thanks.


-----Original Message-----
From: Jamie Tsao
Sent: Monday, January 21, 2002 5:24 PM
To: [EMAIL PROTECTED]
Subject: soap.xml and deployed-services.xml


Do these files have to be in the root directory of the web app ??  Why can't
I put these files in the WEB-INF directory, and just specify the path in
web.xml:

    <init-param>
      <param-name>ConfigFile</param-name>
      <param-value>WEB-INF/soap.xml</param-value>
    </init-param>

This seems a bit odd to me.  Can somebody confirm or explain this ?

Thanks

Reply via email to