posted 19 years ago
Hi! All
I'm trying to make a schema of a WSDL file.Given below are the port type(interfaces exposed by a web service)definition of the services and the parterner link type definition.
This is the port type definitions
<!-- port type definitions -->
<portType name="loanServicePT">
<operation name="request">
<input message="lns:creditInformationMessage"/>
<output message="lns:approvalMessage"/>
<fault name="unableToHandleRequest"
message="lns:errorMessage"/>
</operation>
</portType>
<!-- partner link definition-->
<plnk artnerLinkType name="loanPartnerLinkType">
<plnk:role name="loanService">
<plnk ortType name="lns:loanServicePT"/>
</plnk:role>
</plnk artnerLinkType>
when a schema is generated the partner link type definitions is changed into a complexType
<xs:cmplexType name="plnk artnerLinkType">
Now the error is that the name attribute takes in "NCName" type value and the value which is given to it while generating a schema is of "Qname" type.
can any one please tell me how to change/what modifications are needed in the schema to correct it.
(Or in other words how do we change a "QName" value to a "NCName")
Please help is needed urgently.Any input will be highly appreciated.
Many Regards
Ved