Re: [Axis2C] Get peer ip addresswith Apache server

2008-01-18 Thread Sébastien Mougey
How can I get this address with Apache server ? Is it possible ? Thank you Yes, It is not implemented with httpd module as of now. Samisa... Sébastien Mougey wrote: Hello I'm trying to get the peer ip address with : axis2_msg_ctx_get_property( msg_ctx, env, AXIS2_SVR_PEER_IP_ADDR );

Re: [Axis2C] Get peer ip addresswith Apache server

2008-01-18 Thread Samisa Abeysinghe
Sébastien Mougey wrote: Hello I'm trying to get the peer ip address with : axis2_msg_ctx_get_property( msg_ctx, env, AXIS2_SVR_PEER_IP_ADDR ); and i doesn't work. Reading http_worker.c source, it seems to work only with the simple axis server. Is it true ? Yes, It is not implemented with

Re: [Axis2C] Get peer ip addresswith Apache server

2008-01-18 Thread Samisa Abeysinghe
Sébastien Mougey wrote: How can I get this address with Apache server ? Is it possible ? I think it should be possible, however, I need to look into the code to give you a definite answer. I will have a look and let you know. Thanks, Samisa...

Re: [Axis2C] Get peer ip addresswith Apache server

2008-01-18 Thread Senaka Fernando
Sébastien Mougey wrote: How can I get this address with Apache server ? Is it possible ? I think it should be possible, however, I need to look into the code to give you a definite answer. I will have a look and let you know. Yes, indeed it is possible. We need to use ap_get_remote_host().

Re: [Axis2C] Get peer ip addresswith Apache server

2008-01-18 Thread Dumindu Pallewela
On Jan 19, 2008 12:53 AM, Senaka Fernando [EMAIL PROTECTED] wrote: Sébastien Mougey wrote: How can I get this address with Apache server ? Is it possible ? I think it should be possible, however, I need to look into the code to give you a definite answer. I will have a look and let you

Re: Ws-secureconversation rampart samples

2008-01-18 Thread José Ferreiro
Hello, Do you think this configuration could work? Client side : .net 2.0 wse 3.0, authentication using: x.509 server side : axis2, rampart + rahas, authentication using: x.509, Is there any example or article? Thank you in advance for your answers On Jan 18, 2008 2:08 AM, ahurtado [EMAIL

AW: Eclipse, wsdl2java and huge warnings

2008-01-18 Thread Weck, Andreas
I tried the Axis2_CodeGen_wizard_1.3.0, but if have still the same warnings: if i use ADB: - The local variable event is never read - The local variable handledAttributes is never read - The local variable namespaceuri is never read - The local variable nillableValue is never read - The local

Wierd issue with tomcat - ServiceClient invocation timing out after 15 seconds

2008-01-18 Thread acmclellen
Hi, I'm trying to call a web method that is expected to take 1min 10sec to complete, but ServiceClient invoke method is timing out after 15 seconds when running in a TomCat 5.5 container, but not when running as a junit test. When running as a junit test, the ServiceClient waits long enough

RE: Eclipse, wsdl2java and huge warnings

2008-01-18 Thread D . H . T . M . Gameren
This is strange i don't get warnings. I only use ADB not XMLBeans. QName is the Qualifiedname , so the full name of the NameSpace including operation or schema, In which class do you encounter this warnings? dirk -Original Message- From: Weck, Andreas [mailto:[EMAIL PROTECTED] Sent:

Re: [axis2] DeploymentException during module deployment

2008-01-18 Thread Michele Mazzucco
David, thanks very much, that did the job. Michele p.s. Wouldn't it be better to ignore lower/upper case? On 17 Jan 2008, at 18:36, David Illsley wrote: Michele, You should use the fist approach, but I believe the inflow element is actually InFlow See the addressing module for an example

Re: [axis2] DeploymentException during module deployment

2008-01-18 Thread David Illsley
On Jan 18, 2008 9:53 AM, Michele Mazzucco [EMAIL PROTECTED] wrote: David, thanks very much, that did the job. you're welcome Michele p.s. Wouldn't it be better to ignore lower/upper case? XML in general is case sensitive, so it makes sense for us to stick to that. Cheers, David

Re: AW: Eclipse, wsdl2java and huge warnings

2008-01-18 Thread Mauro Molinari
The presence or absence of warnings may depend on the WSDL. For simplicity, Axis2 generator does not take care of ALL the possible cases not to write variables that may not be used: so, in certain circumstances, those variables may be written even if they won't be actually used in the

AW: Eclipse, wsdl2java and huge warnings

2008-01-18 Thread Weck, Andreas
I have one wsdl file which references three xsd files. The eclipse wizard generates me three java files EvbCallbackHandler.java, EvbStub.java and Hinweis.java. In the file EvbStub.java are round about 40 classes where 10 give me warnings. For Example there is a class 'BriefkastenAbruf':

Re: [axis2] DeploymentException during module deployment

2008-01-18 Thread Michele Mazzucco
On 18 Jan 2008, at 09:57, David Illsley wrote: On Jan 18, 2008 9:53 AM, Michele Mazzucco [EMAIL PROTECTED] wrote: David, thanks very much, that did the job. you're welcome Michele p.s. Wouldn't it be better to ignore lower/upper case? XML in general is case sensitive, so it makes

Resolving an issue of the deployment of wsdd using Axis in Command line

2008-01-18 Thread Mar
Hi, I've been running through the tutorials and keep hitting similar errors regarding accessing classes from within a Jar file. I'm trying to deploy the AdminService via the AdminClient as described in the tutorial. I can access webservices via regular http://localhost:8080/axis/*.jws and

WSSecurity using Rampart and EmbeddedKey

2008-01-18 Thread Jose Luis Alba
Hi All, It's possible to encrypt a message using an embedded key (for symmetric encryption) and send that key using the transport key encryption? I have tried to do it with Rampart configuration using encryptionKeyIdentifierEmbeddedKeyName/encryptionKeyIdentifier but the key is not sent.

Re: Ws-secureconversation rampart samples

2008-01-18 Thread José Ferreiro
Thank you so much for the interesting links. I appreciate it. On Jan 18, 2008 1:31 PM, ahurtado [EMAIL PROTECTED] wrote: Precisely I'm trying this at this time, but most links you can get about interoperability-work between platforms (.net - java ) is shown using windows communication

[axis2] custom configuration context

2008-01-18 Thread Michele Mazzucco
Hi all, I'd like to create a custom configuration context from inside a service archive. The parameters (axis2.xml and repository) are contained into the aar file (or at least the custom axis2.xml). I've tried both the ConfigurationContextFactory.createConfigurationContextFromFileSystem and

Re: Ws-secureconversation rampart samples

2008-01-18 Thread ahurtado
Precisely I'm trying this at this time, but most links you can get about interoperability-work between platforms (.net - java ) is shown using windows communication foundation + .net 3.0/3.5 in the .net side. If you need a choice in the client side, I think WCF is a better choice. In the case of

[axis2] AxisFault in ClientHandler

2008-01-18 Thread Michele Mazzucco
Hi all, I'm using the NIO Sender and I've noticed this log on the server side ERROR 16:59:13,020 (ClientHandler.java:334) - Unable to report back 202 Accepted state to the message receiver org.apache.axis2.AxisFault: A message was added that is not valid. However, the operation context was

Re: Webservice Client not working from inside Tomcat5

2008-01-18 Thread Martin Gainty
try Requesting JSP-Servlet (Servlet constructs the AxisService call from supplied params which acts as AxisClient) -AxisService Response JSP - Servlet (receives the params and populates response) -AxisService M- -

Re: [axis2] custom configuration context

2008-01-18 Thread Andreas Veithen
Michele, How did you construct the URLs passed as arguments to createConfigurationContextFromURIs? Can you also provide the stack trace of the java.net.MalformedURLException, or better the instruction in the source code that triggers this exception? Andreas On 18 Jan 2008, at 17:35,

Exceptions

2008-01-18 Thread D . H . T . M . Gameren
Hi, I am using WSDL2Java tool to generate code. In the WSDL I am using an UserDefinedException which I subclassed from AxisFault. In the generated a clientcode , the operation in the ClientStub is throwing AxisFault and not my specific defined exception. The generated service

Re: Resolving an issue of the deployment of wsdd using Axis in Command line

2008-01-18 Thread Subir S
I only suspect that the SPACE in your AXIS_HOME variables might be a problem. Why dont you try moving this Tomcat6 folder out of Program Files. And then updating your necessary environment variables accordingly. Subir On Jan 18, 2008 3:56 PM, Mar [EMAIL PROTECTED] wrote: Hi, I've been

Re: Urgent Help - disable xsd validation in axis 1.4

2008-01-18 Thread Gaurav Lall
I am not sure there is much axis framework can help you with this , probably you will have to write custom servlet filter(assuming http) and modify the request to set the mandatory fields in xml (just an idea ) Ramkumar Menon wrote: Resending - Please let me know how to disable schema

Axis 1.2.1 and Weblogic 10

2008-01-18 Thread Scott
I have a web services application that uses Axis (I) with Tomcat 5.5.25. It works perfectly. I've recently installed the application on WebLogic 10, but I am no longer able to connect. When I attempt my first call, I get a remote exception that says this: javax.xml.rpc.ServiceException:

Re: Urgent Help - disable xsd validation in axis 1.4

2008-01-18 Thread Ramkumar Menon
Resending - Please let me know how to disable schema validation for axis 1.4. ram On 1/14/08, Ramkumar Menon [EMAIL PROTECTED] wrote: Hi Gurus, I am struggling with a specific issue described below in brief. I have a doc/literal Web Service that accepts a Customer element in its request

Re: Exceptions

2008-01-18 Thread Martin Gainty
Can you display or attach WSDL ? Bedankt Martin - Original Message - From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, January 17, 2008 10:23 AM Subject: Exceptions Hi, I am using WSDL2Java tool to generate code. In the WSDL I am using an

Webservice Client not working from inside Tomcat5

2008-01-18 Thread Callaway, Pamela
Hi folks, I am encountering a strange problem with my webservice client that I generated using wsdl2java. It works fine from the command line or as a JUnit test, but when I try and use it from a JSP file, it doesn't return a result. Exactly the same code, no differences that I can find,

Re: [axis2] custom configuration context

2008-01-18 Thread Sukma Agung Verdianto
You should use file:///path/to/axis2.xml instead of //file:/path/to/axis2.xml Regards, Sukma On 1/18/08, Michele Mazzucco [EMAIL PROTECTED] wrote: Hi all, I'd like to create a custom configuration context from inside a service archive. The parameters (axis2.xml and repository) are contained