RE: DII and user defined classes

2004-01-09 Thread Wagh, Shrikant
Sesha, If you are working with axis then this is easier way. call.addParameter( "arg1", XMLType.XSD_ANYTYPE, ParameterMode.IN); call.setReturnType( org.apache.axis.encoding.XMLType.XSD_ANYTYPE ); OR call.addParameter("arg1", org.apache.axis.Constants.XSD_ANYTYPE, javax.xml.rpc.ParameterMode.IN)

Re: question regarding WSDL and WS-Security

2004-01-09 Thread Ricky Ho
Here is what I'm thinking ... WSDL Binding have some extensibility that you can declare which part to encrypt. But I probably will go with another route, describe as follows ... There is a WSDL and WS-Policy, which part to be encrypted will be described in the WS-Policy. The communication pat

Re: question regarding WSDL and WS-Security

2004-01-09 Thread Shantanu Sen
Suppose I have a method that I want to expose as a web-service. I can generate a WSDL that describes the service end-point, format etc. Supppose I expect that one or more parameters of this method will be encrypted , and my service will also return an encrypted string which I expect the client to d

Re: question regarding WSDL and WS-Security

2004-01-09 Thread Ricky Ho
There is a nice separation between application processing and infrastructure processing. WSDL describes the former and WS-Policy describe the later. If you are writing application code, you shouldn't care about WS-Policy (and WS-Security), you only care about WSDL. The underlying infrastructu

question regarding WSDL and WS-Security

2004-01-09 Thread Shantanu Sen
Please point me to the correct forum if you know where I should post this question. As far as I know, currently there is no extension in WSDL for WS-Security. In other words, looking at a WSDL there is no way to figure out if the service expects security information as specified in WS-Security i

RE: DII and user defined classes

2004-01-09 Thread Wagh, Shrikant
Hi Shesha, You can use xsd:anyType, which will allow you to work with any arbitrary user defined objects. Or If you want to use the specific user defined types then here is one of the sample. call.addParameter(new javax.xml.namespace.QName("", "in0"), new javax.xml.namespace.QName("http

Re: DII and user defined classes

2004-01-09 Thread Sesha Nandyal
Thank you Shrikant for the reply. Currently there is a webservice that returns an array of user defined objects. So without modifying the webservice, is there a way to define the return type for this user defined class. For example, if the service was returning a String - we would have the QNam

Which SOAP Engines support DIME type of attachments...

2004-01-09 Thread Wagh, Shrikant
Hi Axis Users and Developers,   I’m gathering information about DIME types of attachment support by various SOAP engines. Please do share the info, if you happen to know that particular SOAP Engine supports DIME types or otherwise. Any details about DIME support by any particular SOAP eng

RE: DII and user defined classes

2004-01-09 Thread Wagh, Shrikant
Hello Sesha, Here's one simple sample for the operation which takes a collection of objects and returns the collection of objects. Instead of vector you can use any collection type or just Object[]. There are so many different/alternative and efficient ways you can pass the array/collection of obj

Deploying provider

2004-01-09 Thread Pravir Ramtekkar
Hi , I wanted to know how do we configure CORBAProvider. the same way we deploy cusotm providers? I wrote custom provider similar to CORBAPRovider which overwrites makeNewServiceObject() method and returns the narrowed object reference to the remote CORBA object. But doesn't list any of the me

Using getProperty(MessageContext.TRANS_URL) does not seem to get the URL encoded parameters in the URI.

2004-01-09 Thread Christopher Bedford
Title: Using getProperty(MessageContext.TRANS_URL) does not seem to get the URL encoded parameters in the URI. Hello… I found what I think is a bug. when I deploy my  axis service,  axis cooks up a wsdl definition that gives me the access point addresss for the HTTP protocol, as follows -

1.2alpha Duplicate entries in soap body

2004-01-09 Thread Thomas Bolioli
I am getting two elements of my soap function instead of one. See the example below. Does anybody know why in Axis 1.1 and 1.2 alpha this would be happening? Thanks in advance, Tom http://schemas.xmlsoap.org/soap/encoding/";> Stuff /* * arClientSOAP.java * * Created on November 17, 200

Re: DII and user defined classes

2004-01-09 Thread Sesha Nandyal
Hello All, Please find as an attachment the wsdl file. As you would see, I return an array of UserDataHandler objects (which encapsulate a DataHandler object). I would appreciate if you could guide me in writing a client code using DII. Thanks Sesha Sesha Shayan Nandyal wrote: Hi Shrikant,

RE: Building custom faults...

2004-01-09 Thread Ransel Lopez
Title: Message Ajay,   That's exactly the problem I don't want to subclassing my exceptions from AxisFault. Someone knows how do this with handlers or serializers??? I need help with this...   Thank you Ransel Ransel López, Web Services Developer Time Industrial, Inc. An Outsourced Contracto

Unable to create JavaBean....

2004-01-09 Thread "FERREIRA, Rogério Filipe Pinho"
I saw some messages in the list from people having this problem.   I understand the explanation of the problem. But there's ano thing I don't understand.   Having the same class in the TomCat CLASSPATH and the axis serializer configured in file server-config,  Axis serialize the object to

HPUX

2004-01-09 Thread Mario Dörr
Hi all! Has somebody compiled the AXIS 1.0 (C++) program successfull under HPUX 11.0? I have some problems with the linking step: "collect2: ld terminated with signal 11 [Segmentation fault], core dumped". Has anybody an idea, to solve this problem? Thank you in advance! Greetings Mario

Doc/lit support in Axis C++ : need doc/lit style wsdls.

2004-01-09 Thread Susantha Kumara
Hi all, We are in the process of supporting document/literal style web services and clients. Initial work to the code generation tool WSDL2Ws is done and need several different doc/lit style wsdls to test the code generation corretly. If you have any please send them to us. We appreciate your help

Re: method signature errors with 1.2alpha

2004-01-09 Thread Davanum Srinivas
matt, can you please create a bugzilla bug with some sample code that we can use to test? (http://ws.apache.org/axis/bugs.html) thanks, dims --- __matthewHawthorne <[EMAIL PROTECTED]> wrote: > I recently upgraded from 1.1 to 1.2alpha and am now unable to invoke my > web services. Both of these

method signature errors with 1.2alpha

2004-01-09 Thread __matthewHawthorne
I recently upgraded from 1.1 to 1.2alpha and am now unable to invoke my web services. Both of these methods worked with 1.1. 1) Service.findAll() Call.invoke(null) produces: Tried to invoke method public abstract java.util.Collection Service.findAll() throws java.rmi.RemoteException with argum

Re: Building custom faults...

2004-01-09 Thread Steffen Mayer
Hi, i have made some bad experience with subclassing of AxisFault. Especially in using the generator for code at serverside... This code create a serializing-mechanism, which is interoperabel with .NET and maybe with other client-libs Greetings Steffen Am Fri, 9 Jan 2004 04:40:40 + Ajay G

Change character encoding

2004-01-09 Thread Francisco Javier Téllez Vaquero
How I can change the character encoding from 'utf-8' to 'iso-8859-1' in the calls generated from axis?. If someone can give me any idea I would be very very grateful. Best Regards, Fran.

RE: Change character encoding

2004-01-09 Thread Enrique Rodríguez
There were various clases and i dont remember they. It was not very dificult Sorry. -Mensaje original- De: Francisco Javier Téllez Vaquero [mailto:[EMAIL PROTECTED] Enviado el: viernes, 09 de enero de 2004 12:50 Para: [EMAIL PROTECTED] Asunto: Re: Change character encoding Ok, but

ANNOUNCE:Release of Apache Axis C++ v1.0 Final

2004-01-09 Thread Susantha Kumara
We are proud to announce the release of Apache Axis C++ v1.0. This implementation of a C++ SOAP engine provides a stable platform for developing Web services in C and C++. This engine can be used to develop client applications as well. This release includes the following features: - SOAP engi

Re: Change character encoding

2004-01-09 Thread Francisco Javier Téllez Vaquero
Ok, but can you tell me what classes you modified?? Thanks. =?us-ascii?Q?Enrique_Rodriguez?= escribió: > Helo Francisco, > > I make this changing the source code of axis but them i read that all > the web service should be in utf-8 so i'm not very sure if this was a > good idea. > > The reality

RE: Change character encoding

2004-01-09 Thread Enrique Rodriguez
Helo Francisco, I make this changing the source code of axis but them i read that all the web service should be in utf-8 so i'm not very sure if this was a good idea. The reality is that axis encode its messages and a loto f web service don't decode it. I supose that the problems is in the "oth

Re: WSDL best practices?

2004-01-09 Thread Tom Oinn
Hi Keith, I'd suggest that you document everything, whether used by current tools or not. The project I'm involved with is based on consuming web services and other resources and compositing them into workflows, any additional information we can gather from the WSDL to guide the users through t

WSDL best practices?

2004-01-09 Thread Keith Hatton
Hi all, I'm looking for any experiences and thoughts about best use of the tag in WSDL. In particular, I've noticed that if I use it in the section of my WSDL, the text is copied as a comment into the interface Java source code, which is nice (though it would be even better if the comment wa

Change character encoding

2004-01-09 Thread Francisco Javier Téllez Vaquero
How I can change the character encoding from 'utf-8' to 'iso-8859-1' in the calls generated from axis?. If someone can give me any idea I would be very very grateful. Best Regards, Fran.