importing a wsdl with .xsd's
652750Jul 30 2008 — edited Oct 2 2008Im going nuts.
I have a wsdl, with external xsd's. For some reason no matter what I do jdev can't find the references to the different xml element.
In my wsdl I have uses the import line.
<xsd:import namespace="http://schemas.datastream.net/MP_functions" schemaLocation="headers.xsd"/>
I changed the schemaLocation to the root of the directory. I added the headers.xsd under the projects bpel folder. Now when I open the project in jdev it shows the schema under the "integration content/schemas". No matter what I do it never seems to be able to reference the .xsd. I thought it was easier to just put all of the xsd's and WSDL's in the project/bpel folder so there is no path reference or nothing. But it still doesn't work!!!! I have to be doing something wrong..
Error : "Error:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/C:/Ora/jdev/jdev/mywork/DataStream/DataStream_Test/bpel/MP0291_AddSupplier_001.wsdl", message part element "{http://schemas.datastream.net/MP_functions}MessageConfig" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
".
[Potential fix]: n/a."
Here is the actual headers.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://schemas.datastream.net/MP_functions"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.datastream.net/MP_functions">
<xs:simpleType name="SessionScenario">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:simpleType name="Organization">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType name="SessionType">
<xs:sequence>
<xs:element name="sessionId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessageItemConfigType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="MessageConfigType">
<xs:sequence>
<xs:element name="configItem" type="MessageItemConfigType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Session" type="SessionType"/>
<xs:element name="SessionScenario" type="SessionScenario"/>
<xs:element name="Organization" type="Organization"/>
<xs:element name="MessageConfig" type="MessageConfigType"/>
</xs:schema>
Can someone help?
Thanks
Message was edited by:
user649747
Message was edited by:
user649747
null