You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sam Ruby <ru...@us.ibm.com> on 2001/04/29 03:50:23 UTC
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:Envelope>
- Sam Ruby
Re: With the latest CVS, I can no longer deploy the stock sample
Posted by Glen Daniels <gd...@macromedia.com>.
Whoops - had the case of "HTTP.input" wrong in the servlet defaults. Fixed
now.
----- Original Message -----
From: "Sam Ruby" <ru...@us.ibm.com>
To: <ax...@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