function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sunny_SlpSunny_Slp 

Fields missing on outbound message WSDL

Hi Everyone, I have the following fields selected for outbound message

 

    • Id
    • Plan_Platform__c
    • Pricing_Schedule__c
    • Risk_Indicator__c
    • RxPlanDataExp__c
    • RxPlanData__c
    • Rx_PP_ID__c
    • State__c
    • TP_ID__c
    • but when I look at the generated WSDL, I see

 

 

 

<!--
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:tns="http://soap.sforce.com/2005/09/outbound" xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ent="urn:enterprise.soap.sforce.com" xmlns:ens="urn:sobject.enterprise.soap.sforce.com"targetNamespace="http://soap.sforce.com/2005/09/outbound">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"targetNamespace="urn:enterprise.soap.sforce.com">
<!-- Our simple ID Type -->
<simpleType name="ID">
<restriction base="xsd:string">
<length value="18"/>
<pattern value="[a-zA-Z0-9]{18}"/>
</restriction>
</simpleType>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"targetNamespace="urn:sobject.enterprise.soap.sforce.com">
<import namespace="urn:enterprise.soap.sforce.com"/>
<!-- Base sObject (abstract) -->
<complexType name="sObject">
<sequence>
<element name="fieldsToNull" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<element name="Id" type="ent:ID" nillable="true"/>
</sequence>
</complexType>
<complexType name="AggregateResult">
<complexContent>
<extension base="ens:sObject">
<sequence>
<any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="CRD__c">
<complexContent>
<extension base="ens:sObject">
<sequence>
<element name="Plan_Platform__c" nillable="true" minOccurs="0" type="xsd:string"/>
<element name="Rx_PP_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
<element name="State__c" nillable="true" minOccurs="0" type="xsd:string"/>
<element name="TP_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>

 

 

Fields such as RxPlanData,RxPlanDataExp,Rx_PP_ID,Risk_Indicator are absent? is there something wrong here?

 

Best Answer chosen by Admin (Salesforce Developers) 
Sunny_SlpSunny_Slp

It was a plain old Field access restriction. One of the admins mistakenly changed the profile for send as user.

 

So, when fields go missing on OM WSDL, look for Field Access and profile of send as user.

All Answers

Sunny_SlpSunny_Slp

It was a plain old Field access restriction. One of the admins mistakenly changed the profile for send as user.

 

So, when fields go missing on OM WSDL, look for Field Access and profile of send as user.

This was selected as the best answer
Gage PetersonGage Peterson
Thanks Sunny_Slp that saved me.