-
1. Re: Validation problems on a cxf service bundle deployed on FUSE ESB 4.1
mielket Aug 17, 2009 9:04 AM (in response to marcelcasado)Hello,
Can you upload your testcase to the following ftp location please?
FTP Server: ftp-irl.iona.com
Username: marcelca
Password: Tutloit_
Direct Upload Link: Upload Link: ftp://marcelca:Tutloit_@ftp-irl.iona.comTutloit_@ftp-irl.iona.com
We will look into your testcase then here in-house.
-
2. Re: Validation problems on a cxf service bundle deployed on FUSE ESB 4.1
marcelcasado Aug 17, 2009 10:15 AM (in response to mielket)Uploaded onthe ftp source in a zip Eclipse project and the bundle already built
Thanks Torsten for looking into it.
-
3. Re: Validation problems on a cxf service bundle deployed on FUSE ESB 4.1
mielket Aug 18, 2009 8:33 AM (in response to marcelcasado)Looks like I am seeing the same problem here. Full error that I get is in the attached error.txt. Does yours look the same? I am investigating further.
-
error.txt 11.1 KB
-
-
4. Re: Validation problems on a cxf service bundle deployed on FUSE ESB 4.1
mielket Aug 18, 2009 9:58 AM (in response to marcelcasado)Doing a bit of guessing here since I cannot recompile your testcase (due to dependencies on some internal packages of yours).
The problem might be that the schema files cannot be loaded at runtime for doing the validation. On the file system you have the wsdl file in wsdl/ importing the schema files from ../schemas/ which obviously works ok.
However I believe the OSGI classloading will try to load the schema files based on the configured Bundle-ClassPath (as defined in MANIFEST.MF). In your case the Bundle-ClassPath contains ./, which is the root level OSGI bundle directory. So when trying to load ../schemas/... this will then fail as it tries to load it from ./ the bundles root directory.
I suggest a quick test. Place all schema and wsdl files into one directory and import them using "./" in your wsdl and xsd files. This might work around the problem.
As I said, I am only guessing here as I cannot recompile the testcase myself.
Btw, I ran the CXF 2.2 wsdlvalidator against your schema and wsdl files and it succeeded without problems. So these files should be okay.
-
5. Re: Validation problems on a cxf service bundle deployed on FUSE ESB 4.1
marcelcasado Aug 18, 2009 3:48 PM (in response to mielket)Thanks for looking into it. The errors are the same.
I have another service with the same configuration (but different schemas) with schemas in the schemas/ directory and the wsdl in the wsdl/ directory and the schemas are included/imported using ../schemas/... and the validation works great. But I'll do the test anyway and I'll let you know.
Well I did the test moving schemas into the wsdl dir and using ./ and that made it work. So something weird is going on since ../schemas is working for my other service.
Thanks much,
-Marcel