• AravindCC
  • NEWBIE
  • 0 Points
  • Member since 2013

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

Hi I wrote a web service client in apex and my service is running some where in AWS. When I execute this client I am getting an error like this.

 

 

 

04:30:53.898 (898029000)|EXCEPTION_THROWN|[55]|System.CalloutException: Web service callout failed: Failed to get next element
04:30:53.898 (898227000)|HEAP_ALLOCATE|[55]|Bytes:58
04:30:53.898 (898255000)|SYSTEM_METHOD_EXIT|[55]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST)
04:30:53.898 (898281000)|METHOD_EXIT|[89]|01p90000002PtQQ|DpaaSSoapWebService.DataProtectionWebServiceImplPort.tokenize(String, String, LIST<DpaaSSoapWebService.Field>)
04:30:53.898 (898338000)|VARIABLE_SCOPE_BEGIN|[95]|e|Exception|true|false
04:30:53.898 (898493000)|VARIABLE_ASSIGNMENT|[95]|e|"common.apex.runtime.impl.ExecutionException: Web service callout failed: Failed to get next element"|0x7ba0f658
04:30:53.898 (898512000)|STATEMENT_EXECUTE|[95]
04:30:53.898 (898518000)|STATEMENT_EXECUTE|[96]
04:30:53.898 (898561000)|METHOD_ENTRY|[96]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_render(Boolean)
04:30:53.898 (898709000)|VARIABLE_ASSIGNMENT|[-1]|this|{"detokenizedTokens":"0xe69935d","dpaasDecryptedFieldV (5 more) ...":"0x3549c60f","dpaasEncryptedFieldV (5 more) ...":"0x7e6a1e1d","dpaasFieldVoList":"0x4c74b89f","dpaasSoapWebService":"0x68df42c1","errors":"0x48507f95","isError":false,"render":true,"resultedFields":"0x1997c2b1","status":""}|0x51a1a957
04:30:53.898 (898734000)|HEAP_ALLOCATE|[11]|Bytes:5
04:30:53.898 (898757000)|VARIABLE_ASSIGNMENT|[-1]|value|false
04:30:53.898 (898771000)|HEAP_ALLOCATE|[11]|Bytes:5
04:30:53.898 (898800000)|VARIABLE_ASSIGNMENT|[11]|this.render|false|0x51a1a957
04:30:53.898 (898819000)|METHOD_EXIT|[96]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_render(Boolean)
04:30:53.898 (898829000)|STATEMENT_EXECUTE|[97]
04:30:53.898 (898863000)|METHOD_ENTRY|[97]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_isError(Boolean)
04:30:53.898 (898961000)|VARIABLE_ASSIGNMENT|[-1]|this|{"detokenizedTokens":"0xe69935d","dpaasDecryptedFieldV (5 more) ...":"0x3549c60f","dpaasEncryptedFieldV (5 more) ...":"0x7e6a1e1d","dpaasFieldVoList":"0x4c74b89f","dpaasSoapWebService":"0x68df42c1","errors":"0x48507f95","isError":false,"render":false,"resultedFields":"0x1997c2b1","status":""}|0x51a1a957
04:30:53.898 (898981000)|HEAP_ALLOCATE|[10]|Bytes:5
04:30:53.899 (899004000)|VARIABLE_ASSIGNMENT|[-1]|value|true
04:30:53.899 (899021000)|HEAP_ALLOCATE|[10]|Bytes:5
04:30:53.899 (899047000)|VARIABLE_ASSIGNMENT|[10]|this.isError|true|0x51a1a957
04:30:53.899 (899069000)|METHOD_EXIT|[97]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_isError(Boolean)
04:30:53.899 (899080000)|STATEMENT_EXECUTE|[98]
04:30:53.899 (899107000)|SYSTEM_METHOD_ENTRY|[98]|System.CalloutException.getMessage()
04:30:53.899 (899145000)|HEAP_ALLOCATE|[98]|Bytes:54
04:30:53.899 (899161000)|SYSTEM_METHOD_EXIT|[98]|System.CalloutException.getMessage()
04:30:53.899 (899193000)|METHOD_ENTRY|[98]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_status(String)
04:30:53.899 (899282000)|VARIABLE_ASSIGNMENT|[-1]|this|{"detokenizedTokens":"0xe69935d","dpaasDecryptedFieldV (5 more) ...":"0x3549c60f","dpaasEncryptedFieldV (5 more) ...":"0x7e6a1e1d","dpaasFieldVoList":"0x4c74b89f","dpaasSoapWebService":"0x68df42c1","errors":"0x48507f95","isError":true,"render":false,"resultedFields":"0x1997c2b1","status":""}|0x51a1a957
04:30:53.899 (899315000)|VARIABLE_ASSIGNMENT|[-1]|value|"Web service callout (34 more) ..."
04:30:53.899 (899345000)|VARIABLE_ASSIGNMENT|[9]|this.status|"Web service callout (34 more) ..."|0x51a1a957
04:30:53.899 (899360000)|METHOD_EXIT|[98]|01p90000002PtQS|DpaasWebServiceClient.__sfdc_status(String)
04:30:53.899 (899368000)|STATEMENT_EXECUTE|[101]
04:30:53.899 (899384000)|HEAP_ALLOCATE|[101]|Bytes:28
04:30:53.899 (899447000)|METHOD_EXIT|[168]|01p90000002PtQS|DpaasWebServiceClient.tokenize()
04:30:53.902 (902294000)|CODE_UNIT_FINISHED|DpaasWebServiceClient invoke(tokenizationStep2)
04:30:53.903 (903327000)|VF_APEX_CALL|j_id11|{!tokenizationStep2}|PageReference:/apex/dpaastokenizationstep2
04:30:53.913 (913159000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|DpaasWebServiceClient get(isError)
04:30:53.913 (913186000)|SYSTEM_MODE_ENTER|true
04:30:53.913 (913202000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|isError
04:30:53.913 (913222000)|CODE_UNIT_FINISHED|isError
04:30:53.913 (913232000)|CODE_UNIT_FINISHED|DpaasWebServiceClient get(isError)
04:30:53.913 (913357000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|DpaasWebServiceClient get(render)
04:30:53.913 (913371000)|SYSTEM_MODE_ENTER|true
04:30:53.913 (913382000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|render
04:30:53.913 (913394000)|CODE_UNIT_FINISHED|render
04:30:53.913 (913403000)|CODE_UNIT_FINISHED|DpaasWebServiceClient get(render)
04:30:53.932 (932203000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|DpaasWebServiceClient get(resultStatus)
04:30:53.932 (932234000)|SYSTEM_MODE_ENTER|true
04:30:53.932 (932249000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|resultStatus
04:30:53.932 (932271000)|CODE_UNIT_FINISHED|resultStatus
04:30:53.932 (932281000)|CODE_UNIT_FINISHED|DpaasWebServiceClient get(resultStatus)
04:30:53.932 (932523000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|DpaasWebServiceClient get(status)
04:30:53.932 (932537000)|SYSTEM_MODE_ENTER|true
04:30:53.932 (932548000)|CODE_UNIT_STARTED|[EXTERNAL]|01p90000002PtQS|status
04:30:53.932 (932564000)|CODE_UNIT_FINISHED|status
04:30:53.932 (932573000)|CODE_UNIT_FINISHED|DpaasWebServiceClient get(status)
04:30:53.934 (934364000)|VF_SERIALIZE_VIEWSTATE_BEGIN|06690000002Jzuy
04:30:53.936 (936594000)|VF_SERIALIZE_VIEWSTATE_END
04:30:54.593 (939789000)|CUMULATIVE_LIMIT_USAGE
04:30:54.593|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Number of code statements: 60 out of 200000
Maximum heap size: 0 out of 6000000
Number of callouts: 1 out of 10
Number of Email Invocations: 0 out of 10
Number of fields describes: 0 out of 100
Number of record type describes: 0 out of 100
Number of child relationships describes: 0 out of 100
Number of picklist describes: 0 out of 100
Number of future calls: 0 out of 10

04:30:54.593|CUMULATIVE_LIMIT_USAGE_END

04:30:53.939 (939831000)|CODE_UNIT_FINISHED|VF: /apex/dpaasTokenizationStep1
04:30:53.939 (939841000)|EXECUTION_FINISHED

 

I observed the logs from developer console in that I was able to see the SOAP Response after that it showing like this in developer console.

 

I stuck over here. Can any one help me on this. Its a crtical for me. Plz

 

Thanks in advance

AravindCC