DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9510>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9510

bug  in the file creation process of the server-config.wsdd

           Summary: bug  in the file creation process of the server-
                    config.wsdd
           Product: Axis
           Version: beta-2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


(Environment: Windows 2000 server, Axis Beta 2, Resin-2.1.1 Web Server)

The server-config.wsdd file  is created by Axis engine when I deploy an Axis 
Web Service.
It seems there is a bug in the file creation process because there are a lot of 
wrong xmlns attributes in server-config.wsdd. In the <deployment> element there 
are three xmlns attributes.
The server-config.wsdd file is shown below after the error description.
I deployed the "InvertStrService". When I try to surf to 
http://localhost:8080/axis/services/InvertStrService?wsdl, I get the following 
error:

ERROR

500 Servlet Exception
org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Invalid
WSDD element 'deployment' (wanted 'deployment')
        at org.apache.axis.AxisEngine.init(AxisEngine.java:175)
        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:158)
        at org.apache.axis.server.AxisServer.<init>(AxisServer.java:121)
        at org.apache.axis.server.DefaultAxisServerFactory.createNewServer
(DefaultAxisServerFactory.java:155)
        at org.apache.axis.server.DefaultAxisServerFactory.getServer
(DefaultAxisServerFactory.java:93)
        at org.apache.axis.server.AxisServer.getServer(AxisServer.java:105)
        at org.apache.axis.transport.http.AxisServlet.getEngine
(AxisServlet.java:202)
        at org.apache.axis.transport.http.AxisServlet.getEngine
(AxisServlet.java:166)
        at org.apache.axis.transport.http.AxisServlet.doGet
(AxisServlet.java:215)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
        at com.caucho.server.http.FilterChainServlet.doFilter
(FilterChainServlet.java:96)
        at com.caucho.server.http.Invocation.service(Invocation.java:311)
        at com.caucho.server.http.CacheInvocation.service
(CacheInvocation.java:135)
        at com.caucho.server.http.HttpRequest.handleRequest
(HttpRequest.java:218)
        at com.caucho.server.http.HttpRequest.handleConnection
(HttpRequest.java:160)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
        at java.lang.Thread.run(Thread.java:479)


SERVER-CONFIG.WSDD FILE 


<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:="http://xml.apache.org/axis/wsdd/"; 
xmlns="http://xml.apache.org/axis/wsdd/"; xmlns:="http://www.w3.org/2000/xmlns/"; 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <globalConfiguration xmlns:="http://xml.apache.org/axis/wsdd/";>
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory" value="E:\resin-2.1.1
\webapps\axis\WEB-INF\attachments"/>
  <parameter name="attachments.implementation" 
value="org.apache.axis.attachments.AttachmentsImpl"/>
  <parameter name="sendXsiTypes" value="true"/>
  <parameter name="sendMultiRefs" value="true"/>
  <parameter name="sendXMLDeclaration" value="true"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler"/>
  </requestFlow>
 </globalConfiguration>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/"; name="Authenticate" 
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/"; name="LocalResponder" 
type="java:org.apache.axis.transport.local.LocalResponder"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/"; name="URLMapper" 
type="java:org.apache.axis.handlers.http.URLMapper"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/"; name="MsgDispatcher" 
type="java:org.apache.axis.providers.java.MsgProvider"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/"; name="RPCDispatcher" 
type="java:org.apache.axis.providers.java.RPCProvider"/>
 <service xmlns:="http://xml.apache.org/axis/wsdd/"; name="AdminService" 
provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="false"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/"; name="InvertStrService" 
provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="invertstr.InvertStr"/>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/"; name="Version" 
provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/"; name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
 </transport>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/"; name="local">
  <responseFlow>
   <handler type="java:org.apache.axis.transport.local.LocalResponder"/>
  </responseFlow>
 </transport>
</deployment>

Reply via email to