Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible for wsdl:import tags to directly import XSD items. #20

Merged
merged 1 commit into from
May 17, 2024

Conversation

veewee
Copy link
Member

@veewee veewee commented May 17, 2024

Q A
Type bug
BC Break no
Fixed issues #19

Summary

Fixes #19

<definitions 
	xmlns="http://schemas.xmlsoap.org/wsdl/" 
	...>
	<import location="AXLSoap.xsd" namespace="http://www.cisco.com/AXL/API/15.0"/>
</definitiions>	

Current behaviour

The flattening process results in:

<definitions 
	xmlns="http://schemas.xmlsoap.org/wsdl/" 
	...>

	XSD CONTENT

        <types/>
</definitiions>	

Expected behaviour

<definitions 
	xmlns="http://schemas.xmlsoap.org/wsdl/" 
	...>
        <types>
         	XSD CONTENT
        </types>
</definitiions>	

This pull requests makes sure to import the full XSD <schema /> in the <types /> element.

@veewee veewee merged commit 31adf06 into php-soap:main May 17, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flattening wsdl:imports can not import XSD types correctly.
1 participant