Adding header to fault messages

2002-06-07 Thread Wörner Till
Title: Adding header to fault messages Hi, I need a little help with headers here. If my service generates an AxisFault, can I add a header to the fault message? I have a handler for a session id always send to the server, which attaches this session id to the outgoing messages also. But

Serializer/Deserializer not defined when using handlers

2002-06-05 Thread Wörner Till
Title: Serializer/Deserializer not defined when using handlers Hi, I have folowing problem: If I define client-side handlers with call.setClientHandlers(...) just before the call.invoke(...) statement, AXIS won't deserialize my beans I get back as the result after the first call to the we

AW: Classpath problems

2002-05-24 Thread Wörner Till
For what it's worth --- avoid servlet spec 2.2 > and prior containers like the plague. 2.3 supports > better class loader behavior with webapps. > > Heitzso > > > > On Thu, 2002-05-23 at 14:50, Wörner Till wrote: > > Hi, > > > > I have big problem

Classpath problems

2002-05-23 Thread Wörner Till
Title: Classpath problems Hi, I have big problems with classes I want to access from axis. I am testing with JRun 3.0 but Tomcat was the same...None of the handlers I have written and none of my web service classes can find the classes sitting under the WEB-INF directory where my web servi

AW: SOAPHeaderElement.getValue()

2002-05-03 Thread Wörner Till
I had this question long time ago, I cannot remember the complete answer, but you should use String foo = (String)xxx.getObjectValue() Hope this helps... Till > -Ursprüngliche Nachricht- > Von: Andrew Vardeman [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 3. Mai 2002 19:16 > An: [E

AW: Header definition in wsdl

2002-05-03 Thread Wörner Till
ve you put your header as a part element to the > message element of > your operation (together with the parameters). That´s wrong. > > -Ursprüngliche Nachricht- > Von: Wörner Till [mailto:[EMAIL PROTECTED]] > Gesendet am: Freitag, 3. Mai 2002 12:27 > An: [EMAIL PROTECTED

AW: Header definition in wsdl

2002-05-03 Thread Wörner Till
wsdl > > > Hi, > > no, the error isn´t ok. My WSDL contains a header definition > and WSDL2Java > runs without an error. It just ignores the definition. > > So, there have to be some other problems in your WSDL. > > -Ursprüngliche Nachricht- > Von: W

AW: Header definition in wsdl

2002-05-03 Thread Wörner Till
Thanks, but if I have a header definition in my wsdl, schouldn't the WSDL2Java tool just ignore it, or is it ok that I get an error message when I try to create the stubs? Greetings, Till > -Ursprüngliche Nachricht- > Von: Kolodziej, Erik [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag,

AW: WSDL and XML Spy

2002-04-16 Thread Wörner Till
sdl, > from the Axis server I deployed on a Sun workstation and > tried it with Spy > 4.2 > > C.C. Liu > > > > -Original Message- > From: Wörner Till [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 16, 2002 8:40 AM > To: [EMAIL PROTECTED] >

AW: WSDL and XML Spy

2002-04-16 Thread Wörner Till
Hi, I totally agree with you that the xml Java2WSDL spits out is absolutely legal. I just wanted to make my life a bit easier, cause I like to test my Web Services with XML Spy sometimes. And I also think that this is a XML Spy problem, but as the element prefixes are unnecessary (not the attri

AW: Attachment contents access

2002-04-08 Thread Wörner Till
"); > > attachments.addAttachmentPart(ap); > }catch(org.apache.axis.AxisFault ex){ > throw new RuntimeException(ex.getMessage()); > } > > Regards. > > Ramón. > > > -Original Message- > > From: Wörner Till [mailto:[EMAI

Attachment contents access

2002-04-08 Thread Wörner Till
Hello! Does anyone have an example of how to access the contents on an attachment if I have following line of code in my client: - org.apache.axis.Message msg = call.getMessageContext().getResponseMessage(); - How to access the attachment content of message msg??? Thanks, Till -- T

Attachment error on client

2002-03-27 Thread Wörner Till
Hi, first I want to thank all the guys that helped me with my attachment problem. With the examples from the wstk and a bit of try and error I can get a message with an attached JPEG file from the server to client. When I write out the message to System.out on the server, it looks as it should

AW: RPC + Attachments

2002-03-26 Thread Wörner Till
attachments in both RPC and Messaging styles. You have > such example in the Web Services Toolkit (WSTK) which you can > download from IBM (they use Axis by the way). > > Ramón. > > > -Original Message- > > From: Wörner Till [mailto:[EMAIL PROTECTED]] > >

RPC + Attachments

2002-03-26 Thread Wörner Till
Hello everybody! Can anyone tell me if it is possible to use Axis RPC style messaging with attachments? I want to write a handler that attaches a file to a message, just before it is send back to the client, but all I have there is an object of type Message and I don't know how to handle attach

Header and WSDL2Java

2002-03-21 Thread Wörner Till
Hi, can WSDL2Java handle headers defined in a wsdl document and can someone supply my with an example of an wsdl file containing header definitions? Thanks in advance, Till Woerner -- T-Systems GEI GmbH Hausanschrift: Eichhornstraße 3, D-10785 Berlin Postanschrift: D-10875 Berlin Telefon: +4

AW: Individual wsdl-doc

2002-03-21 Thread Wörner Till
erates. We > > have talked about an attribute you could set in the > > server-config.wsdd that would point Axis to a static WSDL > > document and prevent to auto-generation. This would probably > > be very useful. > > > > -- > > Tom Jordahl > > Macro

Individual wsdl-doc

2002-03-20 Thread Wörner Till
Hi everybody! Me again ;-) As my last problem got solved by myself, here is a simple question (hopefully) I would like to present a wsdl-document with a few modifications to a user when he/she calls the servlet with ...?wsdl (Some header additions and so on). How do I do that? Can I place my own