deployment form for wrapped doc/lit operation

2004-10-13 Thread Jeff Greif
I recently converted an rpc/encoded operation to doc/lit and was able to reuse the old implementation (more or less) by deploying the operation as "wrapped". This was using Axis 1.1 in Tomcat 4.1.30. Now, having upgraded to Axis 1.2RC1, the service deploys in Tomcat, apparently successfully, but

SSL Client Auth with Tomcat and Axis

2004-10-13 Thread Jim Wong
On a somewhat related note, I'm just getting started on trying to build an application using Axis, Tomcat and SSL. I would like to use client authentication, but I haven't been able to find documentation that explains how (assuming it's possible) one could access information from the client's cert

Re: Performance of 1.2 vs 1.1

2004-10-13 Thread Davanum Srinivas
Please log a jira bug witjh your test case and performance numbers. thanks, dims On Wed, 13 Oct 2004 13:16:01 -0700, Dan Ciarniello <[EMAIL PROTECTED]> wrote: > I've taken a very simple web service and deployed it using Axis 1.1 and > Axis 1.2 (RC1) on Tomcat 4.1.30 on a Linux machine (Fedora Co

Losing Null Values When Making RPC Call

2004-10-13 Thread Pat Young
All, I am invoking an RPC call to the org.apache.axis.client.Call class by calling the invoke(Object[]) method. The call is executing a SQL query that returns columns of data back to my client in the form of a SOAPResultSet. The problem I am having is that null columns are being left out of the

Performance of 1.2 vs 1.1

2004-10-13 Thread Dan Ciarniello
I've taken a very simple web service and deployed it using Axis 1.1 and Axis 1.2 (RC1) on Tomcat 4.1.30 on a Linux machine (Fedora Core 1) and done some rough performance tests. My tests show that Axis 1.2 takes at least twice as long to process requests as Axis 1.1. This is of great concern.

RE: mod_axis2.dll loading problem

2004-10-13 Thread Anton Zotov
Title: Message Through what? http://ws.apache.org/mail.html allows to subscribe for [EMAIL PROTECTED] only, not [EMAIL PROTECTED] .   Tnanks, A.   -Original Message-From: sanjaya singharage [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:28 AMTo: [EMAIL PROTEC

Re: IncompatibleClassChangeError in Axis-1.2-RC1

2004-10-13 Thread Jeff Greif
I just spent yesterday struggling with this. I believe it is caused by needing a new version of saaj.jar (the one that comes with Axis-1.2RC1) (and maybe the xerces jars also.) Jeff - Original Message - From: "Arijit Mukherjee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesda

IncompatibleClassChangeError in Axis-1.2-RC1

2004-10-13 Thread Arijit Mukherjee
Hi I am working on a document oriented Web Service which was originally developed with Axis-1.2-beta2, and still works with that. Recently, I tried to use the new Axis-1.2-RC1, and I am getting a problem while trying to use the service. The service gets deployed under tomcat 5.0.28, and the wsdl c

Re: Object lists in axis

2004-10-13 Thread Anand Natrajan
Suzy, It's possible, legitimate and reasonable to return arrays of complex objects using SOAP. In other words, your Java objects should have fields that are simple types, e.g., String, int, boolean, etc. Your method should return an array of this type of object (not ArrayList). Doing so will make

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Suzy,   Might want to check this out, it should offer all the answers.   http://www.javaworld.com/javaworld/jw-04-2003/jw-0411-axis.html   Chris -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:23To: [EMAIL PROTECTED]Subjec

Re: WSDL2Java and Basic Profile

2004-10-13 Thread Dan Ciarniello
Anne, Thanks for the info. I had to make a few minor changes to what you sent (I've attached a corrected version below) but that gave me enough to work with. Except for one problem... WSDL2Java produces both client and server code without apparent problem but when I invoke the service I get a

Query Strings?

2004-10-13 Thread Greg Hess
Hi All,   For testing I would like to invoke a service method using the query string support with the AxisServlet. I have tested a couple simple method invocations successfully but it seems when I test methods that have more that one argument things get a little funny.   For example, t

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Title: Message Great! So if the client is in .NET do I just write my bean as normal extending serializable and deploy it as a WSDD or jws??   Thanks for your help!   -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:17 To: '[EMAIL PRO

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Thanks for your help! How would I reference this to a java class or would I have to write the soap manually?   -Original Message- From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:07 To: '[EMAIL PROTECTED]' Subject: RE: Object lists in

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Was or wasn't? If would work whatever if you generated your client from the WSDL which you intern generated from your service class. We return tree structures and all manner of stuff from java to dotnet as long as classes are beans and are correctly described in WSDL. Can't sp

how to use message-style services in Axis

2004-10-13 Thread Thomas Forrester
Does anyone out there use the message style services? I am having real problems just trying to get a simple solution working with nested elements. The TestMsg.java example works OK to send individual elements (without children). I can not find any references on how to use implement the Document me

Migration from Apache SOAP to Axis

2004-10-13 Thread Shukla, Minaxi
(Sending the message again without attachment.) I want to migrate our web services deployed on Apache SOAP 2.2 to Axis 1.1 without having to update the client developed with Apache SOAP. It works fine with good scenarios where the service returns a successful respose. But, when service throws a

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Title: Message Would this still work if the client of the service was a java one?     -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:02 To: '[EMAIL PROTECTED]' Subject: RE: Object lists in axis   Use an array of java beans, bean

RE: Object lists in axis

2004-10-13 Thread Pridemore, Russell (MAN-Corporate)
I return lists of objects like this:                           />     />                                 Hope this helps, Russ -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED]Sent: Wednesday, October 13

Migrating from Apache SOAP to Axis

2004-10-13 Thread Shukla, Minaxi
Hi, I want to migrate our web services deployed on Apache SOAP 2.2 to Axis 1.1 without having to update the client developed with Apache SOAP. It works fine with good scenarios where the service returns a successful respose. But, when service throws a business exception, the client gets ClassCa

Re: Object lists in axis

2004-10-13 Thread Praveen Peddi
I think the best way to do it is convert your ArrayList of java objects into an xml document and return. If your xml document is too big, you could stream it as outputstream, so you don't have to load all the data into memory. Having multiple methods, one for each field of information, does

RE: Object lists in axis

2004-10-13 Thread THOMAS, JAI [AG-Contractor/1000]
Suzy, You can define a custom serialization for your Person object and return array of Person objects. Or write Person as a pure java bean and use BeanSerialization. You can find lots of discussion on serialization in this forum.   Having seperate service for each method would be a week an

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Use an array of java beans, beans are serializable without any trouble using BeanSerializer.   Create a bean called Person which contains getters/setters for each property plus a default empty constructor.   http://ws.apache.org/axis/java/apiDocs/org/apache/axis/encoding/ser/Be

Object lists in axis

2004-10-13 Thread Suzy Fynes
Hey,   Have a question, I have an object containing loads of information on a person e.g name, phone number, address etc I want to send someone a list of these people using axis. I store the list in an ArrayList containing objects of each person. Seen as ArrayLists are just for java its n

HashMap problem

2004-10-13 Thread Dalibor Dostál
Hello all, I need help with following problem: when invoking remote axis web service with Hashmap argument, from time to time it doesn´t succeed on remote side with this message java.lang.IllegalArgumentException: object is not an instance of declaring class 20041013 15:07:23 [S]VFRA: Tried to

RE: [*** Mogelijke SPAM ***] - RE: newbie: namespace error - Enco ded IP

2004-10-13 Thread Anne Thomas Manes
Because your schema specifies elementFormDefault="qualified", then all local elements (including 2 and manager must be qualified with the "urn:tempura-org:RISC" namespace. Child elements do not "inherit" the parent's namespace unless the parent defines a default namespace (a namespace declaration w

RE: Local Service Call

2004-10-13 Thread Lovell, Jim M
Title: Message I am interested in this same thing. Can you let me know if you find a solution? -Original Message-From: Stevenson, Chris [mailto:[EMAIL PROTECTED]Sent: Wednesday, October 13, 2004 9:23 AMTo: '[EMAIL PROTECTED]'Subject: Local Service Call Hello All,  

Local Service Call

2004-10-13 Thread Stevenson, Chris
Title: Message Hello All,   Does anyone know if/how I can call a local service from within a service inside of the same AXIS instance? Also is the container smart enough to know that if I'm calling a web service from within another webservice on the same box it will use the existing deploye

FYI: I sent a note to WS-I regarding the bug in the 1.1 profile

2004-10-13 Thread Anne Thomas Manes
-Original Message- From: Christopher B Ferris [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:57 PM To: Anne Thomas Manes Subject: Re: FW: Error in the Basic Profile Thanks Anne! I've forwarded to the bpwg list and we'll add it to the errata. Cheers, Christopher Ferris

Re: using axis from IP address as opposed to domain name

2004-10-13 Thread Anand Natrajan
Agreed re: port number change, but re: IP change, there's no real difference which one you use. If that address is on the public internet, then anyone can nslookup the IP address and get the machine name. If it's on an intranet, then knowing the machine name gives you little advantage. Security thr

Re: using axis from IP address as opposed to domain name

2004-10-13 Thread Paul Callahan
a good rule of thumb might be to change that port num. i.e.--7001 is default for weblogic and 8080 for tomcat... never hurts to conceal any details that you dont have to give out... -pc On Wed, 13 Oct 2004 10:25:50 +0100, Suzy Fynes <[EMAIL PROTECTED]> wrote: > > > > > > > > Hey, > >

RE: WSDD configuration problems

2004-10-13 Thread Anne Thomas Manes
One problem with your WSDL is that two of the elements in your Con type reference a type (impl:ArrayOf_soapenc_string) that hasn't been defined: As a result, any operation that exchanges the Con type or the ArrayOfCon type won't work. You need to add a type definition for this type. (or add a

Re: mod_axis2.dll loading problem

2004-10-13 Thread sanjaya singharage
Title: Message could you please send this query to the axis-c user list at [EMAIL PROTECTED]?   sanjaya. - Original Message - From: Anton Zotov To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:42 AM Subject: mod_axis2.dll loading

RE: WSDL2Java and Basic Profile

2004-10-13 Thread Anne Thomas Manes
Interesting. I think you found a bug in the WS-I Basic Profile. According to the WSDL 1.1 specification [1] and the latest version of the WSDL 1.1 XML Schema [2], the definitions/binding/operation/input element does not include the @message attribute. Therefore the sample in the WS-I Basic Profile

using axis from IP address as opposed to domain name

2004-10-13 Thread Suzy Fynes
    Hey,   Can anyone tell me if there is any security risk with using axis directly from an ip address as opposed to having it accessed through a domain name, ie having it accessed from http://25.123.156.100:8080/axis as opposed to http://www.mydomainname.com/axis   Thanks Suzy

RE: newbie: namespace error

2004-10-13 Thread Kransen, J.
Thank you all for your help. In the end it turned out that I was very close from the beginning, but I should have added this namespace definition to the envelope: envelope.addNamespaceDeclaration("xsd", "http://www.w3.org/2001/XMLSchema";); I made some other minor modifications, but I do think th