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
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
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
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
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
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
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:
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
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
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
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.
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
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
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:
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 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
17 matches
Mail list logo