Problem encountered with MEP

2008-11-20 Thread Rahul Miglani
Hi all, I have a Java application server and I have exposed the services using Axis2 (Java). The WSDLs for the services have been generated using the java2wsdl tool. Now I am trying to access these services using Axis2/C on the client side. The stubs have been generated using wsdl2c tool.

Re: Problem encountered with MEP

2008-11-20 Thread Manjula Peiris
What are the svc_client methods you are calling in the two method calls ? And please send the code and the backtrace of the crash. On Thu, 2008-11-20 at 19:24 +0530, Rahul Miglani wrote: Hi all, I have a Java application server and I have exposed the services using Axis2 (Java). The

element name=... starting with _

2008-11-20 Thread Tomás Tormo
Greetings I have to build a webservice according to some client specifications. But I have a problem, when they call my webservice, they get the following exception: faultstringorg.xml.sax.SAXException: Invalid element in org.et.uri.user - _Home/faultstring I was

Axis 1.4 support for MTOM

2008-11-20 Thread paul.ockleford
Hi, Can anyone tell me if using axis version 1.4 will allow us to use MTOM to send attachments? I am researching a method of sending large attachments such as scans and images, but upgrading to axis2 is not an option as this project will not allow time to regression test all of out existing

Re: Axis 1.4 support for MTOM

2008-11-20 Thread Radek Adamiak
Can anyone tell me if using axis version 1.4 will allow us to use MTOM to send attachments? I am researching a method of sending large attachments such as scans and images, but upgrading to axis2 is not an option as this project will not allow time to regression test all of out existing

RE: Axis 1.4 support for MTOM

2008-11-20 Thread paul.ockleford
Hi, Thanks for the reply, I believe that the version of axis that we are using is axis1 - 1.3 (not 1.4 as I originally stated). I could be wrong but the generated wsdl files say: WSDL created by Apache Axis version: 1.3 Built on Oct 05, 2005 (05:23:37 EDT) We are using a version of axis that

Setting Axis2 Options With An AutoGenerated Code

2008-11-20 Thread ibrahim demir
Hi All; I 'm using Axis2 Codegen Wizard for Eclipse in order to generate my client code. I create everthing in a big stub file cause it appers tidy to me. So my question is is there any way to set options by using this stub file. For example how to set timeout option before calling my stub. Or

Re: Axis 1.4 support for MTOM

2008-11-20 Thread Sanjiva Weerawarana
Axis 1.3 does not support MTOM. Your choices are to upgrade or to put Apache Synapse or WSO2 ESB in front of it and switch MTOM messages to SwA messages ... Sanjiva. [EMAIL PROTECTED] wrote: Hi, Thanks for the reply, I believe that the version of axis that we are using is axis1 - 1.3 (not

How to avoid variable name change in wsdl? (using server-config.wsdd)

2008-11-20 Thread Tomás Tormo
Greetings I'm using Axis1.4 in order to build a webservice wich has to follow some client specifications. The problem comes when the objects variables start with _, because when the wsdl is deployed (I use server-config.wsdd file), these variables appears without the _ character. ¿Is there

Axis2 rampart Timestamp expires

2008-11-20 Thread Erwin Reinhoud
Hello All, I am using the rampart policy examples. How can I create a timestamp without the expires element? We only want to use the creation time for non-repudiation purposes. Thanks in advance. Kind regards, Erwin - To

Re: Axis2 rampart Timestamp expires

2008-11-20 Thread Nandana Mihindukulasooriya
does setting the expiration value to a huge amount solve your problem ? thanks, nandana On Thu, Nov 20, 2008 at 7:33 PM, Erwin Reinhoud [EMAIL PROTECTED]wrote: Hello All, I am using the rampart policy examples. How can I create a timestamp without the expires element? We only want to use

Re: Adressing, async services and responses

2008-11-20 Thread Michele Mazzucco
Hi David, I don't really see where the problem is when you say there is an initial acknowledgment and then the response is delivered somewhere else. If you use asynchronous communication (i.e. WS-addressing and double channel) the acknowledgment (i.e. HTTP 200) is *always* sent back to

Re: Setting Axis2 Options With An AutoGenerated Code

2008-11-20 Thread Nandana Mihindukulasooriya
See tutorial [1] to see how to set options in the generated stub. Options class a has a method to set the timeout value. thanks, nandana [1] - http://wso2.org/library/3190#Step_3._Engaging_Rampart_and_setting_authentication_information On Thu, Nov 20, 2008 at 5:54 PM, ibrahim demir [EMAIL

RE: Axis2 rampart Timestamp expires

2008-11-20 Thread Erwin Reinhoud
Hello Nandana, Thanks for your input. We basically want to apply a policy where no expires is in timestamp, to prevent problems. So if this is possible i would like to know how. If it is not possible to omit the expires than we'll go with what you suggest as the alternative. Kind regards,

Re: Setting Axis2 Options With An AutoGenerated Code

2008-11-20 Thread ibrahim demir
Thanks Nandana; It solved my problem. The article is very good. I reccomend it to any one in this mailing-list. Yours. Ibrahim DEMIR CyberSoft Yazilim Muh. http://www.ibrahimdemir.org From: Nandana Mihindukulasooriya [EMAIL

variable mapping in wsdd

2008-11-20 Thread Tomás Tormo
Greetings I'm using axis 1.4 and developing a webservice. In order to make it work, I need to perform a variable mapping or something similar: one of the attributes of one object I should use, it's called Home, but I in the call I recieve, it is called _Home, and then, axis throws an

Re: Adressing, async services and responses

2008-11-20 Thread Michele Mazzucco
Hi David, why are you saying it is not possible?! What I have in mind is: 1 - client send request to ws 2 - ws sends a http 200 code back 3 - ws validates the input 4 - ws does the job (no need to spawn a separate thread! -- axis2 uses a dedicated thread pool used to serve incoming requests)

axis2.AxisFault: Unconnected sockets not implemented -- exception

2008-11-20 Thread Ramesh Vishwanatham
All I am getting below exception when my client using keystore to access https service: [java] Exception in thread main org.apache.axis2.AxisFault: Unconnected sockets not implemented [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417) [java] at

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

2008-11-20 Thread Jain, Prateek
Just verify are able to hit sever successfully. I mean, is ssl handshake successful? Regards, Prateek From: Ramesh Vishwanatham [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 12:06 PM To: axis-user@ws.apache.org Subject:

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

2008-11-20 Thread Ramesh Vishwanatham
Hi Prateek Thanks for responding, yes I am able to reach url using the certificate via IE browser and see axis2 welcome page. I believe this is possible only when certificate is going through TAM and web seal. My hunch some this is missing or wrong at client side. Regards Ramesh Jain,

Re: Adressing, async services and responses

2008-11-20 Thread David Ojeda
Hello Michele, Thank you for your ideas. I am saying it is not possible because I need some validation on the webservice implementation and then respond. As you said in your first response, the acknowledgment (i.e. HTTP 200) is *always* sent back to the client *before* the server starts

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

2008-11-20 Thread Jain, Prateek
Ramesh, My point was, when you try hitting server not via IE but, through your program, does your apache/any-program on server side receive it. Prateek From: Ramesh Vishwanatham [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008

Re: Adressing, async services and responses

2008-11-20 Thread Michele Mazzucco
On 20 Nov 2008, at 17:39, David Ojeda wrote: - I don't understand how it would be possible to respond to the client replyTo or faultTo and then notifying an external system. My understanding is that replying will be that last instruction in my code (a return or throw). Maybe you mean to

Re: Adressing, async services and responses

2008-11-20 Thread Michele Mazzucco
On 20 Nov 2008, at 17:39, David Ojeda wrote: I am saying it is not possible because I need some validation on the webservice implementation and then respond. As you said in your first response, the acknowledgment (i.e. HTTP 200) is *always* sent back to the client *before* the server

Problem related to ADB when transferring a byte array

2008-11-20 Thread Marc F.
To demonstrate a possible bug in ADB Webservice I attached a zip file, containing two aar files, and the source code as well. There is a very simple service in those two aar files. Actually, this service does the same thing in both aar files, but one is XML Beans version, and the other is ADB

Re: Adressing, async services and responses

2008-11-20 Thread David Ojeda
Agreed! On Thursday 20 November 2008 14:21:38 Michele Mazzucco wrote: On 20 Nov 2008, at 17:39, David Ojeda wrote: - I don't understand how it would be possible to respond to the client replyTo or faultTo and then notifying an external system. My understanding is that replying will be that

Re: Adressing, async services and responses

2008-11-20 Thread David Ojeda
Michele, You are right, this example is clearly feasible. But what if I wanted to do step step 3.2 before 3. I mean, respond that the ws will process this request *before* actually doing the heavy work (transfering funds). This what I think is not possible with axis2 (maybe not even with other

Re: [Axis2] SimpleMailListener denys SOAP11 content-ype

2008-11-20 Thread matthias.krummel
Hello, we would like to use the mail transport implementation as included with Apache Synapse in combination with Axis2 1.4.1 (see message below). Now I have learned that recent changes to this implementation have been moved to a new ws_commons project for transports. Therefore, my questions

RE: axis2.AxisFault: Unconnected sockets not implemented -- exception

2008-11-20 Thread Ramesh Vishwanatham
Prateek Thanks for clarification. I am in the process of finding out the same and will get back to you. Regards, Ramesh Jain, Prateek [EMAIL PROTECTED] 11/20/2008 12:53 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject RE: axis2.AxisFault: Unconnected

Help: HTTPAuthHandler :: Custom Authentication

2008-11-20 Thread Srinivasa K
Hi, Software: Axis1.1 with Websphere6.0 I am not familier with Aixs Authentication. I want to customize authentication, in other words, I want get username and passwod at server side. Can you please help how to get them? My impression is that I need to write a custom child class to

How to debug axis2 log

2008-11-20 Thread Cyril Furtado
When I check for my services in the URL I get http 500 Log shows this ( there are many instances of it) It's quite difficult to understand, what exactly is the error? 2008-11-20 12:07:22,186 [main] DEBUG scription.ParameterIncludeImpl - Value Classloader = null 2008-11-20 12:07:22,186 [main]

Re: How to debug axis2 log

2008-11-20 Thread Andreas Veithen
This is not an error. See http://markmail.org/message/ea2icxn4h3lofekl for more details. Andreas On Thu, Nov 20, 2008 at 21:54, Cyril Furtado [EMAIL PROTECTED] wrote: When I check for my services in the URL I get http 500 Log shows this ( there are many instances of it) It's quite

Re: [Axis2] SimpleMailListener denys SOAP11 content-ype

2008-11-20 Thread Andreas Veithen
Matthias, It is expected that Axis2 1.5 will be bundled with a release of the transports from WS-Commons. The current code no longer has a restriction on the content type and is tested with SOAP 1.1. Andreas On Thu, Nov 20, 2008 at 20:58, [EMAIL PROTECTED] wrote: Hello, we would like to use

Re: Best way to reference common XSD

2008-11-20 Thread Andreas Veithen
Stefan, When trying to import the schema contained in the JAR, what is the location attribute you use? Maybe you can achieve the desired result by using a URL such as jar:file:///some/location/CommonXSD.jar!/my/schemas/common.xsd. Andreas On Mon, Nov 17, 2008 at 17:52, stlecho [EMAIL PROTECTED]

AW: [Axis2] SimpleMailListener denys SOAP11 content-ype

2008-11-20 Thread matthias.krummel
Hello Andreas, can you give me an approximate release date for Axis2 1.5? We need to ship our software by the end of Feb 2009. Do you think Axis2 1.5 will be available prior to this date? Thanks, Matthias -Ursprüngliche Nachricht- Von: Andreas Veithen [mailto:[EMAIL PROTECTED]