C
an anyone explain the following about import in rmh
"It is important to note that you cannot use the xml schema import statement to import an xml schema directly from the types element of some other wsdl document".
This statement is the last statement in 5.2.4 (rmh).
regards
1. import statement can be used to import schema and also wsdl definitions from other wsdl file (Refer example of WSDL Specifications)
2. The above thing is a constraint placed by BasicProfile. not to refer to the schema types created in a wsdl from other wsdl
Example
Let us have parent.wsdl
you have defined a type called contactinfo inside the types definition in parent.wsdl
<types>
<xsd:schema targetNamespace="http://parentcontact/">....
<xsd:complexType name="contactinfo">
....</xsd:complexType>
</xsd:schema></types>
Now you shouldnt refer the contactinfo in another wsdl child.wsdl
using the targetnamespace.
I guess,they would have kept it for modularity and encapsulation. Not sure why the constraint was kept.
Can anybody throw more light on that and correct me if i am wrong.
Regards