'Unable to generate wsdl' error occurs when retrieving wsdl using ?wsdl if 
wsdl2 is palced in service archive
-------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2466
                 URL: https://issues.apache.org/jira/browse/AXIS2-2466
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.2
         Environment: winxp, jdk15, tomcat 6.0.10
            Reporter: Charitha Kankanamge


Please go through the following steps to reproduce the error.

- Place wsdl2 file in META-INF directory of the service archive
- Set useOriginalwsdl=true in services.xml
- Deploy the service archive
- Select the service in the services list in admin console or provide ?wsdl url

Following error is displayed in the browser.

Unable to generate WSDL for this service
        <reason>
If you wish Axis2 to automatically generate the WSDL, then please use one of 
the RPC message receivers for the service(s)/operation(s) in services.xml. If 
you have added a custom WSDL in the META-INF directory, then please make sure 
that the name of the service in services.xml (/serviceGroup/service/@name) is 
the same as in the custom wsdl's service name 
(/wsdl:definitions/wsdl:service/@name). 
</reason>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to