Hi,

I am having a lot of trouble installing the WS-I example.  I have compiled
the code with ant which created a directory structure as follows
axis-1_2RC2\build\classes\org\apache\axis\wsi\scm which do not contain
deploy.wsdd files but the source directory does.  I ran the AdminClient from
both the source directory and the directory with the classes in it and both
times I get the following exception...

C:\Program Files\Apache Software Foundation\Tomcat for
JWSDP\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\org\apache\axis\wsi\
scm\manufacturer>java org.apache.axis.client.AdminClient -ddd deploy.wsdd
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Processing file deploy.wsdd
Exception: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.reflect.InvocationTargetException
 faultActor:
 faultNode:
 faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.lang.reflect.InvocationTargetEx
ception
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
21)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:12
8)
        at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo
ntext.java:1083)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unkn
own Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElem
ent(Unknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
entContentDispatcher.dispatch(Unknown
Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
ocument(Unknown Source)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext
.java:226)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:721
)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
        at org.apache.axis.client.Call.invoke(Call.java:2702)
        at org.apache.axis.client.Call.invoke(Call.java:1738)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:438)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:403)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:409)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:462)

        {http://xml.apache.org/axis/}hostname:clyde

tomcat is running and when I run AdminClient list it returns

C:\Program Files\Apache Software Foundation\Tomcat for
JWSDP\tomcat50-jwsdp\webapps\axis\WEB-INF\classes\org\apache\axis\wsi\
scm\manufacturer>java org.apache.axis.client.AdminClient list
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <globalConfiguration>
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory" value="C:\Program Files\Apache
Software Foundation\Tomcat for JWSDP\tomcat50-jwsdp\
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"/>
  <parameter name="axis.sendMinimizedElements" value="true"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="session"/>
   </handler>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="request"/>
    <parameter name="extension" value=".jwr"/>
   </handler>
  </requestFlow>
 </globalConfiguration>
 <handler name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
 <handler name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
 <handler name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 <service 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>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>
 <service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>
 <service name="rv_soap_Servlet" provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="wsdlPortType" value="rv_soap_Messages"/>
  <parameter name="wsdlServicePort" value="rv_soap_Servlet"/>
  <parameter name="className"
value="rv_Soap_Namespace.Rv_soap_ServletSoapBindingSkeleton"/>
  <parameter name="scope" value="Session"/>
  <parameter name="wsdlTargetNamespace" value="urn:rv_Soap_Namespace"/>
  <parameter name="wsdlServiceElement" value="rv_soap_MessagesService"/>
 </service>
 <transport name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
 </transport>
 <transport name="local">
  <responseFlow>
   <handler type="LocalResponder"/>
  </responseFlow>
 </transport>
</deployment>

And obviously the WS-I sample is not installing.  I also tried copying the
files to Tomcat but that also did not work as well as restarting tomcat.  I
can find no documentation on running/deploying this sample which I would be
happy to read!

Douglas Kunzman
Work 703-437-7651 x693
Mobile 571-228-1048

Reply via email to