You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by penguin <ph...@yahoo.com> on 2002/10/02 07:43:07 UTC

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-class>
    <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:faultListener>
  </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 ?
Thanks in advance,


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>