Hi Amila,
I am just looking for something pretty simple - I want to run a client that can trigger the Axis server to send the WSDL XML doc over. I know I can do it manually as you are describing in your other email but is there an API that I can use to do this ? I will go over your code below and see if it can
help me. Thanks very much Amila Suriarachchi wrote:
I am not clear about what you are saying. we can help you if you explain a bit.See AxisService class has a method called printWSDL if (isUseUserWSDL()) {Parameter wsld4jdefinition = getParameter( WSDLConstants.WSDL_4_J_DEFINITION);if (wsld4jdefinition != null) { try {Definition definition = (Definition) wsld4jdefinition.getValue();if (isModifyUserWSDLPortAddress()) { setPortAddress(definition); }WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter();writer.writeWSDL(definition, out); } catch (WSDLException e) { throw new AxisFault(e); } } else { printWSDLError(out); } } else { setWsdlFound(true); //pick the endpointName and take it as the epr for the WSDL getWSDL(out, new String[]{this.endpointName}, "services"); } Which actually called when generating the wsdl file.On 5/14/07, *Demetris G* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:Hi all, I asked this before and didn't hear much back about it. How would one retrieve WSDL files from an Axis server programmatically? I can't find it in the API. Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Amila Suriarachchi,WSO2 Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
