Re: How to get HttpServletRequest from my call

2005-01-13 Thread Alex Chen
Thanks Tim. That works great. Tim K. (Gmane) wrote: Be aware that getRemoteAddr() may not be the address of the client sending the request but rather a proxy/caching server in between, load balancer, etc. As long as you are OK with it you can get the request like this: MessageContext context =

Re: How to get HttpServletRequest from my call

2005-01-12 Thread Tim K. (Gmane)
Be aware that getRemoteAddr() may not be the address of the client sending the request but rather a proxy/caching server in between, load balancer, etc. As long as you are OK with it you can get the request like this: MessageContext context = MessageContext.getCurrentContext(); HttpServletReque

Re: How to get HttpServletRequest from my call

2005-01-12 Thread Alex Chen
I need to inspect the message in the program, e.g. I want to know there the message comes from by calling the getRemoteAddr() method of the request. Flores, Raul wrote: If you only want to inspect the messages then use a monitor tool. tcpTrace is excellent for this (thank you simon and matt) Raul

RE: How to get HttpServletRequest from my call

2005-01-12 Thread Flores, Raul
If you only want to inspect the messages then use a monitor tool. tcpTrace is excellent for this (thank you simon and matt) Raul -Original Message- From: Alex Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 3:39 PM To: [EMAIL PROTECTED] Subject: How to get HttpServl

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
No problem, Tim. I think I'm going to have to worry about this problem before too long, so I'd be interested in options. SOAP headers are probably the way to go. If you implement the cookie functionality in handlers, then it should be relatively easy to move to another method. I'll probably look

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread Tim K. (Gmane)
Thanks Tony for your good replies on this list. I wonder if my approach is good in general. I suspect there will also be non-Axis clients like .NET and maybe other frameworks on the client side that will need to do the same. Does anyone have a different idea to achieve the same behavior? I think

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
In that case, as I mentioned in my first reply, extract the cookies from the message context, in the first reply and store them somewhere (for example, in a static variable or in system properties) that will be available in the next call. In that next call, add the cookies to the message context a

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread Tim K. (Gmane)
John Walker wrote: Is it possible to get and set cookies on the HTTP transport from the *client* side of Axis? I tried using the MessageContext to get the HttpRequest object, and then set cookies there, but it seemed that when doing this from the AXIS client side, when the HTTP message got to the

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
John, I'm not sure what you were getting back from the MessageContext but there is no HttpRequest available from the Axis client. HttpRequests only exist on the server. Of course, your client may be embedded in a server side object but the HttpRequest for that would not be the one associated with

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread John Walker
> Is it possible to get and set cookies on the HTTP transport from the > *client* side of Axis? I tried using the MessageContext to get the HttpRequest object, and then set cookies there, but it seemed that when doing this from the AXIS client side, when the HTTP message got to the receiver, my c

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
Well, Axis stores cookies in the message context, so I guess you could simply put your cookies there and they will be picked up for transmission to the server. Axis uses two cookies, "Cookie" and "Cookie2". The first contains the session ID (e.g. "JSESSIONID=206048F23B7AB387C5B2801622EF2C1C"). I'm

Re: How to get the int returned from the service

2004-11-17 Thread Peter Smith
> Call.invoke returns type Object. You need to cast that into the Integer > class and use intValue() to get the value into the primitive type int. > > Something like this: > int a = (new Integer((String)call.invoke(new Object[]{}))).intValue(); Or this int a = ((Integer)call.invoke(new Objec

Re: How to get the int returned from the service

2004-11-17 Thread Dacheng
Thank you very much, that is exactly what I want. dacheng - Original Message - From: "Greg Michalopoulos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 3:51 PM Subject: RE: How to get the int returned from the service > Call.i

RE: How to get the int returned from the service

2004-11-17 Thread Greg Michalopoulos
Call.invoke returns type Object. You need to cast that into the Integer class and use intValue() to get the value into the primitive type int. Something like this: int a = (new Integer((String)call.invoke(new Object[]{}))).intValue(); -Original Message- From: Dacheng [mailto:[EMAIL PROTE

RE: how to get rid of these warnings?

2004-10-21 Thread Arijit Mukherjee
generated beans for this purpose. Cheers Arijit >-Original Message- >From: Tami Wright [mailto:[EMAIL PROTECTED] >Sent: 20 October 2004 23:53 >To: [EMAIL PROTECTED] >Subject: RE: how to get rid of these warnings? > >Any complex objects being passed across the wire need

RE: how to get rid of these warnings?

2004-10-20 Thread Tami Wright
Any complex objects being passed across the wire need to be standard bean types (getters/setters) with a default constructor in each. java.util.List and net.sf.hibernate.Interceptor will not qualify because axis cannot marshall/unmarshall them into platform-independent/soap-compliant types. Sa

RE: how to get rid of these warnings?

2004-10-20 Thread Paul Kukk
Can you post your applicationContext.xml file? -Original Message- From: Koney, Satish [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 12:00 PM To: [EMAIL PROTECTED] Subject: how to get rid of these warnings? I am trying to develop the service using Spring and Hibernate. When

RE: How to get one object per thread?

2004-09-09 Thread tony . q . weddle
Branko, The Axis servlet is just that, a servlet, and so creates a thread for each request. So request scope should be identical to a thread scope. If the instantiation is expensive, why do you want to do anything other than application scope? Session scope is in the middle, instantiating the se

RE: How to get one object per thread?

2004-09-08 Thread Branko Peteh
Yes, request will do it. It is just very expensive. What I would really need is per-thread instantiation, because the instantiation is, in this particular case, very expensive, so doing it repeatedly on every request is just wasteful (CPU, resources, memory etc.). How about creating a specialized

Re: How to get one object per thread?

2004-09-08 Thread tony . q . weddle
I wouldn't expect session scoped services to get created for each thread, since they need to stay around for the life of the user session (which may span multiple requests). Request scope seems to be the one you want. Servlets create a new thread for each request and, with request scope, each requ

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
My bad. The class i was using was implementing the javax.xml.rpc.Handler interface. It should be implementing the org.apache.axis.Handler interface. Once i did that i got the handler to work. Thanks for all the help.

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
Message- From: Kapil Khanna [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the

RE: How to get a MessageContext from a client

2004-07-28 Thread Brian Freeman
, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the following client-config.wsdd file http://xml.apache.org/axis/wsdd/"; xmlns:java="http:

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
Ok, i got past the NullPointerException. Its seems like i was missing the keyword type in the After fixing that i get the following error:- AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.apache.axis.ConfigurationException: j

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the following client-config.wsdd file http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apac he.org/axis/wsdd/providers/java"> When i try to execute the SOAP client i

Re: How to get a MessageContext from a client

2004-07-28 Thread Michael Thompson
You can setup client side handlers in client-config.wsdd. Just place it on your clients classpath. --m Kapil Khanna wrote: I am consuming an external web service and am trying to get a handle to the MessageContext via MessageContext.getCurrentContext(). Unfortunately the MessageContext i get

Re: How to get the SOAP Envelope from msg Context without invocation

2004-06-15 Thread Matt Payne
4:58:41 +0530 Subject: RE: How to get the SOAP Envelope from msg Context without invocation To: [EMAIL PROTECTED] Hi jose, I dont know if it is helpful to you. I adapted a different approach in this case. I created soap envelope first, signed it and used call.invoke(envelope) ap

RE: How to get the SOAP Envelope from msg Context without invocation

2004-06-15 Thread GANDHIRAJAN, AYYAPPAN
From: Dhanush Gopinath [mailto:[EMAIL PROTECTED]Sent: Monday, June 07, 2004 10:07 AMTo: [EMAIL PROTECTED]Subject: Re: How to get the SOAP Envelope from msg Context without invocation Jose,   Handlers are called while request and response flows. It is an automatic process... I

Re: How to get the SOAP Envelope from msg Context without invocatio n

2004-06-06 Thread Dhanush Gopinath
: Friday, June 04, 2004 7:47 PM Subject: Re: How to get the SOAP Envelope from msg Context without invocation Is it possible to programatically set client-side handlers? That way my problem would be solved.   Cheers,   Jose M. Selman     - Original Message

Re: How to get the SOAP Envelope from msg Context without invocation

2004-06-04 Thread Davanum Srinivas
Yes, look at test\wsdl\jaxrpchandler\JAXRPCHandlerTestCase.java search for ClientHandler -- dims - Original Message - From: Jose M. Selman <[EMAIL PROTECTED]> Date: Fri, 4 Jun 2004 10:17:52 -0400 Subject: Re: How to get the SOAP Envelope from msg Context without invocation To:

Re: Re: How to get the SOAP Envelope from msg Context without invocatio n

2004-06-04 Thread Davanum Srinivas
L PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 04, 2004 9:04 AM > Subject: Re: Re: How to get the SOAP Envelope from msg Context without > invocatio n > > > please take a look at the samples/security/* for an example that does > xml-dsig. > > > &

Re: Re: How to get the SOAP Envelope from msg Context without invocatio n

2004-06-04 Thread Jose M. Selman
help. Cheers, Jose M. Selman - Original Message - From: "Davanum Srinivas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 9:04 AM Subject: Re: Re: How to get the SOAP Envelope from msg Context without invocatio n > please take a look

Re: How to get the SOAP Envelope from msg Context without invocation

2004-06-04 Thread Jose M. Selman
Is it possible to programatically set client-side handlers? That way my problem would be solved.   Cheers,   Jose M. Selman     - Original Message - From: Dhanush Gopinath To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:50 PM Subject: Re: How to get the

Re: Re: How to get the SOAP Envelope from msg Context without invocatio n

2004-06-04 Thread Davanum Srinivas
please take a look at the samples/security/* for an example that does xml-dsig. thanks, dims - Original Message - From: Dhanush Gopinath <[EMAIL PROTECTED]> Date: Fri, 4 Jun 2004 09:20:21 +0530 Subject: Re: How to get the SOAP Envelope from msg Context without invocatio

Re: How to get the SOAP Envelope from msg Context without invocatio n

2004-06-03 Thread Dhanush Gopinath
Jose,   You wont be able to get a SOAPEnvelope at the client end after the call or before the call .. because before the call there is no SOAPMessage and after the Call the response is over.   and Call.getMessgaeContext() will return a null value. So you cant access that Message Context.   H

RE: How to get Enumerations in WSDL?

2004-03-24 Thread Ted Neward
ls. Ted Neward Author, Instructor, Presenter: Java and .NET http://www.neward.net/ted -Original Message- From: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 12:36 AM To: [EMAIL PROTECTED] Subject: Re: How to get Enumerations in WSDL?

Re: How to get Enumerations in WSDL?

2004-03-24 Thread BLIS Webmaster (Patrick Houbaux)
Hi all, Has anybody any hints on my question? Patrick. BLIS Webmaster (Patrick Houbaux) wrote: Dear all, I have the following design for my object datatype model I want to expose from my web service: public class MyClass { MyClassTypeEnum myClassType; public MyClassTypeEnum get

Re: How to get the HttpRequest object from within a Web Service?

2004-03-12 Thread Junaid . Bhatra
It's mentioned in the FAQ/Wiki: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest - Junaid

Re: How to get the HttpRequest object from within a Web Service?

2004-03-12 Thread Lanto Randriamiharisoa
Hi, Take a look at the Axis User's guide on http://ws.apache.org/axis/java/user-guide.html, especially in paragraph "Classes to know". Perhaps it could help you... -Lanto [EMAIL PROTECTED] wrote: Hi all, Anybody knows how I can get at the HttpRequest object from within a Web Service when wor

Re: How to get infos about the deployed Web Services

2004-02-22 Thread Jeff Greif
Look at the documentation for org.apache.axis.client.AdminClient (which is used to (un)deploy services). It also has a command 'list' which lists the configuration of each service. The server side is org.apache.axis.utils.Admin which has a static method listConfig producing an xml document. Jeff

Re: How to get infos about the deployed Web Services

2004-02-22 Thread Brian Abbott
Oops, sorry, I think and, I volunteer that I could be wrong as there may already be existing ways to do this, you need to modify AxisServlet in the org.apache.axis.transport.http package, modify: protected void reportAvailableServices(HttpServletResponse response,

Re: How to get infos about the deployed Web Services

2004-02-22 Thread Brian Abbott
Hmm... I think you would need to modify org.apache.axis.transport.http.AxisServerServlet to do that. Brian Abbott Chris Aiken wrote: Hi together! How can I realize a Web Service, Handler or AxisPlugin which is able to list all deployed Web Services of an Axis Environment. In addition, it shoul

Re: How to get to the wsdl

2004-01-13 Thread Tore Halset
Hello. I found the solution to the problem :) It was the server-config.wsdd. Starting with the generaded wsdd by the demo webapp and AdminService/AdminClient fixed the problem. Puh! - Tore. http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

Re: How to get to the wsdl

2004-01-13 Thread Tore Halset
Hello. I still have problems generating wsdl for my web services. I am running jboss-3.2.1_tomcat-4.1.24 on OS X 10.3.2 with java build 1.4.1_01-99. "axis-1_1/webapps/axis" works very well. Both happyaxis, EchoHeaders and generating wsdl works. I have created a minimal project to demonstrate t

Re: How to get to the wsdl

2004-01-08 Thread Tore Halset
On Jan 6, 2004, at 14:38, Tore Halset wrote: "(wsdl)" are a link to http://servername/warname/services/OrderService?wsdl , but it does not display the wsdl: "AXIS error Could not generate WSDL! There is no SOAP service at this location" http://servername/warname/services/OrderService looks li

Re: How to get to the wsdl

2004-01-07 Thread Tore Halset
Hello! As the services works ok for my java client I guess it should not be a class loading problem. Here is some of mye wsdd. The real one include some other services as well, but this should be enough. http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd

Re: How to get to the wsdl

2004-01-06 Thread Guillaume Sauthier
Hi Maybe there is some class loading problem ... Have you check taht all classes used by your web services are availables ? could you send us the wsdd ? regards Guillaume Tore Halset wrote: > > On Jan 6, 2004, at 14:45, [EMAIL PROTECTED] wrote: > > > Looks like the wsdl file was included and

Re: How to get to the wsdl

2004-01-06 Thread Tore Halset
On Jan 6, 2004, at 14:45, [EMAIL PROTECTED] wrote: Looks like the wsdl file was included and not generated by axis, look at the wsdd file of the web service (that registers the web service) to see where it is located. The wsdd-file does not mention any wsdl-file. - Tore.

Re: How to get to the wsdl

2004-01-06 Thread rd264
Looks like the wsdl file was included and not generated by axis, look at the wsdd file of the web service (that registers the web service) to see where it is located. Quoting Tore Halset <[EMAIL PROTECTED]>: > Hello! > > I have an old web-application packed into a single war. I have recentl

Re: How to get sample SOAP Body?

2003-12-08 Thread Dimuthu Leelarathne
Hi Rajesh, There are three ways to invoke a web service. Using a static client, using a proxy or complete dynamic invocation. It's not really clear to me whether you want to generate the SOAP message given "the wsdl" or "the uri of the wsdl." Of course if you have the wsdl beforehand you can run

Re: How to get sample SOAP Body?

2003-12-06 Thread Ben Souther
Did you look at the tcpmon aplication that ships with Axis? On Saturday 06 December 2003 12:53 pm, you wrote: > Hi folks, > > I'd like to be able to get a sample of what > should be provided to a document/literal > web service that I want Apache Axis to invoke > as a client. > > For example, give

Re: how to get the latest checked in code?

2003-11-21 Thread Davanum Srinivas
http://cvs.apache.org/snapshots/ws-axis/ --- Shantanu Sen <[EMAIL PROTECTED]> wrote: > I wanted to check the difference for a specific > wsdl2java behavior between the 1.1 final and the > currently checked in source code to see if what I > think is a bug has been fixed. I looked at > http://cvs.ap

RE: How to get generated wsdl

2003-10-31 Thread Wilson, Allen
Tore... I just got a lot of help from several people on setting up Axis...so I hope I can return the favor. Have you tried using the AdminClient on your wsdd file. This will generate the wsdl for you... Allen -Original Message- From: Tore Halset [mailto:[EMAIL PROTECTED] Sent: Friday, O

RE: HOw to get the Binary for the nightly build

2003-08-20 Thread Manchaiah, Girish (LNG-DAY)
Refer to xml-axis\docs\building-axis.html You can build the binary in minutes. -Original Message- From: Rick Kellogg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: Re: HOw to get the Binary for the nightly build Some days the build

Re: HOw to get the Binary for the nightly build

2003-08-20 Thread Rick Kellogg
Some days the build fails. That is why you are not seeing a binary. Look for an earlier date. Rick ---Original Message--- From: Subhendu Kumar mohanty <[EMAIL PROTECTED]> Sent: 08/20/03 10:25 AM To: [EMAIL PROTECTED] Subject: HOw to get the Binary for the nightly build > > Hi, I was

Re: How to get the running AxisEngine?

2003-07-30 Thread Frank Schoenau
Help. when i tryed to get the AxisEngine with AxisEngine en = server.getEngine() it doesnt work. I want to deploy an Object, so i have a reference to this Service and cn communicate with my Application. Is there any way to do this and does anyone can give me a example?? > Hi, > > can anybody t

RE: How to get the running AxisEngine?

2003-07-29 Thread Jerome Baumgarten
Don't know if this help, but on the server side, you can do that from a Servlet : AxisServer axisServer = AxisServlet.getEngine(this); Jerome -Original Message- From: Frank Schoenau [mailto:[EMAIL PROTECTED] Sent: mardi 29 juillet 2003 09:16 To: [EMAIL PROTECTED] Subject: How to get the

Re: How to get get the SOAPMessage reference from the Axis client while using WSDL2JAVA utiliity

2003-06-26 Thread Reynardine
Chandra, See http://www-106.ibm.com/developerworks/webservices/library/ws-jaxrpc2/?dwzone=webservicesand http://www.cs.unc.edu/Courses/comp190/docs/documentation/axis/apiDocs/org/apache/axis/message/package-tree.html e.g. Public class AcmeSOAPHeaderHandler extends GenericHandler{ Public Boolean

RE: How to get

2003-02-10 Thread Mike Burati
import org.apache.axis.MessageContext; import org.apache.axis.transport.http.HTTPConstants; ... MessageContext mc = MessageContext.getCurrentContext(); System.out.println(((javax.servlet.http.HttpServletRequest)mc.getProperty(HT TPConstants.MC_HTTP_SERVLETREQUEST)).getRemoteAddr()); -O

RE: How to get handle to this mysterious SerializationContext?

2002-12-05 Thread Tom Jordahl
"Use the defaults, Luke..." :-) -- Tom Jordahl Macromedia Server Development -Original Message- From: easter [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: Re: How to get handle to this mysterious SerializationContext?

Re: How to get handle to this mysterious SerializationContext?

2002-12-05 Thread easter
Yes, I found my problem. When passing the options to wsdl2java : verbose="true" helpergen="true" url="Docushare.wsdl" output="${src_stubs.dir}" serverside="true" skeletonDeploy="true" It didn't generate the Object for the data types. Once I correcte

RE: How to get handle to this mysterious SerializationContext?

2002-12-05 Thread Tom Jordahl
EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 8:00 AM To: [EMAIL PROTECTED] Subject: Re: How to get handle to this mysterious SerializationContext? OK, just found out I was COMPLETELY on the wrong track. Seems you need to call org.apache.axis.utils.JavaUtils.convert(javaobject, xmlobject) Wh

Re: How to get handle to this mysterious SerializationContext?

2002-12-05 Thread easter
OK, just found out I was COMPLETELY on the wrong track. Seems you need to call org.apache.axis.utils.JavaUtils.convert(javaobject, xmlobject) Which leads me to another question - which of the files, XXXSOAPBindingSkeleton and XXXSOAPBindingStub should be used to fill in the java code? Cheers.

Re: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Bahman Kalali
t: Wednesday, November 06, 2002 3:20 PM Subject: RE: How to get an operation Name in a Requstor Handler Try this out Bahman import org.apache.axis.handlers.BasicHandler; import org.apache.axis.MessageContext; import org.apache.axis.Message; import org.apache.

RE: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Vidyanand Murunikkara
PM To: [EMAIL PROTECTED] Subject: RE: How to get an operation Name in a Requstor Handler Try this out Bahman import org.apache.axis.handlers.BasicHandler; import org.apache.axis.MessageContext; import org.apache.axis.Message; import org.apache.axis.AxisFault; import

RE: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Vidyanand Murunikkara
AM To: [EMAIL PROTECTED] Subject: How to get an operation Name in a Requstor Handler - Original Message - From: Bahman <mailto:bkalali@;csg.uwaterloo.ca> Kalali To: [EMAIL PROTECTED] <mailto:axis-user@;xml.apache.org> Sent: Wednesday, November 06, 2002 2:23 PM Subject: Re: How

RE: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Bobby Carp
#x27; Sent: Wednesday, November 06, 2002 1:43 PM Subject: RE: How to get an operation Name in a Requstor Handler OperationDesc oper = msgCxt.getOperation(); oper.getName(); -Original Message-From: Bahman Kalali [mailto:[EMAIL PROTEC

Re: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Bahman Kalali
/description/OperationDesc.html   I am using   xml-Axis-1.0 Release Oct 7, 2002 JDK1.3.1_04 Tomcat4.1   --Bahman   - Original Message - From: Bobby Carp To: '[EMAIL PROTECTED]' Sent: Wednesday, November 06, 2002 1:43 PM Subject: RE: How to get an operation Na

RE: How to get an operation Name in a Requstor Handler

2002-11-06 Thread Bobby Carp
OperationDesc oper = msgCxt.getOperation(); oper.getName(); -Original Message-From: Bahman Kalali [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06, 2002 9:58 AMTo: [EMAIL PROTECTED]Subject: How to get an operation Name in a Requstor Handler I am trying to write a

RE: How to get hostname and port of service

2002-10-09 Thread Peake, Chris
Title: How to get hostname and port of service It was a 'great' guess too. That did it. thanks,  chris -Original Message-From: Beyer,Nathan [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 09, 2002 10:59 AMTo: '[EMAIL PROTECTED]'Subject: RE: How to get

RE: How to get hostname and port of service

2002-10-09 Thread Beyer,Nathan
Title: How to get hostname and port of service This is a bit of a guess, but I think you can do the following to get the ServletRequest from the MessageContext -   HttpServletRequest request = (HttpServletRequest)mc.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);   Then call the getServer

Re: How to get the returning message in plain XML?

2002-06-21 Thread Brian Ewins
, 2002 3:49 AM > To: [EMAIL PROTECTED] > Subject: Re: How to get the returning message in plain XML? > > If I get the following WSDL, > > > > > > > > is it possible to generate Java code like this? > > public void addEntry(String name,

RE: How to get the returning message in plain XML?

2002-06-21 Thread Chris Haddad
Luoh - it might be. You need to post the definition in the WSDL for typens:address for us to validate your premise. /Chris -Original Message- From: Luoh Ren-Shan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 3:49 AM To: [EMAIL PROTECTED] Subject: Re: How to get the

Re: How to get the returning message in plain XML?

2002-06-21 Thread Luoh Ren-Shan
If I get the following WSDL, is it possible to generate Java code like this? public void addEntry(String name, Document address) Thank you. Luoh Ren-Shan

RE: how to get an exist session

2002-06-14 Thread thomas . cherel
Title: RE: how to get an exist session I assume that what you call "another service" is another web service deployed in the same Axis server. With this assumption, if both service are deployed with a session scope (see Axis doc, specific property to use in the WSDD file), and i

RE: How TO get the IP address of the client that sent the request ?

2002-06-07 Thread dev
Thanks a lot cedric At 09:37 07/06/02 -0400, you wrote: >HTTPServletRequest req = >msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); >req.getRemoteAddr(); > > >-Original Message- >From: dev [mailto:[EMAIL PROTECTED]] >Sent: Friday, June 07, 2002 6

RE: How TO get the IP address of the client that sent the request?

2002-06-07 Thread thomas . cherel
Title: RE: How TO get the IP address of the client that sent the request? HTTPServletRequest req = msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); req.getRemoteAddr(); -Original Message- From: dev [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 6:14 AM To

RE: How to get complex type attributes to work?

2002-04-17 Thread St-Germain, Sylvain
Sue, Looking at your types you seem to be looking for some message with attributes, reading SOAP section 5 encoding says (among other thing) that everything is sent along as elements. Because of that rule I am not using "attribute" in my complexType definition. If you can simply change that at

RE: HOW-to get Host IP from within SOAP

2002-04-14 Thread ajack
Seidhi, I am no expert, but reading the code for AXIS beta 1 I do not see a simpler way than: 1) Get the message context (call this inside your code, and it ought be set to the current call.) MessageContext axisContext = MessageContext.getCurrentContext(); Note: I suspect this wil

Re: How to get leading zeros into ...

2002-02-27 Thread Steven Gollery
the web service, > explained my situation, and I am now allowed to send strings containing the > phone number. Thanks for your guidance. > > Regards, > Mark. > -Original Message- > From: Steven Gollery [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 February 2002 1

RE: How to get leading zeros into ...

2002-02-26 Thread Walsh, Mark
(String) call.invoke( new Object[] { num } ); > > which produces the following xml that is sent over the wire > 0412345678 > > -Original Message- > From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 February 2002 10:16 > To: [EMAIL PROTECTE

Re: How to get leading zeros into ...

2002-02-26 Thread Steven Gollery
[] { num } ); > > which produces the following xml that is sent over the wire > 0412345678 > > -Original Message- > From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 February 2002 10:16 > To: [EMAIL PROTECTED] > Cc: '[EMAIL PROTECTED]

RE: How to get leading zeros into ...

2002-02-26 Thread Walsh, Mark
ssage- From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 February 2002 10:16 To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: Re: How to get leading zeros into ... If you need to pass a leading zero, pass it as a string not an integer. Rich Scheuerle XML &

Re: How to get leading zeros into ...

2002-02-26 Thread R J Scheuerle Jr
If you need to pass a leading zero, pass it as a string not an integer. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115)

Re: How to get leading zeros into ...

2002-02-26 Thread Steven Gollery
Mark, Have you tried making the phone number a String as you did in the version 2.2 sample? Steven Gollery [EMAIL PROTECTED] "Walsh, Mark" wrote: > Hi, > > I have a java xml client that uses Apache SOAP version 2.2 (eg > org.apache.soap...) that can send a phone number (with a leading zero) to

Re: How to get Session bean published using axis????

2002-02-18 Thread cleve
: Monday, February 18, 2002 3:15 PM Subject: Re: How to get Session bean published using axis > Vinit Kumar wrote: > > > I have to make a stateless sesson bean made available as web > > service. > > I'm trying to do somewhat the same thing. The simplest way is

Re: How to get Session bean published using axis????

2002-02-18 Thread Frank Griffin
Vinit Kumar wrote: > I have to make a stateless sesson bean made available as web > service. I'm trying to do somewhat the same thing. The simplest way is, as you wrote, to create a class that implements your EJB's local or remote interface with pass-through methods, and have the constructor o