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 requ
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
>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]
<[E
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 al
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, SpecalData
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
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.
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
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 eleme
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 simil
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 redir
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
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 think
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 a
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 the
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 with
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, Novem
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 le
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 i
> 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
c
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):
If you dont have a log4j co
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
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
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 PROT
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 so
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
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));
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
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 enco
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
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
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 ca
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 interoperat
33 matches
Mail list logo