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 wrote: > *I'm having problems controlling my ServiceName. This is important since > I'm

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 wrote: > Greetings, > > I need some help in configuring REST on AXIS2. I have created a > standard webservice using axis2. I would like

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 to axis2.xml and services.xml files 3) Overrride the init() and destroy() methos. In init() you should put your open socket and

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 TCPMO

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 faul

[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=110612&package_id=120172&release_id=661376  to download the latest version. Changes from Version 2.4 (2/2009) * Added separate VTD indexing generating and loading (see http://vtd-xml.sf.net/per

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 3:

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: [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: axis-use

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 "A

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 to axis2.xml and services.xml files 3) Overrride the init() and destroy() methos. In init() you should put your open socket and others methods

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 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 something you wrote - and n

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 wh

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

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 k

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]. Y

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: >

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 wrote: > Hi, > > we want to write webservices on mainframes using axis2c. > > I wonder if axis2c supports mainframes

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 wrote: > > Hi, > > I have an axis2 web service running on tomcat that is calling a client code > of another web service

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 transforma

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: 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 wrote: > What is the version of Axis2 that you are using?

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 h

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: http://www.velocityreviews.com/forums/t132514-how-to-call-a-webservi

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 msgContext.s

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 th

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 Truste