axis2c log

2008-11-28 Thread Leonardo Kausilas
Hi, I'm working with axis2c and I need change the default logger for my own logger. I implemet my own axutil_log_create initializing the struct axutil_log_ops_t with my own pointers, but it wasn't work because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls directly to

Re: axis2c log

2008-11-28 Thread Samisa Abeysinghe
Leonardo Kausilas wrote: Hi, I'm working with axis2c and I need change the default logger for my own logger. I implemet my own axutil_log_create initializing the struct axutil_log_ops_t with my own pointers, but it wasn't work because the macros AXIS2_LOG_DEBUG, AXIS2_LOG_INFO, etc calls

Re: how to return a respnose from module

2008-11-28 Thread Michele Mazzucco
What about using InvocationResponse.ABORT after processing the request in your handler? Michele On 27 Nov 2008, at 19:29, Shah Asrani wrote: Hi I have a web service running. The web service has method called getVersion and it returns an OMElement. The web service has a custom handler that

RE: Client stubs NullPointer Exception

2008-11-28 Thread Chris Tinning
This is my code - Setup - ConfigurationContext config =ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, AXIS2_CONFIG_FILE_LOCATION); // serviceUrl of the form http://host:8080/app/services/session serviceStub = new SessionServiceStub(

Re: AXIS2-RAMPART - How to get userId in the webService Method

2008-11-28 Thread vhgupta
Closing this post as Found the solution. Solution is simply to use following in your webservice method: MessageContext msgCtx = MessageContext.getCurrentMessageContext(); Vector results = (Vector) msgCtx.getProperty(WSHandlerConstants.RECV_RESULTS);

AXIS2-RAMPART - How to get userId in the webService Method

2008-11-28 Thread vhgupta
I have successfully integrated rampart axis2 and being able to authenticate multiple clients using rampart and java key stores. Problem is how do I get the userId in the web-service method so that I can implement the business logic using the already authenticated parameter rather then

How to get the list of published services

2008-11-28 Thread javier
Hi everybody, I'm looking for a way to get the list of all published services on Axis2. I know there is a file on the repository/services directory where those services are enumerated but I would like to know if there is another way to get this list using an API for example. Please tell me if

Axis 1 in semi-RESTful way

2008-11-28 Thread kat kat
Hello All, For some reason I will have to use axis 1.4 and not axis2 1.4.1. So, can Axis 1, current release 1.4, be used in semi-RESTful way with just POST/GET methods since it supports WSDL 1.1 and WSDL 1.1, I believe, does support POST and GET methods? If yes, is there any example for this?

Generate Web Services and XML Services

2008-11-28 Thread Néstor Boscán
Hi I have a Project with JDK 1.4 where I have some xsd files that I have to use to generate SOAP Services and simple XML services (Simple XML Request and Response). For the SOAP Services I was thinking on using Axis. Now for the XML Services I was thinking on using JAXB to generate the classes

Generate Web Services and XML Services

2008-11-28 Thread Néstor Boscán
Hi I have a Project with JDK 1.4 where I have some xsd files that I have to use to generate SOAP Services and simple XML services (Simple XML Request and Response). For the SOAP Services I was thinking on using Axis. Now for the XML Services I was thinking on using JAXB to generate the classes

Re: Axis 1 in semi-RESTful way

2008-11-28 Thread keith chapman
Can you explain why you have to use Axis2 a.4 and not Axis2 a.4.1? Thanks, Keith. On Sat, Nov 29, 2008 at 8:27 AM, kat kat [EMAIL PROTECTED] wrote: Hello All, For some reason I will have to use axis 1.4 and not axis2 1.4.1. So, can Axis 1, current release 1.4, be used in semi-RESTful way

Re: Axis 1 in semi-RESTful way

2008-11-28 Thread kat kat
On Fri, Nov 28, 2008 at 8:41 PM, keith chapman [EMAIL PROTECTED]wrote: Can you explain why you have to use Axis2 a.4 and not Axis2 a.4.1? Is Axis 1.4 ( http://ws.apache.org/axis/ ) referred as Axis2 a.4? Well, I am planning to manage the VMWare ESX 3.5 virtual machines using the SOAP web