*
http://www.google.com/profiles/109749655677560058134 via RT (bug-XML-Compile-SOAP@rt.cpan.org) [101110 12:09]:
Show quoted text
The portType declaration, you mean. The portType definition is:
<xs:complexType name="tPortType">
<xs:complexContent>
<xs:extension base="wsdl:tExtensibleAttributesDocumented">
<xs:sequence>
<xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:NCName" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:tDocumented">
<xs:annotation>
<xs:documentation>
This type is extended by component types to allow attributes from other namespaces to be added.
</xs:documentation>
</xs:annotation>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="tDocumented">
<xs:annotation>
<xs:documentation>
This type is extended by component types to allow them to be documented
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
As the name of the base-class says: it only permits anyAttributes, not "any"
elements. So the SAWSDL extension does not obey the WSDL11 standard. Which
is not conflicting with its webpage on
http://www.w3.org/2002/ws/sawsdl
... developing a mechanism to enable semantic annotation of Web services
descriptions in WSDL 2.0.
Show quoted text> WSDL is WSI compliant.
That doesn't say a thing: everyone made-up their own extension standards...
On the other hand... hacks are not uncommon: there are many XML extensions
which do not respect the rules... that is no reason to deny you request
to get some kind of support for it. It would be implemented like
XML::Compile::SOAP::WSA, probably best called XML::Compile::SAWSDL::WSDL11
and ::SAWSDL::Schema.
Please your ideas. It will probably take me a few hours to get a clean
implementation out. Is it often used?
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net