Re: help needed for getting ip of the client who invokes my service.

2006-01-09 Thread Tom Ziemer
Hi, have you looked at: http://wiki.apache.org/ws/FrontPage/Axis/ClientIP Regards, Tom Richard S wrote: Hi all, I am using axis 1.2. I have deployed a document/literal style service. I need help that i want to get ip address of the clients who invoke my service and make log entry

Re: DIME Uploads

2005-08-25 Thread Tom Ziemer
Hi Brett, Dims is right, this is a bug and is partially resolved (thanks to Brian Husted) in the current CVS version. http://issues.apache.org/jira/browse/AXIS-2084 http://issues.apache.org/jira/browse/AXIS-2158 Hope this helps, Tom Brett wrote: Folks, I am using Axis 1.2.1 to upload

Re: Axis version which supports SOAP with attachments

2005-08-05 Thread Tom Ziemer
Hi, I used 1.2.1, but it had a bug (2084) so I switched to the CVS Version (1.3) which is working nicely. Regards, Tom Mukesh Kumar Maniraj wrote: Hello, Can any one please let me know, which version of axis supports SOAP with attachments, I am using axis 1.1 with activation1.0.1.jar

Re: reading large attachments

2005-08-01 Thread Tom Ziemer
Hi, try this: DataHandler dh = null; Message m = context.getCurrentMessage(); logger.info([client]: Found attachments: +m.countAttachments()); Iterator it = m.getAttachments(); while(it.hasNext()) { AttachmentPart ap =

Re: javax.net.ssl.SSLHandshakeException

2005-07-30 Thread Tom Ziemer
Hi, this happens because you connect to a server that uses a ssl certificate that your jsdk does not trust. To fix this, simply get the certificate, and import it into your keystore (keytool --import --file /somePath/someCert.ca -keystore /$JRE_HOME/lib/security/cacerts) the default password is

Re: Concerning sessions

2005-07-18 Thread Tom Ziemer
- From: Tom Ziemer [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 12:34 AM To: axis-user@ws.apache.org Subject: Concerning sessions Hi everybody! After browsing through the archive of this list and searching the web I am still no quite sure, which session approach to use for my services

Re: AW: Concerning sessions

2005-07-18 Thread Tom Ziemer
will put an email in this list, the next days with an explanation how it works. Need to get a clearance from my boss - to place the code. Tomi -Ursprüngliche Nachricht- Von: Tom Ziemer [mailto:[EMAIL PROTECTED] Gesendet: Montag, 18. Juli 2005 09:21 An: axis-user@ws.apache.org Betreff: Re

Concerning sessions

2005-07-15 Thread Tom Ziemer
Hi everybody! After browsing through the archive of this list and searching the web I am still no quite sure, which session approach to use for my services. What I need to do is quite simple - let a user authenticate, then only exchange a token/sessionid for all following calls. As far as I

Re: deploying web service

2005-06-10 Thread Tom Ziemer
Hi, you can use the ant tasks supplied with axis to deploy/undeploy your service. Regards, Tom Plorks mail wrote: Hi all I've developeed a web service on my local PC. I now need to deploy this to our network so it can be used. Can someone point to an example of deploying a webservice

Re: services

2005-05-20 Thread Tom Ziemer
Hi, it sounds to me like you are missing a jar file. Maybe commons-discovery :o)? You might want to try to add this to your classpath along with the other jars distributed with axis. Hope this helps, Tom Omar Bennani wrote: hi i'm trying to use axis/soap but when i try to compile thegoogle

Re: Session not set in generated code

2005-05-13 Thread Tom Ziemer
Hi Peter, you could try the following in your client: SomeServiceLocator someLocator = new SomeServiceLocator(); // ant generated SomeSoapBindingStub someStub = null; // ant generated try { someStub = SomeSoapBindingStub someLocator.getSomeService(); // get the service

Re: soap request shows password

2005-05-13 Thread Tom Ziemer
Hi, no, you are not too cautious. All the information you send to/from your web service can be intercepted and read since it's xml / plain text. To solve this problem you have to use SSL. This article (which I was just looking at 3 minutes ago) shows you how to do it:

Re: Example of setting client side handler?

2005-05-09 Thread Tom Ziemer
Hi, I'm not sure I understand you correctly - do you want to access the the call using an ant-generated stub? If that's the case, you can try this: FooServiceLocator fooServiceLocator = new FooServiceLocator(); FooServiceSoapBindingStub fooServiceStub = null; try { fooServiceStub =

Exception handling

2005-05-06 Thread Tom Ziemer
Hi everybody. I am currently working on a web service that is supposed to authenticate a user against a ldap server. If the username/password combination does not match, my LdapAuthManager throws an exception, which is passed to my web service, which in turn passes it to the client. To achieve

Re: invoke methods wsdl file

2005-05-04 Thread Tom Ziemer
From: Tom Ziemer [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: invoke methods wsdl file Date: Tue, 03 May 2005 14:27:07 +0200 Hi there! You could let ANT (using the axis-tasks) generate the necessary stub files. In my opinion that is a much cleaner

[OT] Writing a tutorial

2005-05-04 Thread Tom Ziemer
Hi everybody! I think it would be rather nice to have a tutorial (PDF) that covers the basics and helps new users to get Axis up and running. Do you think that would be useful? If so, does anybody volunteer to help me to write such a tutorial? I'm thinking about covering the setup (Axis, Ant,

Re: [OT] Writing a tutorial

2005-05-04 Thread Tom Ziemer
problems experienced as a result of this transmission since data over the public Internet cannot be guaranteed to be secure or error-free. -Original Message- From: Tom Ziemer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 2:48 PM To: axis-user@ws.apache.org Subject: [OT] Writing a tutorial

Re: invoke methods wsdl file

2005-05-04 Thread Tom Ziemer
) { String headerElementValue = (String)headerElement.getValue(); (or getValueAsType) } } From: Tom Ziemer [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: invoke methods wsdl file Date: Wed, 04 May 2005 11:05:27

Re: invoke methods wsdl file

2005-05-04 Thread Tom Ziemer
how do i keep checkng it? It's the logic i'm getting stuck with i think Many thanks for your help From: Tom Ziemer [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: invoke methods wsdl file Date: Wed, 04 May 2005 11:45:23 +0200 Hi, here is what I did

Re: correct method to get attachments from a soap response?

2005-05-02 Thread Tom Ziemer
Hi Paul, I've asked a similar question some time ago, but didn't get an answer. The code I eventually came up with looks like this: XlsExport xlsExport = null; try { xlsExport = locator.getXlsExport(); String msg = xlsExport.exportExperiment(id, zipped); MessageContext mx =

service.createCall() vs. axis-generated stubs

2005-04-27 Thread Tom Ziemer
Hi, after spending some time on looking for axis examples / tutorials, I am curious why most people are using service.createCall(), call.setTargetEndpointAddress(), etc. instead of the stubs that are generated by the axis ant task. I think using the ant/stub approach is a much cleaner and more

Question about Attachments

2005-04-25 Thread Tom Ziemer
Hi everybody! I'm using a webservice to gather lots of data from a database and then convert the data to an excel sheet using Jakarta POI. This part of my webservice is working well. What I would like to do now, is to send the resulting file back to a client. Before I posted this message, I