• Champcon
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I am using a visualforce page with apex:detail on a ligning page layout.  When I cleck the edit button, make changes and click save the detail page does not refress automatically,  If I switch to classic the refresh happens.  Here is my code.
<apex:page id="myPage" standardController="Rel" extensions="ClistController" applyBodyTag="true" lightningStylesheets="true" showHeader="true">
    <apex:form id="slist">
        <apex:commandLink id="clink" value="Refresh"   target="_parent" styleClass="btn"  reRender="detailContainer,clist">
              <apex:param id="cId" value="{!stateDateId}"/>
        </apex:commandLink>   
        <apex:outputPanel id="detailContainer" onclick="refresh();">
              <apex:detail id="clist" subject="{!stateDateId}" relatedList="false" inlineEdit="false"  showChatter="true"  title="false"  rerender="detailContainer,clist" oncomplete="RefreshPage" />
            </apex:actionsupport>
        </apex:outputPanel>
        <apex:actionFunction id="Refresh" action="{!saved}" name="RefreshPage" reRender="detailContainer,clist"  />  
    </apex:form>   
</apex:page>
 

I am getting an error when I try to do a webservice callout to cvent.  I am using the SOAP1.1 wsdl

 

11:31:10.147 (1147039000)|EXCEPTION_THROWN|[877]|System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element http://schemas.cvent.com/api/2006-11=LoginResult
11:31:10.147 (1147193000)|METHOD_EXIT|[18]|01pW00000008dg0|apiCventCom200611.V200611Soap.Login(String, String, String)
11:31:10.147 (1147211000)|CONSTRUCTOR_EXIT|[1]|01pW00000008di6|<init>()
11:31:10.147 (1147280000)|FATAL_ERROR|System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element http://schemas.cvent.com/api/2006-11=LoginResult

 

public apiCventCom200611.V200611Soap cv = new apiCventCom200611.V200611Soap();
    
    public ImportUserSurvey() {
         schemasCventComApi200611.LoginResult LoginResult = cv.Login(account, username, password);
        
         //assign login object to session
          cv.CventSessionHeaderValue = new cv.CventSessionHeader();
          cv.CventSessionHeaderValue.CventSessionValue = loginResult.CventSessionHeader;              


Hi..

 

if anybody knows abt cvent integration...howz it and how it is useful for salesforce ..to sync contacts..

 

thank you