Re: long vs. Long

2004-12-01 Thread WAJSBERG Julien RD-BIZZ
Simon Fell a écrit : -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tim K. (Gmane) Sent: Monday, November 29, 2004 7:20 PM To: [EMAIL PROTECTED] Subject: Re: long vs. Long If anyone else has an example on how to get the Long stuff to work end-to-end and to

Re: desperate newbie-- trouble with image attachment

2004-12-01 Thread WAJSBERG Julien RD-BIZZ
Vy Ho a écrit : Looking at the reference for Java2Wsdl, there's this line: -y, --styleThe style of binding in the WSDL, either DOCUMENT, RPC, or WRAPPED. That means you can pass in DOCUMENT as the style when generating the wsdl to say that you want DOCUMENT style messaging. Be

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
Well, Axis stores cookies in the message context, so I guess you could simply put your cookies there and they will be picked up for transmission to the server. Axis uses two cookies, Cookie and Cookie2. The first contains the session ID (e.g. JSESSIONID=206048F23B7AB387C5B2801622EF2C1C). I'm not

Re: WSDL definitions targetNamespace vs. schema(s) targetNamespace

2004-12-01 Thread tony . q . weddle
Brian, Thanks for sharing the solution. And for working it out yourself in the first place! Tony Brian J. Sayatovic [EMAIL PROTECTED] wrote on 01/12/2004 02:45:45: I finally figured out how to set the targetNamespace of the wsdl: definitions. The WSDD services have parameters, one of which

Axis SimpleDeserializer error...help

2004-12-01 Thread Kibaya E.
Hi,I have deployed a webservice but when running the client i get the following errorcan anybody familair with this help me out.. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: SimpleDeserializer

Connection Timeout

2004-12-01 Thread Mohammad Irfan
Hello, my name is Mohammad Irfan. How can I make axis connection timout longer. Because when my program still running, axis has closed it's connection to the w-s client before the programs returns i'ts result. TIA

RE: Connection Timeout

2004-12-01 Thread Bernolet, Luc [PRDBE Extern]
Hi, I had a similar problem. The following helped for me: ... Service service = new Service(); Call call = (Call) service.createCall(); String endpoint = ...; call.setTargetEndpointAddress(new URL(endpoint)); try { call.setTimeout(new Integer(360));

compressing requests

2004-12-01 Thread Nige White
Is it possible to compress the SOAP requests from Axis? In Apache Soap, you just use Call.getSOAPContext().setGzip(true); Would I have to interfere with something at a lower level to implement compression? Nigel _ This message

Re: compressing requests

2004-12-01 Thread Yves Langisch
Nigel, check: http://www.osmoticweb.com/axis-soap-compression.htm http://www.osmoticweb.com/soap-compression-howto.htm Yves Nige White wrote: Is it possible to compress the SOAP requests from Axis? In Apache Soap, you just use Call.getSOAPContext().setGzip(true); Would I have to interfere with

RE: desperate newbie-- trouble with image attachment

2004-12-01 Thread Eyad Garelnabi
Thanx for the heads up. After reading up on the difference between the two, it became apparent to me that I'm interested in MESSAGE style. How does this change the way I would send the attachments? Thanx a million -Original Message- From: WAJSBERG Julien RD-BIZZ [mailto:[EMAIL

How to disable axis debugger

2004-12-01 Thread Eyad Garelnabi
Hi, How do I disable the axis debugger on the server to prevent it from writing out whatever it does to the screen/console ? (I've looked all over the documentation for that and may have missed it if it's there). My main problem is that it tries to write even the binary data it recieves. Thanx

Re: DIME attachments

2004-12-01 Thread Vy Ho
Why don't you get an example (like the attachment example, or numerous examples in this forum) and get it to work with DIME. Next, modify the client to work with your service. Another suggestion is to build an Axis server for your existing client. Then run, and use TCPMonitor to see what is

RE: How to disable axis debugger

2004-12-01 Thread Sheptunov, Bogdan
Axis uses log4j for logging. In your log4j configuration file, set level to higher than DEBUG for org.apache.axis classes. Here's how I do it in my log4j.xml (syntax will be different if you are using a plain text version of your config): logger name=org.apache.axis additivity=false

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread John Walker
Is it possible to get and set cookies on the HTTP transport from the *client* side of Axis? I tried using the MessageContext to get the HttpRequest object, and then set cookies there, but it seemed that when doing this from the AXIS client side, when the HTTP message got to the receiver, my

Re: How to disable axis debugger

2004-12-01 Thread karim
Eyad Garelnabi wrote: Hi, How do I disable the axis debugger on the server to prevent it from writing out whatever it does to the screen/console ? (I've looked all over the documentation for that and may have missed it if it's there). My main problem is that it tries to write even the binary data

RE: How to disable axis debugger

2004-12-01 Thread Eyad Garelnabi
Thanx Bogdan, That solved the problem -Original Message- From: Sheptunov, Bogdan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:24 AM To: [EMAIL PROTECTED] Subject: RE: How to disable axis debugger Axis uses log4j for logging. In your log4j configuration file, set

RE: desperate newbie-- trouble with image attachment

2004-12-01 Thread Eyad Garelnabi
Thanx Vy for your input, Following up on what you mentioned about beeping occuring due to the server writing binary to screen, I disabled the console debugging and now the attachments go through fine. Thanx -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
John, I'm not sure what you were getting back from the MessageContext but there is no HttpRequest available from the Axis client. HttpRequests only exist on the server. Of course, your client may be embedded in a server side object but the HttpRequest for that would not be the one associated

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread Tim K. (Gmane)
John Walker wrote: Is it possible to get and set cookies on the HTTP transport from the *client* side of Axis? I tried using the MessageContext to get the HttpRequest object, and then set cookies there, but it seemed that when doing this from the AXIS client side, when the HTTP message got to

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
In that case, as I mentioned in my first reply, extract the cookies from the message context, in the first reply and store them somewhere (for example, in a static variable or in system properties) that will be available in the next call. In that next call, add the cookies to the message context

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread Tim K. (Gmane)
Thanks Tony for your good replies on this list. I wonder if my approach is good in general. I suspect there will also be non-Axis clients like .NET and maybe other frameworks on the client side that will need to do the same. Does anyone have a different idea to achieve the same behavior? I

Re: How to get/set cookies from the Axis *client* side?

2004-12-01 Thread tony . q . weddle
No problem, Tim. I think I'm going to have to worry about this problem before too long, so I'd be interested in options. SOAP headers are probably the way to go. If you implement the cookie functionality in handlers, then it should be relatively easy to move to another method. I'll probably look

Changing the endpoint by sending redirects from the server?

2004-12-01 Thread Nige White
Will the Axis HTTP client classes follow redirects? I write my own server (because it has to be in this proprietary language we use for the business system). Each client needs a new process (They use loads of global data - it's all hideous!), so I want the first request from a client to be

RE: Connection Timeout

2004-12-01 Thread Zhou Jian Han
Hi, Do you know is there anyway to set no-timeout for the client request? Thanks, Georgia -Original Message- From: Bernolet, Luc [PRDBE Extern] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 2:44 AM To: '[EMAIL PROTECTED]' Subject: RE: Connection Timeout Hi, I had a

Re: desperate newbie-- trouble with image attachment

2004-12-01 Thread Vy Ho
This is a wild gess here. Based on one document/page on the web, it says that there are essentially 2 styles: document and rpc. Message style is a programming style. From there, my thinking is that messaging style can be just Document style. However, you'll send in an array of dom's

Resolved: RE: Problem generating WSDL from Java

2004-12-01 Thread David Song
Thanks Tim. The problem was that I changed some method from protected to public so in essence public methods will be turned into Web Methods. Since those methods take HTTPServletRequest and MessageContext as parameters and no custom serializers were written to serialize such types, therefore the

Re: Resolved: RE: Problem generating WSDL from Java

2004-12-01 Thread Vy Ho
I wonder if you declare an interface for this service, then use it to generate wsdl. This shields you from how you implement your service.

Re: Resolved: RE: Problem generating WSDL from Java

2004-12-01 Thread Tim K. (Gmane)
Vy Ho wrote: I wonder if you declare an interface for this service, then use it to generate wsdl. This shields you from how you implement your service. Right, that's the way to do it, just create an interface for only the methods you want exposed. The class can have a lot more stuff in it that

RE: hiding a property from Axis serializer?

2004-12-01 Thread mmosttler
You need a class which extends java.beans.SimpleBeanInfo. Say you have a bean called SpecialData and it has some properties you do not want to be introspected and generated into the resulting Web Service Type Description. You would then create another class extending the SimpleBeanInfo,

InvocationTargetException when validating using schema

2004-12-01 Thread Michael Garthwaite
Hi there, Im trying to use axis create a web service which validates an xml document by using an xml schema. The java class works fine when used outside axis and I know that the xml doc is both well formed and valid. When I try to validate using a web service I get the stack trace below. I have

Re: Connection Timeout

2004-12-01 Thread Mohammad Irfan
From your answer seems the problem is from the client side. The client disconnect first from the webservice. So there is nothing wrong with the web service (axis)? Do axis guarantees that it won't disconnect any request? thanks. On Wed, 1 Dec 2004 11:44:17 +0100, Bernolet, Luc [PRDBE Extern]

RE: Connection Timeout

2004-12-01 Thread Bernolet, Luc [PRDBE Extern]
I don't know about timeout values from the Axis side. Probably this can be configured with one of the config files from Axis. My calls to Axis sometimes last 15 minutes or more; Axis keeps the connection witout problem. Regards, Luc. -Original Message- From: Mohammad Irfan [mailto:[EMAIL

RE: Connection Timeout

2004-12-01 Thread Bernolet, Luc [PRDBE Extern]
I think you should specify -1 as timeout value. Regards, Luc. -Original Message- From: Zhou Jian Han [mailto:[EMAIL PROTECTED] Sent: woensdag 1 december 2004 18:44 To: [EMAIL PROTECTED] Subject: RE: Connection Timeout Hi, Do you know is there anyway to set no-timeout for the client