RE: session, handler problem

2004-03-23 Thread Pathuru, Kiran
the SOAP fault as a detail element or as a custom exception? /Chris -- Original Message -- From: Pathuru, Kiran [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 22 Mar 2004 15:10:03 +0100 I have a webservice which works based on sessions. The user

session, handler problem

2004-03-22 Thread Pathuru, Kiran
I have a webservice which works based on sessions. The user first need to login and then onwards can make the calls. In one of my request handlers, now I am checking what method the user is requesting and then see whether the user has already logged in successfully, otherwise I will raise an Axis

session management

2004-03-18 Thread Pathuru, Kiran
I have the following problem in maintaining the session. I have a webservice where the user need to login first and if the login is successfull then the server sends a sessionid back to the user. Then the client will perform the lookup and update operations. My problem is that, the client is a

RE: wsdl2java and namespace

2004-03-04 Thread Pathuru, Kiran
I am also looking for the answer for a long time but haven't found yet. Though my application still uses ns1 as namespace instead of what I want it works fine. But any help on how to change this will be great. Thanks kiran pathuru -Original Message-From: Wei Hsu

RE: Creating a JWS web service with OUT parameters?

2004-03-03 Thread Pathuru, Kiran
I do the same with my web services. My wsdd file looks like this.. operation method=blbb parameter name=code type=tns:string xmlns:tns=http://www.w3.rg/2001/XMLSchema; mode=OUT/ parameter name=message type=tns:string xmlns:tns=http://www.3.org/2001/XMLSchema; mode=OUT/ /operation

RE: Creating a JWS web service with OUT parameters?

2004-03-03 Thread Pathuru, Kiran
and it would automagically be able to use OUT parameters - to do this I'd need to know how I would define an OUT parameter in a java method.. Thanks, Ben Pathuru, Kiran wrote: I do the same with my web services. My wsdd file looks like this.. operation method=blbb parameter name=code

RE: Java2WSDL problem

2004-02-25 Thread Pathuru, Kiran
run it from C:\devWS directory like java -classpath test .. regards, kiran pathuru -Original Message- From: Danko Desancic [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:26 PM To: [EMAIL PROTECTED] Subject: Java2WSDL problem I am new to the axis and

RE: getting client ip in service class

2004-02-12 Thread Pathuru, Kiran
Here we go HttpServletRequest req = (HttpServletRequest)MessageContext.getCurrentContext).getPropertyHTTPConstan ts.MC_HTTP_SERVLETREQUEST); String clientIp = req.getRemoteAddr(); regards, kiran pathuru -Original Message- From: Samir Shaikh [mailto:[EMAIL PROTECTED] Sent:

RE: JAX-RPC with attachments question

2004-02-09 Thread Pathuru, Kiran
In my case I am returning two strings. I think it should be the same with you as well. My wsdl seems something like . . message name="methodResponse" part name="returnCode" type="xsd:string"/ part name="returnMessage" type="xsd:string"/ /message .. .. I used WSDL2Java

finding ip address of client

2004-02-09 Thread Pathuru, Kiran
hi, Can anybody suggest me how can find the IP address of the client from where I am getting requests. Or atleast how to get the request object, so that I can use request.getRemoteAddr() method... Any ideas where I can look into.. Regards, kiran pathuru http://www.ect-telecoms.de Tel: +49 89

RE: finding ip address of client

2004-02-09 Thread Pathuru, Kiran
for the solution.. -Original Message- From: Pathuru, Kiran [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 5:58 PM To: '[EMAIL PROTECTED]' Subject: finding ip address of client hi, Can anybody suggest me how can find the IP address of the client from where I am getting requests

Security Handler, returning error message instead of throwing axi s fault

2004-02-06 Thread Pathuru, Kiran
hello everybody, I have a Login handler which will check from which IP address the request is coming and then return an error message if the IP address is not the intended one. Instead of throwing axis fault, I want to send a SOAP response like the following which is how the customer receives.

RE: using custom namespace instead of ns1

2004-01-29 Thread Pathuru, Kiran
Nobody ready to help me ... Any hints on what to do? -Original Message- From: Pathuru, Kiran [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 12:54 PM To: '[EMAIL PROTECTED]' Subject: using custom namespace instead of ns1 Hello everybody, I am having a problem with using my

RE: problem in running the admin client

2004-01-29 Thread Pathuru, Kiran
1) Try to run the command from axis direcotry like this c:\axisjava -classpath . samples.stock.GetQuote -uuser.. This will fix the first problem. 2) If you set the classpath in windows, already opened cmd prompts can not get the updated classpath. check this by seeing the classpath from

using custom namespace instead of ns1

2004-01-27 Thread Pathuru, Kiran
Hello everybody, I am having a problem with using my own namespace instead of the default ns1 generated by axis in SOAP messages. However I tried a lot without much luck and even searched the group but unable to find any answer. I want my response to look like the following:

RE: unrecognised operation error

2004-01-27 Thread Pathuru, Kiran
Hi Brian, It seems like the method you are requesting is not supported or atleast not in the wsdl. Just check whether you are requesting the correct method. Go to http://youhost/appName/servlet/AxisServlet and see whether this method is there under the service name. To see your request

returning more than one string

2004-01-22 Thread Pathuru, Kiran
Hello everybody, I am having some problems in returning more than one string to my SOAP request. The SOAP response should be something like the following: serviceResponse xsi:type=ns2:Element xmlns:ns2= http://xml.apache.org/xml-soap; return returnCode