RE: How to obtain reference to the ServletContext?

2002-03-17 Thread Glen Daniels
Glad you got things happening.  Sorry about the "context" typo, serves me right for coding this late on a Sunday night. :)   --G -Original Message-From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]Sent: Sunday, March 17, 2002 11:40 PMTo: [EMAIL PROTECTED]Subject: RE: How to o

RE: How to obtain reference to the ServletContext?

2002-03-17 Thread Bryan Field-Elliot
That's the secret sauce, thanks! It took me a little bit to figure out which imports to make based upon your types (had to dig through the JavaDocs). Also you have the variable "context" defined twice, I obviously had to change that. But this works like a charm so thank you! Bryan On S

RE: How to obtain reference to the ServletContext?

2002-03-17 Thread Glen Daniels
Hi Bryan!   If you know that your service is definitely using HTTP, you can use the following code to get the ServletContext:   MessageContext context = MessageContext.getCurrentContext(); HttpServlet servlet = (HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET); ServletContext

cvs commit: xml-axis/java/test/properties PackageTests.java PropertyHandler.java TestScopedProperties.java

2002-03-17 Thread gdaniels
gdaniels02/03/17 20:03:36 Modified:java/src/org/apache/axis MessageContext.java java/src/org/apache/axis/client AxisClient.java Call.java java/src/org/apache/axis/handlers BasicHandler.java java/src/org/apache/axis/handlers/soap SOAPService.j

cvs commit: xml-axis/java/test/utils TestJavaUtils.java

2002-03-17 Thread gdaniels
gdaniels02/03/17 20:01:48 Modified:java/test/utils TestJavaUtils.java Log: Fix test to match current code, and add new case for completeness. Revision ChangesPath 1.3 +2 -1 xml-axis/java/test/utils/TestJavaUtils.java Index: TestJavaUtils.java ==

cvs commit: xml-axis/java/test/properties - New directory

2002-03-17 Thread gdaniels
gdaniels02/03/17 16:37:19 xml-axis/java/test/properties - New directory

Bug report for Axis [2002/03/17]

2002-03-17 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser BeanSerializer.java

2002-03-17 Thread gdaniels
gdaniels02/03/17 08:25:08 Modified:java/src/org/apache/axis/utils JavaUtils.java java/src/org/apache/axis/wsdl/toJava JavaComplexTypeWriter.java java/test build_functional_tests.xml java/src/org/apache/axis/encoding/se