[ http://wso2.org/jira/browse/COMMONS-15?page=all ]
Buddhika Semasinghe closed COMMONS-15.
--------------------------------------
Resolution: Fixed
> when complex type refers to another complex type in same schema,
> wsdl2sig.xslt fails
> ------------------------------------------------------------------------------------
>
> Key: COMMONS-15
> URL: http://wso2.org/jira/browse/COMMONS-15
> Project: WSO2 Commons
> Issue Type: Improvement
> Components: dynamic-codegen
> Reporter: Buddhika Semasinghe
> Assigned To: Jonathan Marsh
>
> When there is a schema ( which I created using mashup-server)as shown below
> after creating the sig for that WSDL , It seems that type information for
> "test1TypevalueTypeType" not included.
> schema
> ======
> xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified"
> targetNamespace="http://services.mashup.wso2.org/testsig?xsd">
> <xs:complexType name="test1Type">
> <xs:sequence>
> <xs:element name="name" type="xs:string" />
> <xs:element name="test1TypevalueType"
> type="ws:test1TypevalueTypeType" />
> </xs:sequence>
> </xs:complexType>
> <xs:complexType name="test1TypevalueTypeType">
> <xs:sequence>
> <xs:element name="x" type="xs:string" />
> <xs:element name="y" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
> <xs:element name="test1" type="ws:test1Type" />
> <xs:complexType name="test1ResponseType">
> <xs:sequence>
> <xs:element name="return" type="xs:anyType" />
> </xs:sequence>
> </xs:complexType>
> <xs:element name="test1Response" type="ws:test1ResponseType" />
> </xs:schema>
> sig
> ===
> <signature method="inference">
> <params wrapper-element="test1"
> wrapper-element-ns="http://services.mashup.wso2.org/testsig?xsd">
> <param token="#in" minOccurs="1" maxOccurs="1" name="name" type="string"
> type-namespace="http://www.w3.org/2001/XMLSchema" simple="yes"/>
> <param token="#in" minOccurs="1" maxOccurs="1" name="test1TypevalueType"
> type="test1TypevalueTypeType"
> type-namespace="http://services.mashup.wso2.org/testsig?xsd" simple="no"/>
> </params>
> <returns wrapper-element="test1Response"
> wrapper-element-ns="http://services.mashup.wso2.org/testsig?xsd">
> <param type-namespace="http://www.w3.org/2001/XMLSchema" type="anyType"
> token="#return" minOccurs="1" maxOccurs="1" name="return" simple="no"/>
> </returns>
> </signature>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev