Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Referenced Object Has Not Been Found Error In JDeveloper

User_OYT2PNov 14 2018 — edited Nov 18 2018

I am new to SOA development; this is my first composite.  I am trying to make my composite call 1 method in an external web service.  JDeveloper will not build my composite.  The specific errors I get in the "Issues" tab are "Error: Message part is undefined [element = {http://tempuri.org/}GetCrewidsByBranding" and "Error: Message part is undefined [element = {http://tempuri.org/}GetCrewidsByBrandingResponse".  If I hover my mouse over the red underlined code (code with the error) and click "more", the error says "the referenced object has not been found".  My WSDL file is throwing the error and I pasted the code below.  The JDeveloper version I am using is Studio Edition Version 12.2.1.0.0, build JDEVADF_MAIN_GENERIC_151011.0031.S.  My other files (BPEL, WSDL wrapper, etc.) do not have any errors.  Any help is greatly appreciated.

<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions

     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

     targetNamespace="http://tempuri.org/"

     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

     xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"

     xmlns:s="http://www.w3.org/2001/XMLSchema/"

     xmlns:tns="http://tempuri.org/"   

     xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

     xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

     xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

    >

    <wsdl:types>

     

        <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">

            <s:element name="GetCrewidsByBranding">

                <s:complexType>

                    <s:sequence>

                        <s:element minOccurs="0" maxOccurs="1" name="strBranding" type="s:string"/>

                    </s:sequence>

                </s:complexType>

            </s:element>

            <s:element name="GetCrewidsByBrandingResponse">

                <s:complexType>

                    <s:sequence>

                        <s:element minOccurs="0" maxOccurs="1" name="GetCrewidsByBrandingResult">

                            <s:complexType>

                                <s:sequence>

                                    <s:element ref="s:schema"/>

                                    <s:any/>

                                </s:sequence>

                            </s:complexType>

                        </s:element>

                    </s:sequence>

                </s:complexType>

            </s:element>

           

        </s:schema>

       

    </wsdl:types>

   

    <wsdl:portType name="MaxServSoap">

        <wsdl:operation name="GetCrewidsByBranding">

            <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This XML Web service method returns Crew Ids based on the passed Maximo Branding.</wsdl:documentation>

            <wsdl:input message="tns:GetCrewidsByBrandingSoapIn"/>

            <wsdl:output message="tns:GetCrewidsByBrandingSoapOut"/>

        </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name="MaxServSoap" type="tns:MaxServSoap">

        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

        <wsdl:operation name="GetCrewidsByBranding">

            <soap:operation style="document" soapAction="http://tempuri.org/GetCrewidsByBranding"/>

            <wsdl:input>

                <soap:body use="literal"/>

            </wsdl:input>

            <wsdl:output>

                <soap:body use="literal"/>

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:binding name="MaxServSoap12" type="tns:MaxServSoap">

        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

        <wsdl:operation name="GetCrewidsByBranding">

            <soap12:operation style="document" soapAction="http://tempuri.org/GetCrewidsByBranding" soapActionRequired="false"/>

            <wsdl:input>

                <soap12:body use="literal"/>

            </wsdl:input>

            <wsdl:output>

                <soap12:body use="literal"/>

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="MaxServ">

        <wsdl:port name="MaxServSoap" binding="tns:MaxServSoap">

            <soap:address location="http://col-broker1/maximo6dbservice/maximoservice.asmx"/>

        </wsdl:port>

        <wsdl:port name="MaxServSoap12" binding="tns:MaxServSoap12">

            <soap12:address location="http://col-broker1/maximo6dbservice/maximoservice.asmx"/>

        </wsdl:port>

    </wsdl:service>

    <wsdl:message name="GetCrewidsByBrandingSoapIn">

        <wsdl:part name="parameters" element="tns:GetCrewidsByBranding"/>

    </wsdl:message>

    <wsdl:message name="GetCrewidsByBrandingSoapOut">

        <wsdl:part name="parameters" element="tns:GetCrewidsByBrandingResponse"/>

    </wsdl:message>

</wsdl:definitions>

Comments

Post Details

Added on Nov 14 2018
4 comments
1,312 views