Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on import schemas  RSS feed

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The following example is given (http://www.ws-i.org/profiles/basicprofile-1.1.html) to show correct and incorrect use of imports.



INCORRECT:



CORRECT:





Struggling to understand this. Can anyone give me precise reasons what's going on?

Thanks


 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day,

It's about -

R2001 A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description.


The incorrect one imports an xsd file while the correct ones import wsdl files.

Regards,
Dan
 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dan Drillich wrote:Good Day,

It's about -

R2001 A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description.


The incorrect one imports an xsd file while the correct ones import wsdl files.

Regards,
Dan


Great answer. Missed something simple here, if the examples had red underlining showing what is wrong it would greatly help.

 
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!