Hello, VersionSoapBindingStub is a client stub generated from the wsdl.
You can generate a client stub of your remote service looking at : http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL http://wiki.apache.org/ws/FrontPage/Axis/UsingCommandLineTools Once you have generated these stubs (including xxxBindingStub and xxxServiceLocator), you can follow the code sample described in http://wiki.apache.org/ws/FrontPage/Axis/GzipCompression Cyrille -- Cyrille Le Clerc [EMAIL PROTECTED] [EMAIL PROTECTED] On 2/14/06, Amjad Abu Zur - TusAlas <[EMAIL PROTECTED]> wrote: > > > > > > > Sorry I still lost. I have searched the web all the day. In with jar is tha > class VersionSoapBindingStub or VersionServiceLocator? How I should change > my code to use them? > > many thanks again > > ________________________________ > De: [EMAIL PROTECTED] en nombre de Cyrille Le Clerc > Enviado el: lun 13/02/2006 16:36 > Para: [email protected] > Asunto: Re: gzip and org.apache.axis.client.Call > > > > > Hello, > > Did you have a look at the wiki > http://wiki.apache.org/ws/FrontPage/Axis/GzipCompression ? > > You have to play with CommonsHttpSender, > binding._setProperty(HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE) and > binding._setProperty(HTTPConstants.MC_ACCEPT_GZIP, Boolean.TRUE). > > Cyrille > > -- > Cyrille Le Clerc > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > On 2/13/06, Amjad Abu Zur - TusAlas <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi all, > > > > > > How can I send and receive GZIP webservices request and response with the > class > > org.apache.axis.client.Call? with the method I have here should I trust > that I have ziped request and response? > > > > I mean, does the line > "_call.setProperty("Content-Encoding","gzip");" do all for > me? > > > > Is there any site where you could point me to see the way to do it? > > > > thanks in advance > > > > public org.w3c.dom.Element multiSubmitXml(java.lang.String profile, > org.w3c.dom.Element requests) throws java.rmi.RemoteException > > { > > if (super.cachedEndpoint == null) > > { > > throw new > org.apache.axis.NoEndPointException(); > > } > > org.apache.axis.client.Call _call = createCall(); > > _call.setOperation(_operations[1]); > > _call.setUseSOAPAction(true); > > > _call.setSOAPActionURI("https://webservices.galileo.com/MultiSubmitXml"); > > _call.setEncodingStyle(null); > > > _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, > Boolean.FALSE); > > > _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, > Boolean.FALSE); > > _call.setProperty("Content-Encoding","gzip"); > > > _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); > > _call.setOperationName(new javax.xml.namespace.QName(urlGalileo, > "MultiSubmitXml")); > > setRequestHeaders(_call); > > setAttachments(_call); > > try { java.lang.Object _resp = _call.invoke(new > java.lang.Object[] {profile, requests}); > > if (_resp instanceof java.rmi.RemoteException) > > { > > throw (java.rmi.RemoteException)_resp; > > } > > else > > { > > extractAttachments(_call); > > try > > { > > return (org.w3c.dom.Element) _resp; > > } > > catch (java.lang.Exception _exception) > > { > > return (org.w3c.dom.Element) > org.apache.axis.utils.JavaUtils.convert(_resp, > org.w3c.dom.Element.class); > > } > > } > > } > > catch (org.apache.axis.AxisFault axisFaultException) > > { > > throw axisFaultException; > > } > > } > > > > > > > > > > > > > > > > Mohamed Abu Zur___ ________________ > > Browser System S.L. > [www.tusalas.com] > > Departamento de Desarrollo e Informática > > > > > > TEL: +34 91 475 02 42 @mail: [EMAIL PROTECTED] > > C/ Cristo de la victoria nº 102 - 104 ::: Madrid - España >
