aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Question on import schemas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Question on import schemas" Watch "Question on import schemas" New topic
Author

Question on import schemas

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
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

Joined: Jul 09, 2001
Posts: 1180
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


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on import schemas