Your deployedservices.xml is missing the proper root element.  What you
have needs to be wrapped inside
<deployedServices>...</deployedServices>.  The XMLConfigManager looks at
children of the root.  Your <isd:service> element is the root, not a
child of the root.

Scott Nichol

----- Original Message -----
From: "penguin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 1:43 AM
Subject: Apache SOAP, JBoss and deployment descriptor


> Dear all,
> Dear Scott,
> I have one problem with deployment descriptor when
> using JBoss and ApacheSoap.
> I config my web.xml to:
>
>   <servlet>
>     <servlet-name>rpcrouter</servlet-name>
>     <display-name>Apache-SOAP RPC
> Router</display-name>
>     <description>no description</description>
>
>
<servlet-class>org.apache.soap.server.http.RPCRouterServlet</servlet-cla
ss>
>     <init-param>
>       <param-name>faultListener</param-name>
>
> <param-value>org.apache.soap.server.DOMFaultListener</param-value>
>     </init-param>
>     <init-param>
>       <param-name>ConfigFile</param-name>
>       <param-value>/WEF-INF/soap.xml</param-value>
>     </init-param>
>   </servlet>
>
> in the WEB-INF\soap.xml, I wrote that:
>
> <soapServer>
>  <configManager
> value="org.apache.soap.server.XMLConfigManager" >
>    <option name="filename"
> value="/WEB-INF/DeployedServices.xml" />
>  </configManager>
> </soapServer>
>
> in the WEB-INF\DeployedServices.xml, I wrote that:
> <isd:service
> xmlns:isd="http://xml.apache.org/xml-soap/deployment";
> id="urn:ejbsoap" >
>    <isd:provider
> type="org.apache.soap.providers.StatelessEJBProvider"
> scope="Application" methods="helloString">
>      <isd:option key="JNDIName"
> value="EJBHelloService1Name"/>
>      <isd:option key="FullHomeInterfaceName"
> value="ejbsoap.EJBHelloService1Home"/>
>      <isd:option key="ContextProviderURL"
> value="localhost:1099"/>
>      <isd:option key="FullContextFactoryName"
> value="org.jnp.interfaces.NamingContextFactory"/>
>    </isd:provider>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultLis
tener>
>   </isd:service>
>
> When I start server and deploy my soap.war, in the
> server.log file, i see that:
>
> [12:01:51,374,StatelessSessionContainer] Begin
> java:comp/env for EJB: EJBHelloService1Name
> [12:01:51,384,StatelessSessionContainer] TCL:
> java.net.URLClassLoader@3e75a5
> [12:01:51,394,StatelessSessionContainer] End
> java:comp/env for EJB: EJBHelloService1Name
> [12:01:51,394,StatelessSessionContainer] Mapped
> Container method remove HASH -1842617161
> [12:01:51,404,StatelessSessionContainer] Mapped
> Container method getEJBHome HASH -993218923
> [12:01:51,404,StatelessSessionContainer] Mapped
> Container method getHandle HASH 1182305581
> [12:01:51,404,StatelessSessionContainer] Mapped
> Container method getPrimaryKey HASH -131865408
> [12:01:51,404,StatelessSessionContainer] Mapped
> Container method isIdentical HASH 285457048
> [12:01:51,404,StatelessSessionContainer] Mapped
> helloString 134044180to public java.lang.String
> ejbsoap.EJBHelloService1Bean.helloString(java.lang.String)
>
> But when I pointed to
> http://localhost:8080/soap/admin/list.jsp, it doesn't
> have my above service?
> Is the service deployed by the DeployedServices.xml
> file ???? Do I have any wrong steps ? I'm using
> JBoss2.4.4 included Tomcat4.0.1.
> Thanks in advance,
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to