XSD FileNotFoundException during JCD creation
Hello to all,
I have a nebulous problem respective creation a JCD which should be callable as a WebService.
I created XSD which contains three xsd imports. It seems to be proper because the OTD Wizard in the eDesginer built a proper OTD. Furthermore after importing the base xsd the validation in the xml schema editor ended successfully. So everything seems to be fine.
But when I create a jcd (as a callable webservice!!!) and after defining the incoming message structur (which is the generated otd) an error occurs:
"Cannot load XML Scheam from Reader (see below):
==> Error reading import file 'file:/no_xsd_imports/supported/axa-evb-header.xsd': java.io.FileNotFoundException......."
I'm total confused because when I create a JCD without the option <callable as a webservice> it works proper, that means, I could create the JCD.
But after checking the <callable as a webservice> checkbox while creating a JCD it aborted with preceding error message.
Here is my xsd.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.axa.de/evb"
xmlns:tns="http://www.axa.de/evb"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:header="http://axa.de/vts/bt/evb/header"
xmlns:internal="http://axa.de/vts/bt/evb/internal"
xmlns:gdv="http://www.evb-online.com/xmlschema">
<!-- XSD-Imports -->
<xsd:import schemaLocation="axa-evb-header.xsd" />
<xsd:import schemaLocation="axa-evb-internal.xsd" />
<xsd:import schemaLocation="eVB_BD_v2.0.xsd" />
<xsd:complexType name="AxaEvbType">
<xsd:sequence>
<xsd:element ref="header:Header" minOccurs="0"/>
<xsd:element ref="internal:AxaInternal" minOccurs="0"/>
<xsd:choice>
<xsd:element ref="gdv:VeelaRequest" minOccurs="0"/>
<xsd:element ref="gdv:VeelaResult" minOccurs="0"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="AxaEvb" type="tns:AxaEvbType"/>
</xsd:schema>
We tried both the options 'import' as well as 'include' in the XSD but same error is thrown.
I googled a lot but I couldn't find any solutions in the SUN Caps Forum and as well in ItToolbox.
Now I hope somebody as any solutions for this problem.
For any ideas I would be grateful.
Apart from this the JCAPS user guide document provides following statement:-
"Note: All XSD OTDs that are used in SOAP-callable Java Collaboration Definitions must be derived from XML schemas that have explicitly declared target namespaces."
Is above statement applicable/valid for a Simple single XSD or its also valid for above scenario where in 3 XSD's are used with 'import' or 'include'?
Thanks a lot and kindly regards
Bodo Stockschlaeder

