Error(121): unresolved element XML element "{http://www.vodacom.co.za/Eppix
847927Mar 24 2011 — edited Feb 28 2020Hi all
Im not sure what to do here, Im trying to build my project and i get these:
Error(121): unresolved element XML element "{http://www.vodacom.co.za/EppixEventsIntegrationApplication/HttpDestinations}HttpDestinations" of variable "targetHttpDestinations" is not defined
Make sure the XML element "{http://www.vodacom.co.za/EppixEventsIntegrationApplication/HttpDestinations}HttpDestinations" is defined in one of WSDLs that are referenced by the deployment descriptor
Error(133): unresolved element
XML element "{http://webservices.vodacom.co.za/EppixEventIntegration/EppixEventDaemon/HttpServerNames}targetServers" of variable "targetServerNames" is not defined
Make sure the XML element "{http://webservices.vodacom.co.za/EppixEventIntegration/EppixEventDaemon/HttpServerNames}targetServers" is defined in one of WSDLs that are referenced by the deployment descriptor
I defined these xsds from JDeveloper 11G 11.1.1.3, here is one of them:
<?xml version="1.0" encoding="windows-1252" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://webservices.vodacom.co.za/EppixEventIntegration/EppixEventDaemon/HttpServerNames"
targetNamespace="http://webservices.vodacom.co.za/EppixEventIntegration/EppixEventDaemon/HttpServerNames"
elementFormDefault="qualified">
<xsd:element name="targetServers" type="TargetServers" />
<xsd:complexType name="TargetServers">
<xsd:sequence>
<xsd:element name="serverName" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
In my bpel, I then created a variable of this type. Some time later I then do an assign where i extract data from a database output variable into this variable. I then proceed to loop through it.
In my synchronous bpel I have:
<process name="ScHttpRefreshDealList"
targetNamespace="http://www.vodacom.co.za/EppixEventsIntegration/Services/ScHttpRefreshDealList"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://www.vodacom.co.za/EppixEventsIntegration/ScHttpRefreshDealList"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
suppressJoinFailure="no" enableInstanceCompensation="no"
abstractProcess="no"
.... (not mentioning others here for shortness)
xmlns:ns9="http://www.vodacom.co.za/HttpServerNames"
xmlns:ns13="http://www.vodacom.co.za/EppixEventsIntegrationApplication/HttpDestinations"
<variables>
<variable name="targetHttpDestinations" element="ns13:HttpDestinations"/>
<variable name="targetServerNames" element="ns18:targetServers"/>
</variables>
And then later the assign, but if I click on the error it points me to the variable definitions above.... WTF am I missing pleasee..... from what I googled, it seems to be the namespaces issue, and they say to import them into the bpel wsdl file but there is no .wsdl file for my bpel?? (just for its partner links)
Thanks
Jose Correia