RE: sharing session between servlets and soap services

2003-10-16 Thread Justin Ruthenbeck
I've been working on HttpSession support in Axis for the last couple days and a new ServletSessionHandler (based loosely on SimpleSessionHandler) to implement the integration. The integration isn't as simple as one would think. As you alluded to, you'll have to get rid of any calls to context.

RE: sharing session between servlets and soap services

2003-10-16 Thread Abhijat Thakur
what i want to do is to create a session in the soap service and then access the same session in a servlet. In my understanding if i create a session in service using MessageContext context = MessageContext.getCurrentContext(); HttpServletRequest req = (HttpServletRequest) context.getP

Re: sharing session between servlets and soap services

2003-10-16 Thread Henrik Vendelbo
Apparently the session support is still being worked on, although I have little clue what the plans are. You can sub-class the AxisServlet if you need to access servlet functionality until then - Original Message - From: "Abhijat Thakur" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: mixed deployment

2003-10-16 Thread Henrik Vendelbo
I just revisited SimpleProvider and noticed the default configuration parameter on the constructor. It basicly provides what I am looking for. Even so it seems only half way finished, can anyone verify this? Viewing the services for instance doesnt show my WSDD services although they still work.

sharing session between servlets and soap services

2003-10-16 Thread Abhijat Thakur
I have apache axis running under Tomcat. However session created in a service cannot be accessed in a regular servlet even though the servlet and the soap service are under the same instance of Tomcat. How can we share sessions between servlets and soap services. thanks abhijat

mixed deployment

2003-10-16 Thread Henrik Vendelbo
I am working on a deployment setup that is a mixture of WSDD deployment and database driven. Essentially I want to deploy according to a WSDD in the usual way and then add extra services based on a database of virtual host accounts. 1) Walked through the Axis System Integration Guide and set up a

axis-wsdl2java how to pass className arg that'll get into deploy.wsdd?

2003-10-16 Thread Christopher Blunck
hi all- like many others, i'm new to axis. i have an existing wsdl that i can pump through axis-wsdl2java thus: what i'm confused by is that the deploy.wsdd contains: i understand why wsdl2java used OrderBindingSkeleton (because I passed skeletondeploy="true"), but h

installation info missing in install.html and install.pdf

2003-10-16 Thread daranha3560
Hi!   The installation information in pdf and html only contains the title and lacks further content.   I have checked ws.apache.org/axis/java/ File                last modified                size install.html 15-Oct-2003  22:42        7.8K install.pdf   15-Oct-2003  22:42       

Re: JAX-RPC Handlers on server side

2003-10-16 Thread Dan Christopherson
Aha! thank you very much! -danch Vladimir Umansky wrote: c:\axis-1_1\samples\jaxrpc\ Or whatever the directory where you unzipped axis. --- Dan Christopherson <[EMAIL PROTECTED]> wrote: I'm trying to figure out if Axis supports JAX-RPC style handlers on the server side. Looking through the co

RE: How to bind custom ContentHandler to deserializer

2003-10-16 Thread Y D Sun
Let me explain more on my problem. I want to implement the custom serializer/deserializer to send my custom object with a complex structure. For the serializer, I have a custom XMLWriter that converts my custom object into a xml stream and writes the xml stream into SerializationContext. The seri

Re: JAX-RPC Handlers on server side

2003-10-16 Thread Vladimir Umansky
c:\axis-1_1\samples\jaxrpc\ Or whatever the directory where you unzipped axis. --- Dan Christopherson <[EMAIL PROTECTED]> wrote: > I'm trying to figure out if Axis supports JAX-RPC > style handlers on the server side. Looking through > the code, I don't see anywhere where they'd be > executed.

what jarfiles are absolutely required when running an Axis "client" within my app?

2003-10-16 Thread Teddy Wang
I've got an application which incorporates several Axis clients for retrieving data from disparate data sources, but at runtime, the inclusion of the axis jarfiles (all the ones incorporated in the 1.1 distribution) seem to cause some class definition problems with some other packages I'm using (en

Re: How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Leo de Blaauw
Well,   We just use handlers on client and server side to log the request and response messages, wich works great ! There are samples on handlers in the samples directory Greetings LEo - Original Message - From: Soma Shekar To: [EMAIL PROTECTED] Sent: Thursday, October 1

JAX-RPC Handlers on server side

2003-10-16 Thread Dan Christopherson
I'm trying to figure out if Axis supports JAX-RPC style handlers on the server side. Looking through the code, I don't see anywhere where they'd be executed. Am I missing something, or are JAX-RPC handlers only supported on the client? thanks, danch

transfer pars from client stub to transport pivot handler

2003-10-16 Thread Wolfram Ditzer
Hello Im creating a web service client with axis from a wsdl file. In client_deploy.wsdd I define a own Transport handler for http the class MyHttpSender. In my client stub class (class MyClientStub) I want to store some variables which should be used by the MyHttpSender. I thought I coul use th

java.net.URL problem

2003-10-16 Thread Dominik Stoklsoa
HI I am trying to generate Wsdl from my java interface ( Java2Wsdl). One of the method has java.net.URL as a return type. During wsdl generation I got the following error: The class java.net.URL is defined in a java or javax package and cannot be converted into an xml schema type. An xml sch

String arrays

2003-10-16 Thread justin avaya
Hi, I wanted to know if we could pass String arrays in our business logic through AXIS to the client. Thank you. _ See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com

RE: How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Ramrakhiani, Vikas
Title: Message  You may also take help of tcpmon tool which comes with the distribution.   -vikas.    -Original Message-From: Soma Shekar [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:28 PMTo: [EMAIL PROTECTED]Subject: How to Print the SOAP Request and Response Soap

Re: How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Ben Souther
You might also want to try running the tcpmon application that ships with Axis On Thursday 16 October 2003 10:00 am, Stephen Gordon wrote: > Make a handler (see samples/userguide/example4) > In the handler do: > msgContext.getCurrentMessage().writeTo(new > FileOutputStream("message.log")); > > Th

Re: How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Stephen Gordon
Make a handler (see samples/userguide/example4) In the handler do: msgContext.getCurrentMessage().writeTo(new FileOutputStream("message.log")); Then deploy your handler into the request/response flows. stephen Soma Shekar wrote: hi, i am an toddler in Axis , i just want to print the request and

How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Soma Shekar
hi,   i am an toddler in Axis , i just want to print the request and response SOAP XML from Axis   any body help me in this .   RgdsSoma Shekarhttp://www.nextlinx.com   A minute's success pays the failure of years :). - Original Message - From: Yves Gerber To: [EMAIL P

RE: Axis on Java Web Services Developer pack

2003-10-16 Thread Yves Gerber
I have the axis folder in: C:\jwsdp-1.2\webapps\ and my lib for my environment variables is: C:\jwsdp-1.2\webapps\axis\WEB-INF\lib   when I'm at the DOS prompt, what directory SHOULD I be at, and what directory should I start with when I do the "java  " line? Maybe if anyone using Win XP Pro can te

RE: Axis on Java Web Services Developer pack

2003-10-16 Thread Volkmann, Mark
Title: RE: Axis on Java Web Services Developer pack I don't know what the specific problem is (obviously a classpath issue), but I can confirm that you can run Axis using the the version of Tomcat that ships with the JWSDP. I do that all the time. > -Original Message- > From: Yves Ger

Where did the attachment go?

2003-10-16 Thread Mike Sexter
I'm new to Axis, web services, etc. So hopefully my problem has a simple solution. I'm using Axis 1.1 final under a stand-alone Tomcat 4.1.27 on Windows XP and doing research into returning images from web services. My first step was to write a simple client and service to see if I could send a

java.sql.Timestamp

2003-10-16 Thread Hans Nestler
Does anyone know how to serialize/deserialize a Timestamp?    I need to access many value objects containing the Timestamp data type, from an MS C# client.  I cannot modify the value objects to use a Calendar or Date object.   Thank you, Hans     Do you Yahoo!? The New Yahoo! Shopping - with imp

Remove mustunderstand from header

2003-10-16 Thread Wolfram Ditzer
Hello, I want to remove the "soapenv:musUnderstand="0" from my SOAP header: http://optel.test.de/schemas/interface/"; xmlns:ns2="http://optel.test.de/interface";> 22051 I looked for threads regarding my question, but I didn´t find an answer. I´m creating a Header

& generating problems ??

2003-10-16 Thread Leo de Blaauw
Hi all,   Has anybody ever seen that & generates errors when it is received in a string type field? Seems to give problems with our axis webservice, seems to me that it shouldnt   greetings,Leo de Blaauw  

java.lang.NullPointerException in EchoAttachment.java (standard s ample for attachment test with Axis)

2003-10-16 Thread De Closmadeuc, Etienne
Axis is installed and work fine with the web services I made. Now I want to use attachments to send/receive binary files. When I launch the standard test for Axis I get : C:\...>rem this assumes webserver is running on port 8080 Error "READM" does not exist! >>> OK the "READM" file doesn't exis

RE: change soap messages xml encoding to iso-8859-1

2003-10-16 Thread Enrique Rodríguez
Ok.. i will try it.   -Mensaje original- De: Henrik Vendelbo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 16 de octubre de 2003 2:05 Para: [EMAIL PROTECTED] Asunto: Re: change soap messages xml encoding to iso-8859-1   Which in turn means that you should convert your ISO st

Axis on Java Web Services Developer pack

2003-10-16 Thread Yves Gerber
Hi, I have Sun's Java Web Services Developer pack 1.2, which includes Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and got the enviro variables set, but I go to run the example (as in the User's guide), or any other .java and I get basically the same error response:   Exception in thre