Palani
Palani

Reputation: 1921

Configuration issue with Mule ftpExt transport

I am using mule esb to transfer file from ftp to local directory. I am not using the standard FTP connector but the extended one.

I am getting an error:

org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://localhost/schemaftpext/mule-ftpext.xsd'.

Actually I am new to Mule ESB, so i do not what is the url "http://localhost/schemaftpext/mule-ftpext.xsd" says that. I need to put anything in localhost?

FYI: I am using the example "http://code.google.com/p/mule-ftpext/source/browse/trunk/Test/mule-config.xml?spec=svn23&r=23". What should i do for that localhost URL?

Upvotes: 1

Views: 471

Answers (1)

David Dossot
David Dossot

Reputation: 33413

http://localhost/schemaftpext/mule-ftpext.xsd is just a schema URI location: there is no need to have anything available there, it is just used as an identifier. Mule's configuration loader will resolve this URI to an actual location at load-up time. The actual location is within ftpExt-1.0-SNAPSHOT.jar.

Now this implies that you need to have is the ftpExt-1.0-SNAPSHOT.jar available in Mule's classpath. Is that the case?

Upvotes: 4

Related Questions