• sayanasreekanth@gmail.com
  • NEWBIE
  • 5 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 3
    Replies

Hi All

I got the WSDL from the Middleware and it parsed in to Salesforce it generated 4 classes. I wrote a test code in order to see if we are getting a valid response. Here is the error throwing. Can anyone let me know what exactly is the issue.

 

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element TransactionDate

 

Below is the class generated which has the transactiondate. 

 

 public class AccountsReceivableDetail {
        public Date TransactionDate;
        public DateTime PostDateTime;
        public Decimal Amount;
        public Decimal RemainingAmount;
        public ibusCzncorpComEsbBusinessobjects.Tax Tax;
        public ibusCzncorpComEsbBusinessobjects.GLAccount GLAccount;
        public ibusCzncorpComEsbBusinessobjects.Payment[] Payment;
        public ibusCzncorpComEsbBusinessobjects.Adjustment[] Adjustment;
        private String[] TransactionDate_type_info = new String[]{'TransactionDate','http://www.w3.org/2001/XMLSchema','date','0','1','false'};
        private String[] PostDateTime_type_info = new String[]{'PostDateTime','http://www.w3.org/2001/XMLSchema','dateTime','0','1','false'};
        private String[] Amount_type_info = new String[]{'Amount','http://www.w3.org/2001/XMLSchema','decimal','0','1','false'};
        private String[] RemainingAmount_type_info = new String[]{'RemainingAmount','http://www.w3.org/2001/XMLSchema','decimal','0','1','false'};
        private String[] Tax_type_info = new String[]{'Tax','http://ibus.czncorp.com/ESB/BusinessObjects','Tax','0','1','false'};
        private String[] GLAccount_type_info = new String[]{'GLAccount','http://ibus.czncorp.com/ESB/BusinessObjects','GLAccount','0','1','false'};
        private String[] Payment_type_info = new String[]{'Payment','http://ibus.czncorp.com/ESB/BusinessObjects','Payment','0','-1','false'};
        private String[] Adjustment_type_info = new String[]{'Adjustment','http://ibus.czncorp.com/ESB/BusinessObjects','Adjustment','0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://ibus.czncorp.com/ESB/BusinessObjects','false','false'};
        private String[] field_order_type_info = new String[]{'TransactionDate','PostDateTime','Amount','RemainingAmount','Tax','GLAccount','Payment','Adjustment'};
    }

Hi All

 

I am getting this error when i write the ontabenter function on the tab.

<apex:tab label="Billing" name="billName" id="tabBilling" ontabenter="callCon('Billing');" style="background-color:white;"  rendered="{!IF(strSearchlevel='1',false,true)}">

<apex:outputText value="{!IF(lstDisputeInfo.size>0,'Yes','No')}" label="Account In Dispute" />

 <apex:actionFunction name="callCon" oncomplete="callCon1();">
                        <apex:param name="firstParam" value="" assignTo="{!Tabselected}"/>
                        </apex:actionFunction>

 

Below is the error. when i remove the ontabenter action it is not throwing the error, but i need to write the ontabenter action in order to capture the clicks on the tab. Please let me know your taughts on this.Appreciate your time and help.

 

The value 'null' is not valid for operator '>'

Error is in expression '{!IF(lstDisputeInfo.size>0,'Yes','No')}' in component <apex:outputText> in page summarypage

 

Hi

 

I am trying to insert a value in tool1.Search_by_GAN__c = 'linkselected'; But the value is getting null in debug log. it is entering in to the loop but throwing null value. I am sure i did some mistake in the visualforce page  I mentioned something wrong in the value in VF page mentioned below in Red.

 

VF page:

 <apex:outputLink target="_blank" onclick="callCon('DST');" value="https://www3.onlinefinancialdocs.com/tf/FANMedia?tx=Startup&cz=c060413270517141319080417&cmd=logon_&doctype=list&qta=verify">DST</apex:outputLink>

 

<apex:actionFunction name="callCon" oncomplete="callCon1();"/>
<apex:param name="firstParam" value="callcon1();" assignTo="{!linkselected}"/>
<apex:actionFunction name="callcon1" action="{!searchLink}"/>

 

Controller:

 public String linkSelected {get; set;}

 public PageReference searchLink() {

tool1 = new Tool_Used__c(); 
uList1 = new List<Users_of_Tool__c>(); 

if(linkSelected != null && linkSelected != '') {
system.debug('###### '+linkselected);
tool1.Search_by_GAN__c = 'linkselected';
}

}