Re: Axis2 with rampart sample, username hardcoded

2008-03-25 Thread Nandana Mihindukulasooriya
Hi Daniel, > How can I get rid of the element in the config file and set the > username/password in the handler PWCBClientHandler? If you use the policy based configuration you can get rid of both and password callback and set the username/password using options in the client. Please take a loo

Re: AW: Axis2 with rampart sample, username hardcoded

2008-03-25 Thread Nandana Mihindukulasooriya
Pete, > It would be nice to have those classes available long term, unfortunately > they are deprecated, so who knows when they will actually go away. These classes are deprecated because we discourage the usage of parameter based configuration. Please take a look at the policy based configuratio

Re: how to use ServiceClient

2008-03-25 Thread Deepal Jayasinghe
Hi I am a newbee to axis2 and am having trouble getting data from my web-service. I have sucessfully created a service and can call it using the RPCServiceClient. I have than extended my service to have a method that returns an array of objects. I can call this method on the web-service but

It is a bug of ADB with xsd:decimal?

2008-03-25 Thread Suriya Simsuwat
Hi all, I have faced the strange problem that in my WSDL file I have xsd:simpleType for xsd:decimal element like below (full details of WSDL can be found in the attached file). After I created a skeleton class, buil

[Axis2] Reference to AxisServlet

2008-03-25 Thread samir shaikh
Hi, I'm building an Axis2 service that recieves calls from difference calls. I notice that the following function gets called by Axis engine to initialize the service. public void init(ServiceContext) I defined that function. Now I need to get a reference to the AxisServlet so that I can extract

RE: What might cause "Unexpected subelement return"?

2008-03-25 Thread Nate Roe
Anne, I've modified my WSDL according to your advice and re-generated my client. Happily, things are functioning. Apparently the "type" vs. "xsi:type" issue does not cause an error with the Axis2 client. Thank you, Nate -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTEC

How to make a web service method "know" all of the classes that it uses

2008-03-25 Thread new2axis
Hello, I'm fairly new to webservices and am trying to put together a simple application. What I want to do is to be able to persist an object in database (using hibernate), in a method that I will expose as a web service. So to do this, I have a Student POJO class (instances of which I want to

Axis2: .NET Bad Request

2008-03-25 Thread Simon Steinacker
Hello, I am trying to consume a .NET webservice, but always get returned HTTP error code 400, Bad Request. I absolutely have no idea where this could reside in. I know that the service has already worked with other Axis2 clients. did something change in the Axis2 api recently (or not-so-recen

Re: AXIS2 APIs to monitor SOAP messages

2008-03-25 Thread Paul Fremantle
Joe You can use the SOAPMonitor module, or there are also logging modules you can use. Paul On Tue, Mar 25, 2008 at 6:59 PM, Joe Smithian <[EMAIL PROTECTED]> wrote: > Hi all, > > Let's say that we have a SOAP client based on the API generated by wsdl2jav > and the communication between client an

[Axis2] Axis2/JAXWS Hackathon Invite

2008-03-25 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, Please feel free to drop in...even if you can't stay for the whole day. Date : Mar 26, 2008 - Wednesday Time : Start around 9:00 AM EST Who : Anyone interested in checking out / helping with JAXWS implementation in Axis2 Why : Come up

AXIS2 APIs to monitor SOAP messages

2008-03-25 Thread Joe Smithian
Hi all, Let's say that we have a SOAP client based on the API generated by wsdl2jav and the communication between client and server is based on HTTPS. So we can't use external monitoring tools such as TCPmon or TcpTrace. Are the any AXIS classes which can be uses to display SOAP messages in the cl

Re: Capture custom exception

2008-03-25 Thread Adrián Cuartero
Thanks all for the fast a good answers but i haven't solved my problem. i'm trying to find a sub of an axisfault but when i try to getCause in the client i allways recive null. Let me post the code to ask a little help again. This is the exception package ws.example; public class MyException

RE: setMessageListener not permitted in Websphere

2008-03-25 Thread callagc4
Hi George, Yes we are currently using JMS in WAS 6.1. We chose to go with the MDB approach. It seems that this is IBM's recommended approach to take. What this entailed for us was to basically rewrite the axis2 JMSMessageReceiver class. We deploy an MDB per service. This MDB then forwards the me

how to use ServiceClient

2008-03-25 Thread Tezcan.Dilshener.extern
Hi I am a newbee to axis2 and am having trouble getting data from my web-service. I have sucessfully created a service and can call it using the RPCServiceClient. I have than extended my service to have a method that returns an array of objects. I can call this method on the web-service but when i

Re: [Axis2] Axis2 1.3 Java2WSDL capabilities and limitations

2008-03-25 Thread robert lazarski
On Tue, Mar 25, 2008 at 1:00 PM, Mauro Molinari <[EMAIL PROTECTED]> wrote: > Lou Amodeo ha scritto: > > > Thank Deepal. I found your article very helpful. I didn't see any > > discussion regarding exception processing. If I have a class that throws > > somethnig like CustomerNotFoundException

Re: [Axis2] Axis2 1.3 Java2WSDL capabilities and limitations

2008-03-25 Thread Mauro Molinari
Lou Amodeo ha scritto: Thank Deepal. I found your article very helpful. I didn't see any discussion regarding exception processing. If I have a class that throws somethnig like CustomerNotFoundException (extends Exception) is that supported?Thanks Again! In Axis2 1.3 it is not suppo

RE: setMessageListener not permitted in Websphere

2008-03-25 Thread Marrows, George A (GE Infra, Energy)
Hi Cathal -- I see from your more recent mails that you are up and running with Axis2 on JMS. Is that still under WAS 6.1? If so, I'm curious what deployment approach you took in the end - was it 1) MDBs or 2) changing the Axis2 code to not use setMessageListener or 3) something else? Hi Axis2 t

Internationalization

2008-03-25 Thread Luis Costa
Being Web internationalization a major issue, Does axis2 do any kind of treatment to the different characters encoding (for example the use of Unicode)? Once the character set and character encoding is potentially different for each language. Thank you for your attention and best r

document dependent jars

2008-03-25 Thread Evans, Jess
I seem to see lots of one off mails asking about which jars are required to support X function in axis. Is this documented somewhere on the wiki? It seems like someone in the know could knock out this doc in an hour or so. It would save newbies like myself hours of trial and error deleting and r

Re: [Axis2] Release planning and Hackathon forAxis2 1.4 Release - JAXWS Documentation / Samples

2008-03-25 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Deepal, I got a few people asking if we could do it on wednesday as they are busy thu/fri. Let's move it to wed. ok? Team, If you get a chance try the 3 samples already in svn under modules/samples. See you on IRC (freenode #apache-axis) tomorrow.

Re: Client Code Generation 1.4 RC1

2008-03-25 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter, Please create a bug in JIRA and upload your sample wsdl/xsd's and info on how you ran the code generator (command line params?) thanks, dims Walter Weinmann wrote: | Hi Deepal, | | This problem is not fixed with RC2. | | Regards | | Walter

Rampart without addressing

2008-03-25 Thread Nuria Rodríguez García
Hi, I'd need to use policy with rampart module without using addressing module. Is it possible? I tested it and it works when I use sendReceive but when I execute an operation client doesn't work. Thanks, Nuria

Re: Capture custom exception

2008-03-25 Thread Michele Mazzucco
You can use new AxisFault.makeFault(customException) on the server side and retrieve your custom fault with axisFault.getCause() Michele On 24 Mar 2008, at 19:47, Adrián Cuartero wrote: Hi all I keep trying throwing a custom exception and i've read there's a problem capturing this exceptio

RE: AW: Axis2 with rampart sample, username hardcoded

2008-03-25 Thread Sanjay Vivek
You can also set the username/password programatically by using a policy based configuration. The samples you are referring to are paramater based and the username/password are hardcoded. You should take a look at samples/policy in the rampart distro. Cheers Sanjay _

AUTO: I will be on vacation on Tuesday 03/25/2008 (returning 03/26/2008)

2008-03-25 Thread Mukundan Desikan
I am out of the office until 03/26/2008. I will be on vacation on Tuesday 03/25/2008 and will return back on 03/26 .Since i will have limited access to internet i will respond to emails when i get back. For any urgent issues related to web services please contact Dharmesh Bhakta. Note: This

Re: Axis 2 client, Axis 1.4 server, unexpected element

2008-03-25 Thread Richard Fagot
I've found a workaround : I create my beans. I generate the WSDL with Axis 1. I generate the client binding classes from the WSDL with Axis 1. I replace my beans with the client ones. Richard 2008/3/21, Anne Thomas Manes <[EMAIL PROTECTED]>: > Please post the WSDL. > > Anne > > > On Thu, Mar 2

RE: Capture custom exception

2008-03-25 Thread D . H . T . M . Gameren
Hi, Just define a custom exception as a 'sub' of a fault . You should be able to catch the exception when invoking your stub Regards dirk -Original Message- From: Adrián Cuartero [mailto:[EMAIL PROTECTED] Sent: maandag 24 maart 2008 20:48 To: axis-user@ws.apache.org Subject

Re: Client Code Generation 1.4 RC1

2008-03-25 Thread Walter Weinmann
Hi Deepal, This problem is not fixed with RC2. Regards Walter On Tue, Mar 18, 2008 at 5:05 PM, Deepal jayasinghe <[EMAIL PROTECTED]> wrote: > Walter Weinmann wrote: > > I found the following piece of code in my generated client stub: > > > > *private* *void* populateAxisService() *throws* > >

Axis 1.4 web service client with NTLM authentication, getting "premature end of file" exception

2008-03-25 Thread suraneni
Hi All, I have written an axis 1.4 client for a web service and it was working properly, returning a response earlier. Recently the web service url is protected with windows authentication. A pop up is appearing for windows domain, username and password if I type the url in internet explorer. I