AW: Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Martin Heitz
Thanks Micheal! That was what I was searching for. Best regards from rainy Black Forrest, Germany, Mattin -Ursprüngliche Nachricht- Von: Michael Schuerig [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. Oktober 2004 16:44 An: [EMAIL PROTECTED] Betreff: Re: Using Axis to store SOAP mess

AXIS-1424 ServiceAdmin

2004-10-25 Thread Mark Chaimungkalanont
Hi all, Does anyone know what became of the files Brian Dillon submitted for this issue (http://nagoya.apache.org/jira/browse/AXIS-1424)? Were they meant to have been integrated with axis 1.2 RC1? I've searched for it through the source dist. and couldn't find anything. It's strange since it do

Re: Deserialization

2004-10-25 Thread Kirubakaran . Pakkirisamy
Michael, Create a WSDL type with the structure you want. Run wsdl2java on this.  Use this java class on the client side. On the server side, use a different class, use your serializer  and the Bean Deserializer  for this. Now you should be able to return your data to the client, which will be able

request/response validation w/message style

2004-10-25 Thread Gary Albelli
Is it possible to use a schema to validate the request and response bodies when using message style web services without having to specify a complete wsdl file?

Exception while deserializing abstract JavaBean

2004-10-25 Thread Kyle Cronin
I get the following error when when receiving a SOAP response. The method returns an array of ActionDescriptor's (ActionDescriptor[]). ActionDescriptor extends AbstractDescriptor, and as the name suggests AbstractDescriptor is an abstract class. When the method service.getAllActionDescriptors()

Re: Axis GUIs?

2004-10-25 Thread Mike Barton
Peter, I saw the WSABI tool [http://sourceforge.net/projects/wsabi4axis] announced on this list recently but it seemed a very early release - often I just got "This feature is not yet implemented". Are there any other tools similar to this one specifically for Axis? As far as I know, WSABI

RE: How do I safely evolve data structures?

2004-10-25 Thread James CE Johnson
> A lot of it depends on the semantics of the interface. How relevant is > this removed attribute to the existing client applications? Can you > generate a default value for the attribute for these existing clients > and still have it work? Yes, this is exactly the case. The particular attribute i

Empty namespace

2004-10-25 Thread Renato Eschini
I have an empty namespace in a wsdl, so I map in wsdl2java in build.xml this: my classes are generate correctly, but when I deploy I have this error: [axis-admin] BUILD FAILED: file:C:/eclipse/workspace/MetaMag-NTC-IO/build.xml:41: axis-admin failed with {http://schemas.xmlsoap.org/soap/envelo

Re: WSDL2Java does not generate custom exception

2004-10-25 Thread smcardle
OK First define your exception as a complex type as follows: Next define the message as follows: N.B. The part name attribute is "fault" Next define the operation in the portType section of your WSDL as follows: Lastly in the bin

WSDL2Java does not generate custom exception

2004-10-25 Thread Los Morales
Hi, I have a question on how Axis 1.1 generates a user-defined fault through the WSDL2Java tool. I have defined a schema for an exception I want to return whenever something wrong happens during Web Service processing. In my custom WSDL, I specified this exception in the message, portType and

RE: How do I safely evolve data structures?

2004-10-25 Thread Anne Thomas Manes
A lot of it depends on the semantics of the interface. How relevant is this removed attribute to the existing client applications? Can you generate a default value for the attribute for these existing clients and still have it work? One of the easiest ways to make this work is to intercept incomin

RE: How do I safely evolve data structures?

2004-10-25 Thread Anne Thomas Manes
A lot of it depends on the semantics of the interface. How relevant is this removed attribute to the existing client applications? Can you generate a default value for the attribute for these existing clients and still have it work? One of the easiest ways to make this work is to intercept incomin

Re: Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Michael Schuerig
On Monday 25 October 2004 16:25, Martin Heitz wrote: > The serializers and deserializers for those > objects are already written and in use for web services, so I have > the hope that there are just some methods which I may call to get the > SOAP-String-representation of the objects and to be able

AW: Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Martin Heitz
Hi, thanks for the answer, I'll try to clarify my needs ;-) You are right, the objects need to be serialized, but they need to be stored in a way that is also readable for humans (so that database queries can be executed on them). Because SOAP is a nice standard to convert "binary objects" into

AW: AW: AxisHttpSession update

2004-10-25 Thread Dorner, Thomas
Hi dims, Thank you for the link. Have managed this upload with jira --> nice thing :) Thomas -Ursprüngliche Nachricht- Von: Davanum Srinivas [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. Oktober 2004 13:45 An: [EMAIL PROTECTED] Betreff: Re: AW: AxisHttpSession update Don't worry abou

Re: Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Chandrasegaram Jeyakumaran
Hi, I don't really understand the question. But wonder if u want serialize the object to store in persistence make those objects serializable. Why do you need to convert them in to SOAP Messages? Any way FYI refer BeanDeserializerFactory and BeanserializerFactory. It will give you some sort of ide

Re: How do I safely evolve data structures?

2004-10-25 Thread Luca Manganelli
Mahen Perera wrote: Hi James, U can adopt ur own WS- versioning policy to overcome the effect of changing the Web service on the client. Which WS-Versioning policy are you referring?

Re: How do I safely evolve data structures?

2004-10-25 Thread Mahen Perera
Hi James, U can adopt ur own WS- versioning policy to overcome the effect of changing the Web service on the client. However, here the client will have to go thru UDDI to find the appropriate Web service version to interact with. When u do some changes to the Web service , which will affect the

Re: How do I safely evolve data structures?

2004-10-25 Thread smcardle
Its a bad idea because your client contract with your service is defined by the wsdl. Regards Quoting James CE Johnson <[EMAIL PROTECTED]>: > Lets say I have defined a Customer data object, done the java2wsdl2java > dance and now I'm using the generated Customer object in my Axis client > and s

How do I safely evolve data structures?

2004-10-25 Thread James CE Johnson
Lets say I have defined a Customer data object, done the java2wsdl2java dance and now I'm using the generated Customer object in my Axis client and server. Time passes and I need to remove an attribute from Customer... If I remove the attribute and redeploy my Axis server calls from an older clien

Re: AW: AxisHttpSession update

2004-10-25 Thread Davanum Srinivas
Don't worry about the cvs diff. just upload the whole file after u create the bug request. http://issues.apache.org/jira/ -- dims On Mon, 25 Oct 2004 12:51:30 +0200, Dorner, Thomas <[EMAIL PROTECTED]> wrote: > Hi dims, > > I am sorry, cant do that - dont know how to do it!? > Do not use ant bef

Bugs in AXIS 1.2RC1 (as in beta3)?

2004-10-25 Thread Luca Manganelli
Hi, I have the following wsdl (in attach) that I cannot modify. If I do WSDL2Java, there are two strange things: * the service name in "deploy.wsdd" is mistaken. It is named as clientServicePort and NOT clientService (as in of the WSDL) * as you can see, in same file there's a (?) wrong

AW: AxisHttpSession update

2004-10-25 Thread Dorner, Thomas
Hi dims, I am sorry, cant do that - dont know how to do it!? Do not use ant before ... No time at the moment to make research :( Maybe I can look on it later !? Sorry Thomas -Ursprüngliche Nachricht- Von: Davanum Srinivas [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. Oktober 2004 12

Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Martin Heitz
Hi, I would like to serialize some Objects into SOAP Messages to store them in persistence layer. Is this possible to use Axis for that? Where should I start? Best regards, Mattin P.S. The Serializers / Deserializers already exist for a web service. P.P.S. Accidentally posted this already to

Re: AxisHttpSession update

2004-10-25 Thread Davanum Srinivas
Thomas, Can you please open a JIRA enchancement request and upload a "cvs diff -u" against latest cvs? thanks, dims On Mon, 25 Oct 2004 12:11:40 +0200, Dorner, Thomas <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > I have extended the AxisHttpSession class form Glen Daniels, ca

AxisHttpSession update

2004-10-25 Thread Dorner, Thomas
Hello all,   I have extended the AxisHttpSession class form Glen Daniels, cause the Method touch is missing some logic. Now it is possible to touch the session, and the new timeout of the session (HttpSession) will move foreward. Therefore I have also changed the constructors of the cl

Re: How does WSDL2Java know the filename for the bindings?

2004-10-25 Thread Luca Manganelli
Dan Ciarniello wrote: According to the WSDL2Java reference in the documentation, you can use the -c argument to tell WSDL2Java what the implementation class is called. Yes, but it doesn't work for one WSDL with two services. They need TWO implementation classes. I want to know the Axis method to