• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

schema error

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic