• narasimharaju monapati 13
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hello Mates,

I am getting below error when I am in Lightning Experience Rollout Specialist step - 6 though I am using new trailhead playground.

Challenge Not yet complete... here's what's wrong:
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: GZQPYBSK
Hi ,

I am completed the Multiple choice questions for Platform Developer 2 as well as the 4 super badges. How do i link Webaccessor account to Trailhead? Has anyone got any email from salesforce after they completed the 4 super badges?

User-added image
Hi Guys,

I have generated Apex stub from WSDL shared by other application.I am trying to invoke this service from salesforce but its getting errored out with 'Web service callout failed: Failed to get next element'.  When we are trying to hit the service through SOAPUI with below request its working. It seems issue is with some namespace binding  for InvoiceID
For SOAP UI:  <typ:invoiceId>90153875888</typ:invoiceId>
For Salesforce:  <invoiceId>90153875888</invoiceId>
How can i fix this issue?

SOAPUI Soap Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://cxf.apache.org/mime/types">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:invoiceFileRequest>
         <!--Optional:-->
         <typ:invoiceId>90153875888</typ:invoiceId>
      </typ:invoiceFileRequest>
   </soapenv:Body>
</soapenv:Envelope>
Salesforce generated Soap meesage:
 
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <env:Header/>
   <env:Body>
   <m:invoiceFileRequest xmlns:m="http://cxf.apache.org/mime/types">
   <invoiceId>90153875888</invoiceId>
   </m:invoiceFileRequest>
   </env:Body>
   </env:Envelope>

Below is generated apex code.
public class TarkkicxfApacheOrgMimeTypes {
    public class invoiceFileRequest {
        public String invoiceId;
        private String[] invoiceId_type_info = new String[]{'invoiceId','http://cxf.apache.org/mime/types',null,'0','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://cxf.apache.org/mime/types','false','false'};
        private String[] field_order_type_info = new String[]{'invoiceId'};
    }
    public class invoiceFileResponse {
        public String invoiceId;
        public TarkkiabpWsTarkkiElisaFi.tarkkiAbpInvoice invoice;
        public String fileContent;
        private String[] invoiceId_type_info = new String[]{'invoiceId','http://cxf.apache.org/mime/types',null,'0','1','false'};
        private String[] invoice_type_info = new String[]{'invoice','http://cxf.apache.org/mime/types',null,'0','1','false'};
        private String[] fileContent_type_info = new String[]{'fileContent','http://cxf.apache.org/mime/types',null,'0','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://cxf.apache.org/mime/types','false','false'};
        private String[] field_order_type_info = new String[]{'invoiceId','invoice','fileContent'};
    }
}
public class TarkkiabpWsTarkkiElisaFi {
    
    public class tarkkiAbpInvoice {
        private String[] apex_schema_type_info = new String[]{'http://abp.ws.tarkki.elisa.fi/','false','false'};
        private String[] field_order_type_info = new String[]{};
    }
    
    public class AbpCorporateInvoiceServiceImplPort {
        public String endpoint_x = 'http://xxx.xxx.xx.7x:4xx/services/viewArchi';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCertName_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'http://cxf.apache.org/mime/types', 'TarkkicxfApacheOrgMimeTypes', 'http://abp.ws.tarkki.elisa.fi/', 'TarkkiabpWsTarkkiElisaFi'};
              
        public TarkkicxfApacheOrgMimeTypes.invoiceFileResponse getInvoiceFile(String invoiceId) {
            TarkkicxfApacheOrgMimeTypes.invoiceFileRequest request_x = new TarkkicxfApacheOrgMimeTypes.invoiceFileRequest();
            request_x.invoiceId = invoiceId;
            TarkkicxfApacheOrgMimeTypes.invoiceFileResponse response_x;
            Map<String, TarkkicxfApacheOrgMimeTypes.invoiceFileResponse> response_map_x = new Map<String, TarkkicxfApacheOrgMimeTypes.invoiceFileResponse>();
            response_map_x.put('response_x', response_x);
            system.debug('--------------------------'+request_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              '',
              'http://cxf.apache.org/mime/types',
              'invoiceFileRequest',
              'http://cxf.apache.org/mime/types',
              'invoiceFileResponse',
              'TarkkicxfApacheOrgMimeTypes.invoiceFileResponse'}
            );
            response_x = response_map_x.get('response_x');
            return response_x;
        }
        
       
    }
}
Thank you in advance!

 

Hi,

 

I found only 2 messages regarding the above exception and none of them helped me.

Can anyone explain me when this happens?

 

I'm trying to connect to the attached WSDL with no success.

Any help will be appreciated.

Thanks,

Yishay

 

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://example.com" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax24="http://text.lowagie.com/xsd" xmlns:ax21="http://io.java/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://example.com">
<wsdl:documentation>
Example
</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ax28="http://example.com/xsd" xmlns:ax26="http://text.lowagie.com/xsd" xmlns:ax23="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://example.com">
<xs:import namespace="http://io.java/xsd"/>
<xs:import namespace="http://text.lowagie.com/xsd"/>
<xs:import namespace="http://example.com/xsd"/>
<xs:element name="convert">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="html" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="convertResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax28:MergeXfdfToFormResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://example.com/xsd">
<xs:complexType name="MergeXfdfToFormResult">
<xs:sequence>
<xs:element minOccurs="0" name="errorMessage" nillable="true" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pdf" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="resultCode" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="convertRequest">
<wsdl:part name="parameters" element="ns:convert"/>
</wsdl:message>
<wsdl:message name="convertResponse">
<wsdl:part name="parameters" element="ns:convertResponse"/>
</wsdl:message>
<wsdl:portType name="ConvertionServiceServicePortType">
<wsdl:operation name="convert">
<wsdl:input message="ns:convertRequest" wsaw:Action="urn:convert"/>
<wsdl:output message="ns:convertResponse" wsaw:Action="urn:convertResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ConvertionServiceServiceSoap11Binding" type="ns:ConvertionServiceServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="convert">
<soap:operation soapAction="urn:convert" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ConvertionServiceService">
<wsdl:port name="ConvertionServiceServiceHttpSoap11Endpoint" binding="ns:ConvertionServiceServiceSoap11Binding">
<soap:address location="http://localhost:8080/axis2/services/ConvertionServiceService.ConvertionServiceServiceHttpSoap11Endpoint/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>