Connection Keep Alive
I'm trying to increase performance to my web service by making use of the HTTP/1.1 protocol I'd like to set Connection to keep-alive but I'm not sure how to do it, everything try is not working for me. Also by setting connection to keep-alive after calling call.invoke() will the connection be dropped or will it remain open for the next call.invoke()? Any help would be great thanks. -Chris
Re: Connection Keep Alive
>From my understanding if using HTTP/1.1 you don't need to directly specify "Keep-Alive". Under HTTP/1.1 ALL connection are kept alive unless stated by "Connection: close" But Carol is right, HTTPSender has the following code to close the connection Chris On Thu, 3 Feb 2005, Ana Carolina Chaves Machado wrote: > Hi, > > I also already verified this problem and to discover that in the HTTPSender > class has the following line of code: > > ... > if (!http10) { > //Force close will be now. > //TODO HTTP/1.1 > httpConnection = HTTPConstants.HEADER_CONNECTION_CLOSE; > } > > ... > > I would like to know because does not use Keep-Alive? > > Thanks, > Carol > > >> > >> - Original Message - From: "Christopher Johnson" > >> <[EMAIL PROTECTED]> > >> To: <[EMAIL PROTECTED]> > >> Sent: Thursday, February 03, 2005 12:11 PM > >> Subject: Connection Keep Alive > >> > >> > >>> I'm trying to increase performance to my web service by making use of > >>> the > >>> HTTP/1.1 protocol > >>> > >>> I'd like to set Connection to keep-alive but I'm not sure how to do it, > >>> everything try is not working for me. > >>> > >>> Also by setting connection to keep-alive after calling call.invoke() > >>> will > >>> the connection be dropped or will it remain open for the next > >>> call.invoke()? > >>> > >>> Any help would be great thanks. > >>> > >>> -Chris > >>> > >> > > > >
Web Service Security
While Axis creates WSDL's for you based off deployed java code they are not always secure. How do I add my own schemas to the created WSDL's. Do I use the Java2WSDL then edit them as needed, where do I put these documents on the server. How do I tell axis to use my custom WSDL rather then make its own? Thanks.
Re: How to monitor remote web service endpoints
If the remote host is using axis you could make use of the SOAPMonitor or... you could make use of etheral to watch all network traffic Chris On Fri, 4 Feb 2005, babloosony wrote: > Hi All, > > > I am using AXIS TCPMonitor to monitor my soap requests and soap > response for all the web service deployed on my machine i.e. > localhost. But I dont know how to configure AXIS TCPMonitor to > monitor my request soap messsage and response soap messagefor > monitoring say a remote host 66.32.444.232 and port 88 which exposes a > web service. If I open my AXIS TCPMonitor applet, what does "Act as a > ... proxy" radio button mean ? > > Please suggest ... > > > Thanks & Regards, > Kumar. >
Re: Client Certificates in Axis
/* Gives applications knowledge of client certificate */ System.setProperty("javax.net.ssl.keyStore", mycert.p12); System.setProperty("javax.net.ssl.keyStoreType", "pkcs12"); System.setProperty("javax.net.ssl.keyStorePassword", password); Make sure you have the server ask for the Client cert. On Fri, 4 Feb 2005, Joaco wrote: > Hi > I need Client Certificate, to authentic a Client. > I know how to set up a certificate in Server side to authentic a Server > , but I don“t know how to use a client certificate to authentic Client. > It is possible in axis ? > There are an other options to authentic a Client but not whit password ? > Someone can help me pls? > > Thanks > Joaquin > > > >
tag
Has anyone gotten the tag to display 'documentation' in their wsdl? Thanks
No serializer found
I'm in the process of writing a web service and have ran into the problem of sending custom objects. I have an object that contains nothing more then a few String[] and Datahandler[]. When calling invoke I get the error "No serializer found"... understandable.. in my client code I added the following... QName qname = new QName("urn:Service", "MyClassName"); call.registerTypeMapping(object.getClass(), qname, BeanSerializerFactory.class, BeanDeserializerFactory.class); But then I get.. No serializer found for class javax.activation.DataHandler error... Can anybody help me out or point me toward some examples for serializers? Thanks