• 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

Getting error when importing inline xsd using XSOM framework

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I got following problem when parsing wsdl using WOM and XSOM api.
I have used apache CXF stack to generate the wsdl file.

The schemas in the wsdl are defined in following way



The special thing here is that the first schema defined in wsdl:types is importing
xsd which is just defined below it.
As the imported xsd is inlined, hence there is no schemaLocation attribute defined
for it.
The XSOM parser calls the NGCCRunTimeEx.importSchema() method.
This in turn uses the schemaLocation attribute.
As schemaLocation is null, it is not able to find the InputSource for this inline xsd.
and hence it gives error saying "not able to find ns1:abcCType"

Please provide information to tackle this issue.

With Regards
Harbeer Kadian
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic