href processing

2003-02-18 Thread Lindeman, Bob
> Hi, > > I am writing a handler that has to process the body of the SOAP. In the > SOAP body is a serialized Vector of Vectors. like this: > > > > > > > > > > > value1 > value2 > value3 > > > value1 > value2 > value3 > > >

RE: java.lang.reflect.InvocationTargetException when calling webservice from Excel.

2003-02-18 Thread Krishnakumar B
Title: java.lang.reflect.InvocationTargetException when calling webservice from Excel. Hi   You would get this exception if some of the jars are not present. The server class might want some jars in its classpath. Chekc out if u have all the jars in the server end.   Regards Krishnakumar B 

handler chain and web service operations

2003-02-18 Thread Josh Kropf
Is it possible to configure a handler chain to only process messages destine for a specific operation (method) of the web service?   Thanks, Josh

Global Request Handler

2003-02-18 Thread K P
I am trying to see if someone can help me with making this work. I defined this global handler in the deployment descriptor. After deployment, axis restart, these handlers do not get invoked on during axis client and axis server communication. Is there anything I need to do to activate this glob

Please reply URGENT,about wsdl file

2003-02-18 Thread jeong jim
Hi, I am reposting this as i haven't got a reply from many days. I have a question about wsdl files.I have a web service. I am using encryption and signature for my services which are handled before the service using handlers.how can i specify in the WSDL file that iam expecting signed and encrypte

Re: Nulll Pointer Exception with java2wsdl

2003-02-18 Thread Steve Loughran
this has been fixed a while back. you need to be working with Axis1.1RC1, - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 12:37 Subject: Nulll Pointer Exception with java2wsdl > Hello, > I am guessing that I am probably doing somet

Nulll Pointer Exception with java2wsdl

2003-02-18 Thread ryan . cuprak
Hello,  I am guessing that I am probably doing something wrong as it looks like a string parsing problem but I am not sure what. I get a null pointer exception attempting to run the target below. Null Pointer Exception: java2wsdl Using CLASSPATH C:\Documents and Settings\L507107\My Documents\Dev

RE: NoClassDefFound

2003-02-18 Thread Vemuri, Krishna
Title: RE: NoClassDefFound Check if you have the axis.jar in your classpath, in fact put all the jars under axis-home-dir/lib in the classpath. Krishna -Original Message- From: Michael Burke [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 10:00 PM To: [EMAIL PROTECTED] S

RE: HowTo change Transport type from HTTP/1.0 to HTTP/1.1

2003-02-18 Thread Norris Merritt
I just updated that patch, by the way. Version 2 has a serious flaw, but the one I just posted works well. I went back to using Chen's HTTPInputStream, because I realized that a "content-length aware" input stream was really an essential part of the solution. The latest version of the patch keeps

Re: HowTo change Transport type from HTTP/1.0 to HTTP/1.1

2003-02-18 Thread Kamlesh Patel
Actually I have a patched version which was reported as a bug previously. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16522 I am using Norris's Patch of 2/4/03 listed there. I got my client to work now but I had to hack the source "HTTPSender" to always use HTTP/1.1 instead of HTTP/1.0. I d

Re: HowTo change Transport type from HTTP/1.0 to HTTP/1.1

2003-02-18 Thread Steve Loughran
you need to wait for http1.1 support in axis, including persistent connections. Which means you either need to wait for java.net to fix its http1.1 support, or Axis to incorporate the Jakarta project's HttpClient 2.0 library to provide working htpt1.1. code. - Original Message - From: "Ka

Re: Best practices for Lists and Maps

2003-02-18 Thread Jess Sightler
Hi Naresh, I tend to prefer the first approach. And the Java APIs can make it fairly easy: Eg: public List getBooks () { return books; } public Book[] getBookArray () { return (Book[])gooks.toArray(new Book[0]); } I'd also add that many of these will get much easier once Java a

Pass null value for parameter? Optional params?

2003-02-18 Thread Roy Wood
I've got a service that exposes a method to update some values in a record. Rather than several individual methods (setX, setY, setFoo, etc.), I'm using a single method that allows the caller to update all possible fields in one action (reduces network traffic). I would like to allow the caller t

Best practices for Lists and Maps

2003-02-18 Thread Naresh Bhatia
Title: Best practices for Lists and Maps Hi, I am trying to find the best practices around serializing / deserializing Lists and Maps. So far I have come up with the following approaches. Please feel free to give me your comments as well as list other approaches that you may have found usef

TypeDesc and FieldDesc

2003-02-18 Thread Tevoi Andrea
Hi all, I'm reading source code of BeanDeserializer class. As I've understood, in onStartChild method, it retrieves xmlType information (to get the Deserializer for that xmlType) from FieldDesc that is taken from TypeDesc. Where does Axis instantiate TypeDesc class? thanks in advance, Andrea T

Integration Question

2003-02-18 Thread ryan . cuprak
Hello,  Have tinkered on and off with Axis for a while, I am now trying to integrate it into an existing webapp. On startup I want to have several webservices automatically deployed. Searching through the list archives it looks as if there are two ways to do this, programmatically or via server-co

FW: java.lang.reflect.InvocationTargetException when calling webservice from Excel.

2003-02-18 Thread Ricardo Coutinho
Title: java.lang.reflect.InvocationTargetException when calling webservice from Excel. Hi again,   I am reposting because I have not had any responses to my problem. Has anyone ever encountered the above problem or have an idea where I might look to solve it?   I am using Axis 1.1(RC)   Ric

RE: Client's IP address

2003-02-18 Thread Cory Wilkerson
You could also look at instanceOfMessageContext.getProperty("remoteaddr"). I discovered this handy property after enumerating through all properties in message context. Cory -Original Message- From: Sharmila Pillai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:43 AM To:

Re: Client's IP address

2003-02-18 Thread Sharmila Pillai
It did indeed! Thanks much, Sharmila. On 18/2/03 2:16 pm, "Wagner,Harry" <[EMAIL PROTECTED]> wrote: > Hi Sharmila, > The following should get you started... > > public class ServiceLogHandler extends BasicHandler { > > public void invoke(MessageContext msgContext) throws AxisFault { > > Http

Envelope generation

2003-02-18 Thread Sloan Seaman
Quick quesion: How can I get the XML that is making out the SOAP request BEFORE doing the invoke() call? I assume a handler somewhere in the chain is generating it when I call invoke but I want to "review" it before hand. Any way to do this?

Re: Has anyone ever tried Axis OUT Parameters

2003-02-18 Thread Sloan Seaman
Hummm. Unfortunately I'm just learning Axis myself and why it is returning null is beyond me... It looks right to me though... You can get nulls thought because (I'm guessing here) that axis defines the QName keys in the map but when it goes to actually put in the value, the value is null. Thin

AW: Client's IP address

2003-02-18 Thread Peter Koch
String remoteAddr = ((javax.servlet.http.HttpServletRequest) msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST)).getRemoteAddr( ); cheers, peter -Ursprungliche Nachricht- Von: Sharmila Pillai [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Februar 2003 15:09 An: [EMAIL P

RE: Client's IP address

2003-02-18 Thread Wagner,Harry
Hi Sharmila, The following should get you started... public class ServiceLogHandler extends BasicHandler { public void invoke(MessageContext msgContext) throws AxisFault { HttpServletRequest req = (HttpServletRequest) msgContext.

RE: Has anyone ever tried Axis OUT Parameters

2003-02-18 Thread Brian Dillon (ext. 944)
Sloan, That is what I was doing, I have included a code extract below; soapSrv.addParameter("user",new QName("xsd:string"), javax.xml.rpc.ParameterMode.IN); soapSrv.addParameter("provider_outParmNames",new QName("ta:StringSequence"), javax.xml.rpc.ParameterM

Re: Installation problem (Fwd: can't deploy a WS with Axis 1_1RC1 on Windows)

2003-02-18 Thread Thierry - listes
Hello, OK, following the thread "(302)Found problem!", I found where was my problem. (Thanks to Lachezar). My problem was I didn't put my WEB-INF directory under the axis directory (and I absolutely don't want to do this, because the standard place for the WEB-INF dir is just under the rootDir).

Client's IP address

2003-02-18 Thread Sharmila Pillai
Hi, How can I get the IP address of a client that is using my service? Think I need to get access to HttpServletRequest somehow. And ideas? TIA, Sharmila.

Re: Has anyone ever tried Axis OUT Parameters

2003-02-18 Thread Sloan Seaman
Here is an example from my code: call.addParameter("RequestType", org.apache.axis.Constants.XSD_STRING, javax.xml.rpc.ParameterMode.IN); call.addParameter("Properties", org.apache.axis.Constants.XSD_STRING, javax.

Re: (302)Found problem!

2003-02-18 Thread Lachezar Dobrev
Puuu... Didn't see the source. Change the line String endpoint = "http://localhost:8080/axis/";; to say String endpoint = "http://localhost:8080/axis/services/TestWS";; Lachezar. > Probably using the wrong URL for the service. > > The message of the 302 says, that: >

Re: Sending binary data contained within a map?

2003-02-18 Thread Tom Oinn
[EMAIL PROTECTED] wrote: Hi Tom, As far as I know, the only way to make Axis automatically encode your > data as base64, is to have the datatype (of your SOAP method) set to > "byte[]". So a way around your problem could be to e.g. create a > complex type that holds (among other things) a fiel

Re: (302)Found problem!

2003-02-18 Thread Lachezar Dobrev
Probably using the wrong URL for the service. The message of the 302 says, that: http://localhost:8080/axis/ Has moved to http://localhost:8080/axis/index.html This normally means, that either you are using the wrong service url, or the WebApp is not set up correctly. The later is

Installation problem (Fwd: can't deploy a WS with Axis 1_1RC1 on Windows)

2003-02-18 Thread Thierry - listes
Hello, All is fine with happyaxis , but I can't deploy any WS. (see mail below) Please, HELP : is anybody able to make Axis to work ?? How do you make it ? Thanks. --- Début du message transféré --- From: Thierry - listes <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECT

RE: Sending binary data contained within a map?

2003-02-18 Thread Eirik.Wahl
Hi Tom, As far as I know, the only way to make Axis automatically encode your data as base64, is to have the datatype (of your SOAP method) set to "byte[]". So a way around your problem could be to e.g. create a complex type that holds (among other things) a field that is of the type "byte[]".

Sending binary data contained within a map?

2003-02-18 Thread Tom Oinn
Hi all, This may be a simple question, if so I'd be delighted... I have a web service that returns results wrapped up in a Map, all well and good, it works just fine. The current problem I'm having is that say my service needs to return some binary data, it puts a byte array into the Map, and

(302)Found problem!

2003-02-18 Thread Rosen Marinov
Hi all,   I just start using axis follow all instructions to start one test Web Service.   I have TestWS.java with only one method     public String get(String key)   I deploy it in axis (Tomcat3.2.2) there are .jws, jwsClasses, libs ... all I can see my Web Servise on my http://localhost

Has anyone ever tried Axis OUT Parameters

2003-02-18 Thread Brian Dillon (ext. 944)
Hi, I asked a similar question before but got no response. Has anyone tried to get OUT parameters working with SOAP. I have no issue with either IN or INOUT. Is there a bug or am I doing something wrong. Thanks, Brian ** T

java.lang.reflect.InvocationTargetException when calling webservice from Excel.

2003-02-18 Thread Ricardo Coutinho
Title: java.lang.reflect.InvocationTargetException when calling webservice from Excel. Hi all, I get the error above when I call a service which has parameters. If I call a service with no parameters it works fine. I am quite new to web services so I am not exactly sure where to start lookin