6 PM
To: [EMAIL PROTECTED]
Subject: Re: session, handler problem
Kiran -
have you considered embedding the custom message inside the SOAP fault as a
detail element or as a custom exception?
/Chris
-- Original Message --
From: "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
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 we
I am not really sure whether it is possible as I not an AXIS expert. But you
can acheive the same using some thing like this:
Write your two classes and write a third class with all the methods from
both classes, and in method body call the other class.
public class java1 {
method1() {
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
[mailto:[EMA
to Tomcat renamed to MyJunitTest.jws 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..
>
>
>
I do the same with my web services. My wsdd file looks like this..
http://www.w3.rg/2001/XMLSchema"; mode="OUT"/>
http://www.3.org/2001/XMLSchema"; mode="OUT"/>
I generated it using WSDL2Java. Your wsdl should look somethig like this...
That sh
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
Once you deploy the service in axis using admin service in your local
system, a file will be created under WEB-INF/server-config.wsdd
>From then onwards, you can simply copy it to WEB-INF directory while
creating WAR file or whatever you are doing.
Axis will pick it up automatically and no need to
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: Thursda
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 gettin
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 5529
In my
case I am returning two strings. I think it should be the same with you as well.
My wsdl seems something like
.
.
..
..
I used
WSDL2Java to produce java code, and the method generated will look something
like
public
void method(String arg1, String
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.
1) Try to run the command from axis direcotry like this
c:\axis>java -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
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 wit
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
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:
http://xml.
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:
http://xml.apache.org/xml-soap";>
I am using Axis1.1 and Tomcat 4.1.24. I don't know how to return to strings.
Is it possibl
19 matches
Mail list logo