General Axis questions

2006-12-11 Thread Ernie Ho
Hi Axis folks, I'm new to Axis. And I have the following questions: 1) what version of Axis does Jboss (particulary 4.0) support? 2) I used Axis 1.4 to generate Java classes from my WSDLs. I re-peated the process using Axis 1.1 (since Jboss doesn't seem to support some of the libraries m

Re: [Axis2] How to Basic Authentication in client

2006-12-11 Thread Tony Fang
Thanks I run it well 2006/12/11, Dimuthu Leelarathne <[EMAIL PROTECTED]>: Hi Tony, We have renamed the BasicAuthentication calss to the following. public static class Authenticator{ The following works. HttpTransportProperties.Authenticator basicAuth = new HttpTranspo

Re: [Axis2] How to Basic Authentication in client

2006-12-11 Thread Dimuthu Leelarathne
Hi Tony, We have renamed the BasicAuthentication calss to the following. public static class Authenticator{ The following works. HttpTransportProperties.Authenticator basicAuth = new HttpTransportProperties.Authenticator(); basicAuth.setUsername("admin"); ba

Re: Axis 2's handling of RPC Parameter types

2006-12-11 Thread Deepal Jayasinghe
> > > My intention is to build a generic web service that can take any type > (by upcasting to object) and through an internal XML document, be able > to map it to its real class so I can cast and perform operations on it > as defined by the XML (this is not SOAP - its BePel) Then what you have t

Re: [Axis 2] What's wrong with this tcpmon response?

2006-12-11 Thread Deepal Jayasinghe
Hi Sathija ; Can you pls send me the req message as well. Thanks Deepal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: sesion managment, scope=soapsession

2006-12-11 Thread Deepal Jayasinghe
Hi Stadelmann ; > >My client #1 runs continously, and sends arround 40 msg a second to the >server. >When the second client starts, cline t#1 is still sending messages and so we >do >not have a time-out condition. client #1 never times out. > >BUT as I decribe, using the code shown, when clie

[Axis2] How to Basic Authentication in client

2006-12-11 Thread Tony Fang
Hi, there I found many users are using following to do the basic authentication: // Add basic authentication HttpTransportProperties.BasicAuthentication basicAuth = new HttpTransportProperties().new BasicAuthentication(); basicAuth.setUsername("admin"); basi

Re: [Axis2] Rampart not available on Axis modules page

2006-12-11 Thread Ruchith Fernando
Modules page is now updated: http://ws.apache.org/axis2/modules/index.html Thanks, Ruchith On 12/8/06, sridhar vudutha <[EMAIL PROTECTED]> wrote: You can find them here. http://people.apache.org/~ruchithf/rampart-1.1-RC1/ On 12/8/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote: > Thanks. > U

Re: InflowConfiguration & OutflowConfiguration deprecated

2006-12-11 Thread Ruchith Fernando
Hi George, Now you can pragmatically configure Rampart using policy (combination of WS-SecurityPolicy and Rampart policy). This requires you to understand WS-SecurityPolicy ... I hopefully will be able to get some more documentation and examples posted next week (after my exams :-) ) Thanks, Ruc

Re: Apache Rampart 1.1 Released

2006-12-11 Thread Ruchith Fernando
Added info on Rampart ! The site should be updated in a little while. Thanks, Ruchith On 12/12/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: Cool. Someone should update this page: http://ws.apache.org/axis2/modules/index.html with Rampart and Sandesha links. -Original Message- From:

Re: [Axis2 v1.1]

2006-12-11 Thread Ruchith Fernando
This seems to be a bug in Rampart. Sumedha also pointed this out here [1]. Please file a JIRA. Thanks, Ruchith [1] http://marc.theaimsgroup.com/?l=axis-dev&m=116583812603458&w=2 On 12/11/06, Rodrigo Ruiz <[EMAIL PROTECTED]> wrote: Hi, I thought ResourceBundles were smart enough to use the de

[Axis 2] What's wrong with this tcpmon response?

2006-12-11 Thread Sathija Pavuluri
Resending as an Axis 2 post. Hello, Can someone identify what if anything is wrong with the below tcp response. The service method throws an AxisFault as declared and is returning a NPE as expected, but the client code just throws me an OMException encapsulating an IllegalStateException: Curren

What's wrong with this tcpmon response?

2006-12-11 Thread Sathija Pavuluri
Hello, Can someone identify what if anything is wrong with the below tcp response. The service method throws an AxisFault as declared and is returning a NPE as expected, but the client code just throws me an OMException encapsulating an IllegalStateException: Current state not START_ELEMENT. Th

Re: custom types with non-java client

2006-12-11 Thread Anne Thomas Manes
It depends on how Castor is serializing your objects. If Castor converts your objects into reasonably straightforward XML schema structures, it should work. What you don't want to do is use SOAP encoding to serialize the objects, because it has a tendency to produce XML that can't be easily proces

Re: Axis2 and WSDL20

2006-12-11 Thread Ajith Ranabahu
Hi, My guess is we can easily get rid of this flag since it is very easy to distinguish a WSDL 1.1 document from a 2.0 document :) Ajith On 12/11/06, Paul Fremantle <[EMAIL PROTECTED]> wrote: Jim Sure. If you look at the options for WSDL2Java you will see -wv (WSDL version). Paul On 12/11/06

Re: [Axis2] Problem with Axis2 Codegen Wizard.

2006-12-11 Thread Ajith Ranabahu
Hi, It will be helpful if you can attach your eclipse log file as well (I guess you are using eclipse codegen wizard) which should be in your workspace/.metadata directory. It should have a more meaningful stacktrace. BTW I don't see any WSDL attachment :) Ajith On 12/11/06, Aldo Mamo <[EMAIL PR

RE: Apache Rampart 1.1 Released

2006-12-11 Thread Spies, Brennan
Cool. Someone should update this page: http://ws.apache.org/axis2/modules/index.html with Rampart and Sandesha links. -Original Message- From: Ruchith Fernando [mailto:[EMAIL PROTECTED] Sent: Sunday, December 10, 2006 9:54 PM To: axis-user@ws.apache.org Subject: Apache Rampart 1.1 Rele

Unwanted log messages

2006-12-11 Thread Bob Corcoran
I have written a standalone Java app that calls a number of web services via Axis. I generated the clients using Apache's wsdl2java. The problem I am having is this: for each web service that is called from my client, Axis is logging messages to the log file that I have set up for our app on the se

Problem with Axis2 Codegen Wizard.

2006-12-11 Thread Aldo Mamo
Hi, When accessing the Axis2 Codegen Wizard and filling the necessary details, together with the location for the WSDL file, I am getting the following error when hitting the 'finish' button: 'An error occurred while completing process - java.lang.InterruptedException:java.lang.RuntimeException

Re: out of memory issues. Can MTOM help ?

2006-12-11 Thread Jon Carmignani
Phillipp and Marcel, Make sure you know where the out of memory error is occurring. With a web service, you could be getting it on the client side as well as the service side depending on how you log it. Also, I've run into issues using TCP Mon in between the two when it runs out of memory.

InflowConfiguration & OutflowConfiguration deprecated

2006-12-11 Thread George Stanchev
What is the best way to configure rampart programatically now? It seems that the previous configuration classes have been deprecated. The samples are still using those 2 classes thought... Thanks! George Stanchev ** This

Soap/RPC Corruption

2006-12-11 Thread Colley, Duane
Hi All I'm executing an axis 1.4 SOPA XML/RPC call where there return string has a '0D0A' (CR/LF) in one of the data elements. Axis is escaping the "<" but not the ">". But I am expecting the whole return element to be wrapped in "

[Axis2] Setting the HTTP status code

2006-12-11 Thread Punnoose, Roshan
Is it possible to set the HTTP status code on the way out of an Axis service? Like instead of 200 set it to HTTP 204? Thanks. Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTE

custom types with non-java client

2006-12-11 Thread Melanie Courtot
Hi, I'm fairly new at webservices, and I've been developing a webservice based on axis 1.4. To send back complex objects that I already had I'm using the castor serializer. I was wondering if some of my clients don't use java to access my webservices if it was still possible for them to get the XM

databinding sample code

2006-12-11 Thread Danny Lin
I am having trouble to get the databinding sample code to work. After adding Castor-1.0.5, jdom, stax-utils, and three Java files (StAXBuilder, StAXTextModifier, and StAXOutputter) I was able to get the code compiled. When I execute the client code by using Ant build pointing to the target I got

Axis 1.3 MessageContext.getOperation() returns null

2006-12-11 Thread Rishikesh . Mallesh
Hi Folks, I am in a bit of a fix here. I have a few custom handlers that make use of the "MessageContext.getOperation()" method. Of late, the call to "MessageContext.getOperation()" has started returning a "null". Went through the Java doc, wasn't much help, it says the method can ret

Axis 2's handling of RPC Parameter types

2006-12-11 Thread John Crossley
Hi there, I've come across a problem with Axis 2's handling of RPC types. If I set the input arguments in the Client to: String handler="doThis"; Weather w=new Weather(); w.setTemperature((float)39.3); w.setForecast("Cloudy with showers"); w.setRain(true); w.setHowMuchRain((float)4.5); Object

Re: [Axis2 v1.1] How can I get full XML from SOAP Request ?

2006-12-11 Thread John DeeBee
Hi, Thanks for your answers ... which, unfortunately, don't work. But I found a solution. For me, it seems to be a bug but, as I don't really know why it works... The key is to access MessageContext's envelope not in the skeleton but in the beginning of the MessageReceiverInOut and

[axis2]ws policy question

2006-12-11 Thread Rishi krish
Hi Dims/Deepal I was in the morning axis2 tutorial presentation and it was definitely very helpful. I had asked a question related to the WS-policy implementation [neethi I guess] and I had some question on the facts Dims mentioned in that session abt the policy implementation. I have a sort of l

Re: out of memory issues. Can MTOM help ?

2006-12-11 Thread Philipp Perner
Hi, Do you have already a solution for this problem? I'm facing the same problem, that I get the following error transferring files greater than 2,5 Mb: 2006-12-11 15:17:18 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.OutOfMemoryError: Java hea

Re: [Axis2 v1.1]

2006-12-11 Thread Rodrigo Ruiz
Hi, I thought ResourceBundles were smart enough to use the default bundle when a specific one was not found; so, if errors.properties is present in the classpath, why does Rampart complain at all? Best regards, Rodrigo Ruiz Ruchith Fernando wrote: > Hi, > > Since your locale is DE you you will

Axis 1.4 - DataHandler: second param is null

2006-12-11 Thread Babette Wagner (s713474)
I'm using Axis-1_4 with apache-tomcat-5.5.20 and JDK 1.5.0_08 With wsdl2java I've generated skeleton/stub/impl for two different methods. Both have DataHandler as return type and one or two DataHandlers as input params. The method which has two input params doesn't work properly because the se

Re: Use Hibernate3 with Axis2

2006-12-11 Thread robert lazarski
I use Hibernate inside the AAR just fine, though I do it via Spring managing the transactions. Assumming you are not using Spring, you can still use the same principles. The spring axis2 tutorial does mention hibernate and that should be a good starting point, with or without spring. http://ws.a

javadoc 2 wsdl::operation::documentation

2006-12-11 Thread Evangelos Pafilis
Hi everybody, Just a quick question: is there a way to add a method's javadoc documentation as operation description when generating the wsdl file? (javadoc 2 wsdl::operation::documentation) Thank you in advance Vangelis -- Evangelos Pafilis MRes Bioinformatics Schneider Team Room V116, Meyer

AW: sesion managment, scope=soapsession

2006-12-11 Thread Stadelmann Josef
Hi Robert I really like axis2-1.1 managing my sessions if this is foreseen and works. But as you know, my sessions must each talk in a 1:1 relationship to a unique instance of a service object. A service object which wraps my external server and has a CORBA IOR to it, wheras CORBA IOR's are un

Re: [Axis2 v1.1]

2006-12-11 Thread Ruchith Fernando
Hi, Since your locale is DE you you will have to have "errors_de.properties" file available in the classpath in the "org.apache.rampart" package. Simply copy the content of this file [1] into the errors_de.properties file. Optionally you can translate messages :-) Thanks, Ruchith [1] https://

Re: [Axis2][1_1] Security validation is made only if security header is found...

2006-12-11 Thread Ali Sadik Kumlali
Just filed a JIRA (AXIS2-1858) for easy tracking. Regards, Ali Sadik Kumlali - Original Message From: Ali Sadik Kumlali <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Friday, December 8, 2006 5:14:11 PM Subject: [Axis2][1_1] Security validation is made only if security header is

Re: Axis 1.4 Strange behaviour

2006-12-11 Thread Miguel Correia Ricardo
Well, thank you for the reply. But my problem, has stated, is that I want to make available my WSDL to my clients in a specified host and port. Then, they (the clients) by dynamic wsdl generation ( with ?wsdl) get the wsdl of the service I've made available. It is in that moment, that the arrayof_

[Axis2 v1.1]

2006-12-11 Thread Daniel Wehrle
Hi, I tried to do a little Axis2 sample on my German Windows. I connect to a .Net web service using wssecurity, so I use rampart for the UsernameToken. But by sending a message I got an stack trace ending with: Caused by: _java.lang.RuntimeException_: Can't find bundle for base name org.apac

[Axis2]Re:[Sandesha2] Apache Sandesha2 1.1 released

2006-12-11 Thread falom
Hi, Does anyone have any information on performance comparison between Sandesha with JMS for async messaging? I have not be able to find any benchmark data comparing different RM implementations and JMS. Any comment or information will be much appreciated. falom Chamikara Jayalath <

Re: [axis2] where to put native libraries?

2006-12-11 Thread Michele Mazzucco
Hi Paul, normally the shared libs is in the same folder of the jar file which uses them, so I guess it's a class loader issues. Michele Paul Fremantle wrote: > Where is the shared lib normally? Certainly Axis2 is doing its own > classloader. > > Paul > > On 12/10/06, Michele Mazzucco <[EMAIL

Re: Axis2 and WSDL20

2006-12-11 Thread Paul Fremantle
Jim Sure. If you look at the options for WSDL2Java you will see -wv (WSDL version). Paul On 12/11/06, jim ma <[EMAIL PROTECTED]> wrote: Hi all , Does Aixs2 plan to support WSDL20 ? Currently is there any experimental stuff related to WSDL20? Thanks Jim -- Paul Fremantle VP/Technology, W

Axis2 and WSDL20

2006-12-11 Thread jim ma
Hi all , Does Aixs2 plan to support WSDL20 ? Currently is there any experimental stuff related to WSDL20? Thanks Jim

AW: sesion managment, scope=soapsession

2006-12-11 Thread Stadelmann Josef
Hi Deepal pls see my coment below -Ursprüngliche Nachricht- Von: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. November 2006 17:27 An: axis-user@ws.apache.org Betreff: Re: sesion managment, scope=soapsession Hi Stadelmann ; pls see my comments below; > Hi session-m

AW: sesion managment, scope=soapsession

2006-12-11 Thread Stadelmann Josef
Hi Robert But when I have to implement finding the correswponding instance of a class (an object) myself, belonging to the incoming session request object, then I would consider axis2-1.1 not beeing able to keep sessions appart from each other. And again back to what I write. Why is the servic