RE: java.util.List and 1.1.RC2

2003-04-03 Thread Keith Hatton
For fromArray(), you mean this? java.util.Arrays.asList(Object[]) -Original Message- If you go return (Foo)list.toArray(new Foo[0]); You can turn a list to an array in a snap. A fromArray() would be nice to match it.

has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Richard De Falco
Title: Message Hello, I'm wondering if axis was intended to be used from an applet or a java web start enabled application. I'm wondering this because the size of jar files is prohibitive. I've seen some posts on this subject but can't find any information on how to build such a

Re: has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Slava Kudinov
Hello Richard, I was trying to build lightweight axis-client.jar by help of ant's optional task genjar but I had no luck, I gave up this idea because axis has many classes being loaded by names at runtime and genjar is unable to resolve it by compiled classes - Slava Thursday, April 03, 2003,

problem using wsdl2java

2003-04-03 Thread andre . dvorak
Hi, I want to use the EnumDe/SerializerFactory of axis and have deployed a wsdd file with the following mapping: typeMapping qname=ns:STATEType xmlns:ns=urn:types.model languageSpecificType=java:model.types.STATEType deserializer=org.apache.axis.encoding.ser.EnumDeserializerFactory

Re: has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Jon Barber
Richard De Falco wrote: Hello, I'm wondering if axis was intended to be used from an applet or a java web start enabled application. I'm wondering this because the size of jar files is prohibitive. I've seen some posts on this subject but can't find any information on how to build such a

RE: has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Anne Thomas Manes
Try Wingfoot SOAP -- free for commercial use. I've been told that IONA XMLBus also supports applets. Anne -Original Message- From: Jon Barber [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 5:02 AM To: [EMAIL PROTECTED] Subject: Re: has anyone ever build a lightweight

RE: help required for attachment using ejb as webservice

2003-04-03 Thread Toshiyuki Kimura
Hi Subhendu, (B (B At the beginning, I'd like to notify that I've already succeeded (Bin EJB usage with the AXIS 1.1 rc1 and the posted code. Thus, it (Bseems the root problem is not the return type of an ejb method. (B (B The most interesting describes from you are the followings; (B

repost:initialization of webservice

2003-04-03 Thread Davinder Singh
Title: repost:initialization of webservice Hi, I have a webservice and want to initialize at the time of startup. the service end point class implements javax.xml.rpc.server.ServiceLifecycle interface. Is there a way i can have init() method called without submitting a request to the

How to add a (Session) Handler to Client ?

2003-04-03 Thread Kai Unewisse
Hi all, I discovered in the mail archive a SessionHandler.java file from Glen Daniels. it says in the commment : Essentially, you install it on both the request and response chains of your service, on both the client and the server side. I have a DII-Client and a normal Java

SSL Security with Axis 1.0 ???

2003-04-03 Thread Geiß, Matthias
Hi, I just read the IBM developerworks article about securing web services with SSL using Axis and Tomcat. http://www-106.ibm.com/developerworks/webservices/library/ws-sec1.html It contains the folling advice about the tools to use: Soap client/server: Apache Axis v1.0 Beta 3 (Note: Release

RE: rebuild problem with RC2

2003-04-03 Thread Tom Jordahl
Try the latest nightly build or get the latest CVS source. -- Tom Jordahl Macromedia Server Development -Original Message- From: Neil Blue [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 8:45 AM To: '[EMAIL PROTECTED]' Subject: rebuild problem with RC2 Hello, I have jsut

RE: has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Tom Jordahl
Title: Message Is their a Bugzilla report for this problem? It will never get fixed if it isn't reported in Bugzilla. -- Tom Jordahl Macromedia Server Development -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003

RE: has anyone ever build a lightweight client with axis ?

2003-04-03 Thread Bruno.Melloni
Title: Message I just submitted one 5 secs ago. Bug number 18657. Bruno -Original Message-From: ext Tom Jordahl [mailto:[EMAIL PROTECTED]Sent: Thursday, April 03, 2003 8:05 AMTo: '[EMAIL PROTECTED]'Subject: RE: has anyone ever build a lightweight client with axis ? Is their a

JWS Axis Client Jars [was:has anyone ever build a lightweight client with axis ?]

2003-04-03 Thread Nicholas
For reference, we are deploying an Axius client over Java WebStart and the initial download is somewhat heavy, but after that, these jars never change, so it gets snappy. Here's the list: jar href=support/axis.jar/ jar href=support/jbcl.jar/ jar

RE : JWS Axis Client Jars [was:has anyone ever build a lightweight client with axis ?]

2003-04-03 Thread Richard De Falco
It seems that if you are really short of bandwidth (that's our case), ksoap works quite well as far as we have tested it now ( 100ko). I let you know the tradeoffs if there is any. I let you know as soon as investigated, if there is proxy problems with this design. Richard -Message

RE: JWS Axis Client Jars [was:has anyone ever build a lightweightclient with axis ?]

2003-04-03 Thread Kellogg, Richard
You are correct. It was fixed months ago. I do not remember which specific release though. -Original Message- From: Benjamin Tomasini [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 10:17 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: JWS Axis Client Jars

RE: rebuild problem with RC2

2003-04-03 Thread Neil Blue
Thanks Tom, The new build fails in the same way when I run ant all in the java directory. Neil -Original Message- From: Tom Jordahl [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 15:04 To: '[EMAIL PROTECTED]' Subject: RE: rebuild problem with RC2 Try the latest nightly build or get

RE: SSL Security with Axis 1.0 ???

2003-04-03 Thread Michael Roytman
I think this is a bug related to Tomcat version, not Axis. SSL works fine but Tomcat would throw the following exception on each SSL connection: Apr 3, 2003 9:58:39 AM org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL attributes

AW: SSL Security with Axis 1.0 ???

2003-04-03 Thread Geiß, Matthias
Thanks for the information. I use Tomcat 4.1.18 so I hope it will be fine. Best regards, Matthias -Ursprüngliche Nachricht- Von: Michael Roytman [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. April 2003 18:10 An: '[EMAIL PROTECTED]' Betreff: RE: SSL Security with Axis 1.0 ??? I

Handler order

2003-04-03 Thread Pathak, Sanjesh
Hi, I am trying to get handlers (and their order) that are there in the response flow, request flow and fault flow of a service. Does anyone know if there is a programmatic way or an API to get the order the of the handlers in response flow, request flow and fault flow of a deployed service?

General question about sessions

2003-04-03 Thread Jeffrey J Gaynor/jqhome
Hi, I am interested in perhaps using sessions. The basics are simple, but I do have on requirement and that is to be able to set some state information (e.g. the user's name) for the session from the client (in particular an identifier so that each session can be customized.) How is this

doc/lit question

2003-04-03 Thread Brain, Jim
Actually two questions: * I have a schema that I want to send via a web service. Is there an easy way to have AXIS gen stubs and skels for me to write a service for that schema, including building the classes to represent the schema * Right now, to do this, I have a set of classes

RE: help required for attachment using ejb as webservice

2003-04-03 Thread subhendukumar mohanty
I have session bean. One thing i am not clear. If datahandler is not a serializable , (Bi can not make it the return type in ejb method. Am i correct or not in the above (Bstatement ? (B (B-Original Message- (BFrom: Toshiyuki Kimura [mailto:[EMAIL PROTECTED] (BSent: Thursday, April

Bean data and getBodyByName()...

2003-04-03 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi there, Question 1) Is there any issue with getBodyByName (namespace, localpart) in SOAPEnvelope class? .Because my method 1)(listed below) throws NullPointerException and Method 2 (listed below) returns result. Method 1) - I am calling directly getBodyByName(). Method 2) - I

RE: attachments with generated stubs

2003-04-03 Thread Tom Jordahl
Title: attachments with generated stubs You need activation.jar and perhaps mailapi.jar in your classpath during execution. -- Tom Jordahl Macromedia Server Development -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:18

RE: WSDL2Java / Proxy Server (newbie)

2003-04-03 Thread Tom Jordahl
Title: WSDL2Java / Proxy Server (newbie) WSDL2Java will respect the proxy settings the same as the Axis runtime will. Set the system properties (use -D on the java command line) when running WSDL2Java. -- Tom Jordahl Macromedia Server Development -Original Message- From:

Stateful web services.

2003-04-03 Thread Clay Graham
Hello Axis Users, I am having a hard time finding out how to create a stateful web service. For example, if you wanted a mail service you would want to be able to login to a mail session, hold that session in state, and then perform multiple actions on that session, like send message, get

RE: WSL2Java Question -- Document/Literal

2003-04-03 Thread Tom Jordahl
The RPC provider actually handles both rpc/encoded and document/literal requests that have type mappings performed. The MSG provider is used only for services that have a single interface or a particular signature (see the docs for the 3-4 signatures that are supported). -- Tom Jordahl

RE: rebuild problem with RC2

2003-04-03 Thread Tom Jordahl
The all-tests target running successfully is a release criteria, so it passed at the time of the release. I also can run it successfully on my machine with the current CVS tree. So I guess that leaves a configuration problem -- Tom Jordahl Macromedia Server Development -Original

How to get bean data in client?

2003-04-03 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi there, Please help ... This represents my bean data in SOAP Response. How do I read this data (to get "Name" and "City" ) in Axis Client?. All my effort did not produce any results... multiRef id=id1 soapenc:root=0

RE: Stateful web services.

2003-04-03 Thread Clay Graham
[SOLUTION] I am including the full solution because I think this is the type of thing everybody wants # 1. Create your service /* * NOIMailService.java * * Created on April 2, 2003, 5:19 PM */ package

RE: attachments with generated stubs

2003-04-03 Thread Volkmann, Mark
Title: attachments with generated stubs Thanks! I had activation.jar, but I needed mail.jar. It seems that there are at least two ways to get an attachment added to the SOAP request. One way is to call addAttachment(dataHandler) on my generated stub. Another way is to pass my DataHandler as

RE: SQLXML AND AXIS CLIENTS

2003-04-03 Thread Chance, Sam USA
Hello! Im a newbie looking for information or examples for developing Axis clients to interact with SQLXML (SOAP) directories in SQL Server 2000. Can anyone provide insight? Thank you, Sam

How to integrate adminClient into existing application?

2003-04-03 Thread Sochea Meas (LMC)
Title: How to integrate adminClient into existing application? Hi all, I am trying to integrate adminClient into my own code but failed to succeed. Anybody can point me out good reference to do so? The axis web site doesn't seem to clearly document this process. Below is the code fragment

Web Service Requirements

2003-04-03 Thread Dave Searle
Hi All, Can any one point me to a requirements document for a typical Web Service? Kind regards, Dave Searle.

RE: WSL2Java Question -- Document/Literal

2003-04-03 Thread Tom Jordahl
I hope it works, but I will note that there have been VERY few changes between RC2 and now. We expect to make 1.1 final very soon! -- Tom Jordahl Macromedia Server Development -Original Message- From: Herrick, Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 4:43 PM To:

RE: replacing DefaultSocketFactory

2003-04-03 Thread Tom Jordahl
This is the kind of thing that you need to use the commons-discovery code to do. You can either set a property or create a service config file. Check out the xml-axis/docs/integration-guide.html file for info on this. -- Tom Jordahl Macromedia Server Development -Original Message-

RE: WSL2Java Question -- Document/Literal

2003-04-03 Thread Herrick, Mike
I don't know what changed, but I couldn't even get the doc lit test cases to work in RC2 ... they do, however work in the nightly builds ... its possible I screwed something up though, but I stared at it for 1/2 day at one point. -Original Message- From: Tom Jordahl [mailto:[EMAIL

RE: attachments with generated stubs

2003-04-03 Thread Volkmann, Mark
Title: attachments with generated stubs Thanks! For getting at the data in attachments within the web service, the article says "The simplest approach is to not add attachments to the method signature and just pull it out by hand." It then gives example code for doing that. Can someone

RE: doc/lit question

2003-04-03 Thread Brain, Jim
Anyone have a simple doc/lit WSDL I can have to modify? Bascially, my payload is a tx:TXLife xmlns:tx=TXLife2.7.90.xsd, which has a whole bunch of stuff below it. I will try WSDL2Java Jim Jim Brain, [EMAIL PROTECTED] Researching tomorrow's decisions today. (319) 369-2070 (work) SYSTEMS

RE: doc/lit question

2003-04-03 Thread Herrick, Mike
there is one in the Axis test cases (download the src). Mike -Original Message- From: Brain, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 2:30 PM To: '[EMAIL PROTECTED]' Subject: RE: doc/lit question Anyone have a simple doc/lit WSDL I can have to modify? Bascially, my

Re: replacing DefaultSocketFactory

2003-04-03 Thread Steven Gollery
Tom, Thanks for the pointer: the integration guide turns out to have a lot of useful information for me. I can set the SocketFactory by setting a system property (Example 2 in the integration guide) just fine. But when I try to create a service definition file, like in example 1, I still get

JBoss.net and Axis WSDL2Java Stuff

2003-04-03 Thread Chris Forbis
Has anyone made a document on getting a wsdl produced by JBoss.net (axis) to build into client classes with WSDL2Java from axis when JBoss.net has security setup and added into the wsdl? I ask this because wsdl2java works fine until JBoss.net adds a security layer and then the wsdl2java

Re: replacing DefaultSocketFactory

2003-04-03 Thread Steven Gollery
Tom, I figured it out -- the META-INF directory just needs to be under WEB-INF/classes. This is going to make it possible for us to go forward. Thanks again for your help. Steve Tom Jordahl wrote: This is the kind of thing that you need to use the commons-discovery code to do. You can

Re: Stateful web services.

2003-04-03 Thread Steve Loughran
Tom Jordahl wrote: Clay, This is great. Do you think you could check out the current Axis HTML docs and see if you can put together a patch that would integrate this in to it? Your code could just be new files in the samples directory. what about adding it to the wiki?

Need some information - probably a code snippet for accessing an Axis webservice using an Weblogic client.

2003-04-03 Thread raghuram . velega
Hi, I am trying to access an Axis webservice deployed on weblogic appserver from an weblogic client. The service has some user defined datatypes , does any one have some information or pointers to documents which has code snippets, describing how we could do that. thanks

Re: java.util.List and 1.1.RC2

2003-04-03 Thread Steve Loughran
Keith Hatton wrote: For fromArray(), you mean this? java.util.Arrays.asList(Object[]) -Original Message- If you go return (Foo)list.toArray(new Foo[0]); You can turn a list to an array in a snap. A fromArray() would be nice to match it. you learn something new every day. Thanks

RE: Stateful web services.

2003-04-03 Thread Clay Graham
Absolutely. I am not real familiar with the development process of axis, but I am more than willing to try! What I will try to do is make a nice package based on the existing docs, and then submit it (where?). - Clay Graham President newObjectivity,

Re: Need some information - probably a code snippet for accessing an Axiswebservice using an Weblogic client.

2003-04-03 Thread Aaron . Knauf
Here is the client implementation that we use to call a SOAP RPC service from inside an EJB. Note that we use pure JAXRPC here. The web service is implemented in Axis and runs inside Weblogic 6.1. One further note: The axis client stuff re-uses code from the server implementation. That

Using Axis with MS JVM

2003-04-03 Thread James Heffernan
Hi, I am trying to use axis to build a client application which so far has worked fine. However I have come to a bit of a dilemma. The environment I'm trying to integrate the client app into uses the Microsoft JVM, in fact just to incorporate classes into that environment they must be built

RE: Stateful web services.

2003-04-03 Thread Davanum Srinivas
See directions for patches at http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SubmitPatches --- Clay Graham [EMAIL PROTECTED] wrote: Absolutely. I am not real familiar with the development process of axis, but I am more than willing to try! What I will try to do is make a

RE: Using Axis with MS JVM

2003-04-03 Thread Rick Kellogg
James, The Microsoft JVM only supports JDK 1.1x. Axis requires at least JDK 1.3+. I do not know of any options for that JDK level. Good luck, Rick Kellogg -Original Message- From: James Heffernan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 8:01 PM To: [EMAIL PROTECTED]

.NET and AXIS Interop - Please Help!!

2003-04-03 Thread Joshi, Parag
Hi, I have written a Java client program using axis 1.0 and the program sends SOAP message to my webservice written in Microsoft .NET environment. The .NET Webservice successfully receives the request and returns a response indicating success. I used XMLSpy to check request and response

RE: help required for attachment using ejb as webservice

2003-04-03 Thread Toshiyuki Kimura
Hi Subhendu, (B (B You're incorrect. You can't make it the return type in (Bejb method. Why not ? I can do that. I don't know why (Byou didn't try anyway ? (B (B I believe, you're confusing the meaning of the word; (B'serialize' in the Web Services area with 'serializable' (Bin the

Re: [newbie] cannot read patch

2003-04-03 Thread Joerg Buchberger
Hi. Fine now. Someone has sent me the patch. Thanks. Joerg Buchberger schrieb am 03.04.2003: Hi. There is a patch that allows us to expose Avalon Components via SOAP: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903 Unfortunately, whenever I click on one of the patch/attachment links,