Published on WSO2 Oxygen Tank (http://wso2.org)

How do I show my own WSDL when someone types '?wsdl' on my service?

By deepal
Created 2006-05-31 02:43

Q : How do I show my own WSDL when someone types '?wsdl' on my service?

A : First you need to have a service element in the WSDL file equal to the actual service name, for example, if your service name is myService, then the WSDL file should have the following service element

<definitions >
.........................
<service name="myService">
</service>
</definitions>

Then you have to put the WSDL file into META-INF directory in the service archive file (if you have xsd files you can have them under same location).


Source URL:
http://wso2.org/library/112