useOriginalwsdl=true will work if you have followed the following steps:
- put the custom wsdl file inside the META-INF folder.
- the service name should be the same in both the custom wsdl as well as in the services.xml
- Name the custome wsdl as service.wsdl or (Your ServiceName).wsdl.
- Set useOriginalwsdl=true in services.xml file
Note: If useOriginalwsdl=true, Axis2 engine first tries to use any wsdl file named service.wsdl. If not found, then it tries to find named (your service name).wsdl
If not succeeds, then it shows error when u try to access the web service.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…