AnsweredAssumed Answered

Unable to parse callout Reposne: apex type not found for element :Opportunity_Info

Question asked by sushant.panigrahi020786 on Feb 9, 2017

While parsing apex code salesforce thwroeing errro: here is my wsdl, please suggest#

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.boomi.com/connector/wss" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="WebServiceProvider" targetNamespace="http://www.boomi.com/connector/wss">
<wsdl:types>
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.boomi.com/connector/wss" version="1.0">
<xs:element name="Opportunity_Info" type="tns:Opportunity_Info"/>
<xs:complexType name="Opportunity_Info">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="OPPORTUNITY_NUMBER" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="OPPORTUNITY_NAME" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="INSTALL_COUNTRY" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="INSTALL_STATE" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_VAVG" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_K_FACTOR" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_AIR_DENSITY" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_WIND_SHEAR" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_STUDY_HEIGHT" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="SITE_CTI" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="PLANNED_COD" type="xs:dateTime"/>
<xs:element maxOccurs="1" minOccurs="0" name="PROJECT_SCOPE" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="processOpportunityDetail" type="tns:processOpportunityDetail"/>
<xs:complexType name="processOpportunityDetail">
<xs:sequence>
<xs:element minOccurs="0" ref="tns:Opportunity_Info"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ResponseData_oppty" type="tns:ResponseData_oppty"/>
<xs:complexType name="ResponseData_oppty">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="Internal_ID" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="StatusMessage" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="ERROR" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="processOpportunityDetailResponse" type="tns:processOpportunityDetailResponse"/>
<xs:complexType name="processOpportunityDetailResponse">
<xs:sequence>
<xs:element minOccurs="0" ref="tns:ResponseData_oppty"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="processOpportunityDetail">
<wsdl:part element="tns:processOpportunityDetail" name="parameters"/>
</wsdl:message>
<wsdl:message name="processOpportunityDetailResponse">
<wsdl:part element="tns:processOpportunityDetailResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="WebServiceProviderPortType">
<wsdl:operation name="processOpportunityDetail">
<wsdl:input message="tns:processOpportunityDetail"/>
<wsdl:output message="tns:processOpportunityDetailResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WebServiceProviderPortBinding" type="tns:WebServiceProviderPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="processOpportunityDetail">
<soap:operation soapAction="processOpportunityDetail"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WebServiceProvider">
<wsdl:port binding="tns:WebServiceProviderPortBinding" name="WebServiceProviderPort">
<soap:address location="https://test.connect.boomi.com/ws/soap/GERW/HEROKU/processOpportunityDetails"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Outcomes