[wsf-c-dev] [jira] Resolved: (WSFPHP-303) WSDL generation generated invalid WSDL
Dimuthu Gamage (JIRA)
jira at wso2.org
Thu Jul 17 04:51:52 PDT 2008
[ https://wso2.org/jira/browse/WSFPHP-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dimuthu Gamage resolved WSFPHP-303.
-----------------------------------
Resolution: Fixed
Fixed in the latest svn. Thanks for pointing this out.
> WSDL generation generated invalid WSDL
> --------------------------------------
>
> Key: WSFPHP-303
> URL: https://wso2.org/jira/browse/WSFPHP-303
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: WSDL Generation
> Reporter: Kobbe van Daatselaar
> Attachments: after_fixed.wsdl, test.php, test.wsdl
>
>
> I want to use de WSO2 WSDL generation API.
> I've managed to get this working, but it generates invalid WSDL's.
> The client generated a fould when I try to import the WSDL.
>
> In ran the WSDL trough a WSDL validator and it gives met the following error:
>
> src-resolve.4.2: Error resolving component 'ns0:RegisterStudents'. It was detected that 'ns0:RegisterStudents' is in namespace 'http://my.university/my/faculty', but components from this namespace are not referenceable from schema document 'file:///S:/wsocm/blaap.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ns0:RegisterStudents' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added.
> This is a bug in the WSDL generation. Basically it is generating two schemas within the WSDL and assuming that one is visible from the other, but in fact there is no import between them, so that isn't correct.
> I included the generated WSDL and the PHP source code.
--
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
More information about the Wsf-c-dev
mailing list