The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
25 views

Error when generating apex class from wsdl

I'm trying to generate apex class from wsql in order to use the soap api calls in post-install scripts for an application I'm developing on Salesforce. But when I use the Salesforces interface to ...
1
vote
2answers
55 views

SOAP callout fails silently

I have generated an Apex class from my WSDL successfully and was able to authenticate on the remote server by setting the HTTP Authorization header manually. I have double checked on the remote server ...
0
votes
1answer
86 views

Get data from SAP to Salesforce using WSDL

I have attached the WSDL2Apex class for getting data Sap to Salesforce. I am bit confused about this Apex code is correct or not for this WSDL file which is to connect the WSDL to get data from ...
3
votes
1answer
43 views

Calling an ASP.NET SOAP service and passing a List<> of custom objects

I created the APEX class from the WSDL of an ASP.NET asmx service, this now gives me access to the types and methods provided by my service. One of the methods takes in a List of objects described by ...
0
votes
0answers
24 views

How to connect to SAP from Salesforce with the SAP SD wsdl [duplicate]

Having SAP SD WSDL file how can I connect to SAP from Salesforce ? After connecting with salesforce, I only want to view the data. 1.Now i convert this WSDL file into apex classes next step what can ...
3
votes
1answer
42 views

Real time Integration - Approach

Scenario: From Salesforce on click of a button a Unique Id has to be passed to the external System which responds with 1000s of records which needs to be inserted in one of the SFDC custom Objects. ...
1
vote
1answer
52 views

How to pass variable of type ArrayOfString to Apex function?

I have an Apex class generated from a WSDL. There is a function in the class that takes an ArrayOfString object as input. For testing, how can I assign a value to a variable of type ArrayOfString? I ...
1
vote
1answer
184 views

Forming SOAP header through apex class if the WSDL provided has no information regarding the header

<soapenv:Header> <wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:SOAP-ENV="SOAP-ENV"> <wsse:UsernameToken wsu:Id="UsernameToken-1" ...
4
votes
5answers
324 views

Importing UPS Street Address WSDL into Apex

Have anybody been able to successfully use the UPS Street Address Validation WSDL in Apex? I'm getting the following error message when I use the wsdl2apex: "Unsupported WSDL. Found more than one ...
6
votes
3answers
765 views

web service callout failed error

I'm having an issue with the Address Verification method available through StrikeIron. I imported the following WSDL and am using the generated wsdl2apex code. The WSDL I'm using is here: ...
1
vote
1answer
491 views

Forcing a test method to fail if a web service callout is attempted

When an apex test method attempts to make a web service callout something like the following is logged: 23:11:45.288 (4288851000)|EXCEPTION_THROWN|[116]|System.TypeException: Methods defined as ...
2
votes
1answer
102 views

How are wsdl2apex generated private member variables referenced?

When generating apex code through a WSDL, several classes and member variables are generated. Each data type has its own class and the class has at least two private member variables associated with ...