[
https://wso2.org/jira/browse/WSAS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deepal Jayasinghe resolved WSAS-491.
------------------------------------
Resolution: Fixed
With the recent changes on WSDL generation , i assume this issue if fixed now.
> Java2WSDL (WSDLView) generates an invalid wsdl if the version is wsdl 2.0
> -------------------------------------------------------------------------
>
> Key: WSAS-491
> URL: https://wso2.org/jira/browse/WSAS-491
> Project: WSO2 WSAS
> Issue Type: Bug
> Components: core
> Affects Versions: Nightly
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assignee: Deepal Jayasinghe
> Fix For: Kurumba
>
> Attachments: generatedwsdl2.wsdl, wsaspojo.jar
>
>
> The generated wsdl 2.0 by the WSDLView function in WSAS management console is
> invalid. Here is an extract from the generated wsdl 2.0 document.
> <wsdl2:binding name="MyserviceSOAP11Binding"
> interface="null:ServiceInterface" type="http://www.w3.org/ns/wsdl/soap"
> wsoap:version="1.1">
> <wsdl2:operation ref="null:saysomething" wsoap:action="urn:saysomething"/>
> </wsdl2:binding>
> <wsdl2:binding name="MyserviceSOAP12Binding"
> interface="null:ServiceInterface" type="http://www.w3.org/ns/wsdl/soap"
> wsoap:version="1.2">
> <wsdl2:operation ref="null:saysomething" wsoap:action="urn:saysomething"/>
> </wsdl2:binding>
> <wsdl2:binding name="MyserviceHttpBinding" interface="null:ServiceInterface"
> type="http://www.w3.org/ns/wsdl/http">
> <wsdl2:operation ref="null:saysomething"
> whttp:location="Myservice/saysomething"/>
> </wsdl2:binding>
> <wsdl2:service name="Myservice" interface="null:ServiceInterface">
> <wsdl2:endpoint name="SOAP11Endpoint" binding="null:MyserviceSOAP11Binding"
> address="http://localhost:8080/axis2/services/Myservice"
> <wsdl2:documentation>
> This endpoint exposes a SOAP 11 binding over a HTTP
> </wsdl2:documentation>
> </wsdl2:endpoint>
> There are null namespace prefixes as you can see above.
> Steps to reproduce:
> ================
> 1. Access http://localhost:9762
> 2. Click on 'WSDL View' in the left navigation pane
> 3. 'WSDLView (Add Jar Resources)' page will be displayed
> 4. Add the attached jar file and click next
> 5. enter fully qualified class name = my.test.Mywsaspojo
> 6. Select WSDL version 2.0
> 7. Click on 'Generate'
> The required test files are attached here with.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev