Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on import schemas

 
Luke Murphy
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


 
Dan Drillich
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic