How to modify the SOAP envelope

2009-02-17 Thread Rutger van Eerd - Vanboxtel BV
Hello, I am using Axis2/C 1.4 (actually WSF/C 1.3 which includes Axis2/C 1.4) to send a SOAP 1.1 request, over HTTP, to a third-party SOAP server. The server returns a SOAP fault (E_FAIL, Unspecified error). However when I use a third party SOAP client to send the message, the SOAP server

Re: How to modify the SOAP envelope

2009-02-17 Thread Manjula Peiris
On Tue, 2009-02-17 at 14:56 +0100, Rutger van Eerd - Vanboxtel BV wrote: Hello, I am using Axis2/C 1.4 (actually WSF/C 1.3 which includes Axis2/C 1.4) to send a SOAP 1.1 request, over HTTP, to a third-party SOAP server. The server returns a SOAP fault (E_FAIL, Unspecified error).

server sends output but client unable to deserialize

2009-02-17 Thread balajikumara T
Hi, I get the following error. Mon Feb 16 10:54:10 2009] [error] adb_testScorecard.c(750) non nillable or minOuccrs != 0 element PVOutput missing [Mon Feb 16 10:54:10 2009] [error]adb_testResponse.c(203) failed in building adb object for element testReturn [Mon Feb 16 10:54:10 2009]

Re: server sends output but client unable to deserialize

2009-02-17 Thread Supun Kamburugamuva
Can you please attach the log file? Supun On Tue, Feb 17, 2009 at 9:26 PM, balajikumara T balajikum...@gmail.comwrote: Hi, I get the following error. Mon Feb 16 10:54:10 2009] [error] adb_testScorecard.c(750) non nillable or minOuccrs != 0 element PVOutput missing [Mon Feb 16 10:54:10

Re: server sends output but client unable to deserialize

2009-02-17 Thread balajikumara T
Hi Attaching it Thanks in advance Balaji On Tue, Feb 17, 2009 at 11:43 AM, Supun Kamburugamuva supu...@gmail.comwrote: Can you please attach the log file? Supun On Tue, Feb 17, 2009 at 9:26 PM, balajikumara T balajikum...@gmail.comwrote: Hi, I get the following error. Mon Feb 16

Re: server sends output but client unable to deserialize

2009-02-17 Thread balajikumara T
Hi sending the code walk thru which i debugged Thanks Balaji On Tue, Feb 17, 2009 at 12:00 PM, balajikumara T balajikum...@gmail.comwrote: Hi Attaching it Thanks in advance Balaji On Tue, Feb 17, 2009 at 11:43 AM, Supun Kamburugamuva supu...@gmail.comwrote: Can you please attach

WSDL2Java - Skip Classes options

2009-02-17 Thread amit shah
Hi, I am using axis2 1.4.1 to generate java classes from a wsdl file. The web services are exposed by the SQL Server 2008 Reporting Services. I wanted to know if there is any command line option while using wsdl2java.bat to skip generating some classes (In my case a soap header called

Help on REST with AXIS

2009-02-17 Thread Murugesh Ramachandran
Greetings, I need some help in configuring REST on AXIS2. I have created a standard webservice using axis2. I would like to know how to i make this same service as REST. Is it possible to do that? URL - http://localhost:8080/services/services/categoryservice/getCategoryDetailsFromId I tried

passing values with MessageContext

2009-02-17 Thread Sagara Gunathunga
Hi guys, I'm doing some customization based on Axis2 transport phase , i want to pass some information from in-flow TransportListener to out-flow TransportSender. I used following approach . In TransportListener implemantation i have set a property value to MessageContext as follows

Axis1 [1.4] proxy authentication 407

2009-02-17 Thread Markos Fragkakis
Hi all, I need to make a call to a service over a proxy (Sun Proxy) with authentication. Although this works with apache-commons http client, I am having great difficulty with axis. The best article I have found is this:

Re: Axis1 [1.4] proxy authentication 407

2009-02-17 Thread keith chapman
What is the version of Axis2 that you are using? Thanks, Keith. On Tue, Feb 17, 2009 at 7:19 PM, Markos Fragkakis markos.fragka...@agilis-sa.gr wrote: Hi all, I need to make a call to a service over a proxy (Sun Proxy) with authentication. Although this works with apache-commons http

Re: Axis1 [1.4] proxy authentication 407

2009-02-17 Thread keith chapman
Oops just saw that you have mentioned it in the subject line. Sorry I have no clue as to how this could be done with Axis1. Could have offered some help of it was Axis2 though. Thanks, Keith. On Tue, Feb 17, 2009 at 7:57 PM, keith chapman keithgchap...@gmail.comwrote: What is the version of

Re: Axis1 [1.4] proxy authentication 407

2009-02-17 Thread Markos Fragkakis
I am using axis 1, version 1.4 (the latest one). Cheers, Markos On Feb 17, 2009, at 4:27 PM, keith chapman wrote: What is the version of Axis2 that you are using? Thanks, Keith.

Re: Hold a socket connection to a legacy application

2009-02-17 Thread Fabrício Cabral
Hi Asankha! What is the connection to your legacy backend? is it plain TCP sockets or HTTP etc? It's a proprietary protocol over plain TCP. The Apache Synapse ESB (http://synapse.apache.org) allows you to build proxy services for transport, message format switching and message

Re: Proxy setting problem in axis2

2009-02-17 Thread keith chapman
This blog post [1] answers your question. Thanks, Keith. [1] http://www.keith-chapman.org/2008/10/how-to-run-axis2-behind-proxy-and.html On Mon, Feb 16, 2009 at 6:16 PM, dawg zohar.etzi...@gmail.com wrote: Hi, I have an axis2 web service running on tomcat that is calling a client code of

Re: is axis2c supported on mainframes

2009-02-17 Thread keith chapman
You should be sending this mail to the axis-c-u...@ws.apache.org list. You will get a better response to this question there. Thanks, Keith. On Mon, Feb 16, 2009 at 11:54 AM, PP patelprad...@gmail.com wrote: Hi, we want to write webservices on mainframes using axis2c. I wonder if axis2c

How to propagate error codes or exceptions in Axis?

2009-02-17 Thread Rahul Kulkarni
Hi All, I am a new user of java client side Axis (not Axis2) and would like to know - is there a way by which we can propagate error codes or exceptions from server side to Axis client. The call I am making from client looks something like this: oper = new

Re: Hold a socket connection to a legacy application

2009-02-17 Thread Asankha C. Perera
Hi Fabrício I'll look it, but I think need something more simple. I just want to my web service hold the socket connection with my application (i.e., don't closed the socket), so I won't need reestablish this connection. I guess all you need is how to manipulate a client socket in Java [1].

Re: Hold a socket connection to a legacy application

2009-02-17 Thread Fabrício Cabral
Hi Asankha! I guess all you need is how to manipulate a client socket in Java [1]. You could use the SO_TIMEOUT = 0 Will it maintain my socket connection opened after successives calls? Could I use *the same* socket to send another command to my legacy application? I'm asking it because I know

MessageContext in CallbackHandler is null

2009-02-17 Thread Thorsten Deelmann
Hi all, Is there a way to get the MessageContext in a class which implements the CallbackHandler inteface. MessageContext.getCurrentMessageContext is null Thanks for your answers, Thorsten -- Thorsten Deelmann

Problem in Hibernate Axis2 Integration !! Help Required

2009-02-17 Thread gade anudeep
Hello Everyone..I am newbie..Please help me for this. Wat I did till now. 1.created a table in a db [ postgresql ] 2.hibernate config file + mapping file 3.created pojo class for mapping and all classes like DAO,a helper class which will be invoked by webservice Everything worked fine till now

Re: Problem in Hibernate Axis2 Integration !! Help Required

2009-02-17 Thread robert lazarski
On Tue, Feb 17, 2009 at 3:09 PM, gade anudeep anudeep11...@yahoo.com wrote: at ch.elca.des.testwebservice.TestStub.insert(TestStub.java:183) at ch.elca.des.testwebservice.TicketWSClient.GenerateName(TicketWSClient.java:29) You have some type of exception in that code - seemingly

Re: Hold a socket connection to a legacy application

2009-02-17 Thread Fabrício Cabral
For historic purpose: I solved this problem using the sessions concept. How I did: 1) Implements the Lifecycle interface to POJO service's class 2) add service name=ServiceName scope=application /service to axis2.xml and services.xml files 3) Overrride the init() and destroy() methos. In init()

ServiceName question

2009-02-17 Thread Cromer, Rick
I'm having problems controlling my ServiceName. This is important since I'm trying to migrate Axis1 to Axis2 and need to preserve the service name to minimize the impact on the SOAP clients. I set the WebService name attribute in the service class to Address, the class name of the service is

RE: [Axis2] Stack overflow error in wsdl2java for wsdl that imports several xsds

2009-02-17 Thread Pantvaidya, Vishwajit
This error went away when I removed the -uw option. Does this mean that -uw will not work for larger wsdls that import several schemas? - Vish. From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Sent: Wednesday, February 11, 2009 9:03 PM To:

Re: MTOM file upload webservice

2009-02-17 Thread Yogesh . Dhake
I hope your issue is you don't have field for passing for attachementID/mime header .But in MTOM you dont need it.. Have you tried MTOM and SWA samples with Axis source? If you are using MTOM AttachmentType attachmentRequest = param0.getAttachmentRequest();

RE: MTOM file upload webservice

2009-02-17 Thread Attharkar, Asmita
Hi Yogesh, Yes, got it working - Thanks for helping me out. I referred to the following link http://thilinag.blogspot.com/search/label/Axis2 Thanks, Asmita From: yogesh.dh...@mizuhocbus.com [mailto:yogesh.dh...@mizuhocbus.com] Sent: Tuesday, February 17, 2009

[ANN]VTD-XML 2.5

2009-02-17 Thread crackeur
VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/showfiles.php?group_id=110612package_id=120172release_id=661376  to download the latest version. Changes from Version 2.4 (2/2009) * Added separate VTD indexing generating and loading (see

RE: Rampart - axis2 fault

2009-02-17 Thread Iyengar, Kumar
Thanks Nandana, I removed Timestamp from the server side and it seems to work. --kumar From: Nandana Mihindukulasooriya [mailto:nandana@gmail.com] Sent: Sunday, February 15, 2009 3:39 PM To: axis-user@ws.apache.org Subject: Re: Rampart - axis2

Axis 1.4 - receiving signed reply

2009-02-17 Thread Iyengar, Kumar
Hi all, I am sure I am missing something simple but I have not been able to figure it out. I build the security header using wss4j 1.5.4 and use Axis 1.4 to send a signed request out. The sample server sends back a signed reply. However, my Call.invoke throws a fault. I debugged using

Re: Hold a socket connection to a legacy application

2009-02-17 Thread Asankha C. Perera
Hi Fabrício For historic purpose: I solved this problem using the sessions concept. How I did: 1) Implements the Lifecycle interface to POJO service's class 2) add service name=ServiceName scope=application /service to axis2.xml and services.xml files 3) Overrride the init() and destroy()

Re: Help on REST with AXIS

2009-02-17 Thread keith chapman
Hi Murugesh, Did you have a look at this tutorial [1]? Thanks, Keith. [1] http://wso2.org/library/3726 On Tue, Feb 17, 2009 at 4:43 PM, Murugesh Ramachandran muru...@gmail.comwrote: Greetings, I need some help in configuring REST on AXIS2. I have created a standard webservice using axis2.

Re: ServiceName question

2009-02-17 Thread keith chapman
Can you try dropping the @WebService annotation. You can certainly control the name of the service using the name Attribute on the services.xml. Thanks, Keith. On Wed, Feb 18, 2009 at 1:44 AM, Cromer, Rick rick.cro...@stratus.comwrote: *I'm having problems controlling my ServiceName. This is