axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels" <gdani...@macromedia.com>
Subject Re: With the latest CVS, I can no longer deploy the stock sample
Date Sun, 29 Apr 2001 02:33:22 GMT
Whoops - had the case of "HTTP.input" wrong in the servlet defaults.  Fixed
now.

----- Original Message -----
From: "Sam Ruby" <rubys@us.ibm.com>
To: <axis-dev@xml.apache.org>
Sent: Saturday, April 28, 2001 9:50 PM
Subject: With the latest CVS, I can no longer deploy the stock sample


Request:

   POST /axis/servlet/AxisServlet HTTP/1.0
   Content-Length: 1473
   Content-Type: text/xml
   SOAPAction: "AdminService"

   <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd
   ="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><!-- Use this file to
deploy some handlers/chains and services  -->
   <!-- Two ways to do this:                                       -->
   <!--   java org.apache.axis.utils.Admin deploy.xml              -->
   <!--      from the same dir that the Axis engine runs           -->
   <!-- or                                                         -->
   <!--   java org.apache.axis.client.AdminClient deploy.xml       -->
   <!--      after the axis server is running                      -->
   <!-- This file will be replaced by WSDD once it's ready         -->

   <deploy>
     <handler name="authen"
class="org.apache.axis.handlers.SimpleAuthenticationHandler" />
     <handler name="author"
class="org.apache.axis.handlers.SimpleAuthorizationHandler" />
     <chain   name="checks"  flow="authen,author" />
     <chain   name="rpc"     flow="checks,RPCDispatcher" />

     <service name="urn:xmltoday-delayed-quotes" pivot="rpc" >
       <option name="className" value="samples.stock.StockQuoteService" />
       <option name="methodName" value="getQuote" />
     </service>
     <service name="urn:cominfo" pivot="rpc" >
       <option name="className" value="samples.stock.ComInfoService" />
       <option name="methodName" value="getInfo" />
     </service>
   </deploy>
   </SOAP-ENV:Body></SOAP-ENV:Envelope>

Result:

   HTTP/1.0 500 Internal Server Error
   Content-Type: text/xml
   Set-Cookie: JSESSIONID=wwds83l3e1;Path=/axis

   <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd

="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><SOAP-ENV:Fault><SOAP-ENV
:faultcode>http://xml.apache.org/axis/:AxisServer.error</SOAP-ENV:faultcode>
<SOAP-ENV:faultstring>No

   target field
set</SOAP-ENV:faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelo
pe>

- Sam Ruby



Mime
View raw message