A tool provided by Salesforce to generate Apex classes from a WSDL that allows for callouts to a SOAP based web service from Apex code.

learn more… | top users | synonyms

3
votes
0answers
14 views

Salesforce calls from Sesame (relational junction) are timing out

Just saw an error confirming that SalesForce is timing out Sesame calls: ConnectionException Failed to send request to https://xyx.salesforce.com/services/Soap/u/30.0/00Di....... ...
1
vote
1answer
32 views

Call method from apex class generated from wsdl file

I don't know how to call method from wsdl file apex class.This is wsdl file Anyone please help me for this.Now i want call "ConvertHistoricalValue" method for get response. How can i call it? ...
3
votes
1answer
44 views

generated class(es) have compilation errors

I'm trying to generate apex class from wsdl file. But it shows error "ClientSystemException: Exception class must extend another Exception class at 176:18" This is wsdl file. Thank you.
2
votes
1answer
39 views

Callout SOAP request header setting value on a simple type

I have a situation where I need to include a basic type with a value in the SOAP Header. The class generated with Fuse IT Explorer. Class: public class Action_element { public String Action; ...
0
votes
0answers
14 views

SSL certificate authentication on web service callout in Salesforce

I'm using mutual authentication and i need to use the certifcate in webservice callout can anyone provide some code on this. Here i'm using external webservice (Wsdl2apex). plsease its some urgent ...
0
votes
0answers
31 views

Namespace prefix in webservice callout

I have been breaking my head on this. I am a newbie in force.com just a week older. Any help on this will be like a life boat to me. Here is the issue: I am trying to call an external SOAP service ...
2
votes
1answer
54 views

WebServiceCallout (wsdl2apex)

good day! We have a system that consumes webservice in SAP. Due to the complexity of webservice structure that SF is invoking in SAP, we use the tool wsdl2apex to generate stub classes. Basically, ...
1
vote
1answer
18 views

FuseIt WSDL is not able to parse

i'm trying to parse wsdl URL: https://api.demo.ezidebit.com.au/v3-5/pci?singleWsdl but got following error. I tried parsing wsdl in different org but got the same error. Please let me know if there ...
1
vote
0answers
137 views

Client certificate authentication on web service callout in Salesforce

I am trying to invoke 3rd party web-services from Salesforce using WSDL2APEX. The client has also shared a .p12 certificate which I need to use for client authentication while making web-service call ...
4
votes
2answers
120 views

How to execute Anonymous Apex via the API/Web Service?

I am trying to connect from my c# client side app and execute some apex code. Here is what I've done so far (which maybe wrong): Went to Setup/Develop/API. Clicked Generate Apex WSDL Consumed ...
2
votes
2answers
300 views

Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attribute

I have a WSDL that I'm trying to generate into Apex Classes for a Web Service, but I get the following error: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attribute I have ...
2
votes
3answers
51 views

test class for the Wsdl2apex class

I have a wsdl2apex class which resembes like this. public class wwwmysiteComsfdcContract { public class sfdcContractWSDLSOAPQSPort { public String endpoint_x = ...
1
vote
0answers
185 views

Getting Unable to parse callout response. Apex type not found for element EMPLOYEE_ID while calling WSDL method

I have got a WSDL file and i have generated respective classes from provided WSDL using Apex -> Generate from WSDL functionality. Sub has been generated without any issue. I have wrote a class to ...
1
vote
1answer
101 views

How can I connect two Salesforce.com orgs by using the partner WSDL?

I would like OrgA to consume the Partner WSDL and connect to OrgB. OrgA should then be able to create a list of records (i.e. Cases) in OrgB. I read some of the related posts including this one but ...
2
votes
1answer
151 views

Authentication failure in SOAP callout to Experian QAS Pro, possibly due to invalid element in SOAP message

I am using the Experian QAS Pro for Address validation and am having a problem getting my calls to work. I used a SOAP plugin (Chrome Wizdler) and did successfully submit a call, but something in Apex ...
1
vote
0answers
65 views

Creating a Workflow Rule using the Metadata API and MetadataService class

Without using the Migration Tool, I need to create a workflow rule using apex and this MetadataService class. I have the following code, and it does run, however I get a exception in my custom class ...
1
vote
1answer
116 views

Integrating Salesforce CRM to Exact Target

I Have a requirement to call Soap API of Exact target via a callout from my Salesforce CRM Apex class. I am using the WSDL2APex approach and i'm able to successfully make the call to exact target and ...
0
votes
1answer
49 views

Apex to WSDL Generation [duplicate]

I have some apex classes generated by WSDL2APEX utility. Is there a way to generate WSDL from the apex class?
1
vote
1answer
152 views

Making Apex Callouts to consume Custom Apex Web Service STEPS?

I have two Orgs, the service ORG and the client Org. I want to feed data from service ORG into client org. I read from these two places: ...
1
vote
1answer
224 views

how do i get the sessionId in Apex class

I created a wsdl file from an SFDC instance A and generated 2 classes (ARTaskWebService and asyncARTaskWebService) from that wsdl file in another SFDC instance B. I realized I have to get a sessionID ...
1
vote
1answer
98 views

How to put information into SOAP envelope header <env: Header/>

Is it possible to add headers to the xml? We can add http headers, but we need to add information to the envelope header. We are using wsdl2apex and following the documentation here: ...
1
vote
1answer
84 views

Problem with Wsdl2apex with <s:extension> and value FuseIT tool

I've read several posts on this but have yet to find the correct solution. Basically, using the FuseIT wsdl2APex utility I'm having issues with wsdl definitions like this: <s:complexType ...
1
vote
1answer
38 views

How do I create a listener within my org to let others POST to it and save data?

What should I look into to create a service within my org to let others POST to my org and save data? For example, I have a list within my org and want to POST to it from outside salesforce (let's say ...
3
votes
4answers
452 views

Failed to parse wsdl: Found more than one wsdl:portType

While parsing the wsdl document from local storage i got this below error Failed to parse wsdl: Found more than one wsdl:portType. WSDL with multiple portType not supported And so could not ...
0
votes
1answer
75 views

Apex Generation Failed Unable to find element for {http://tempuri.org/}Get3DAssemblyFile_STLResponse

I am getting this error while generating wsdl file. Can any one help me to fix this error. My wsdl : <?xml version="1.0" encoding="utf-8"?> <xsd:import ...
1
vote
1answer
228 views

Apex Generation Failed Unable to find schema for element

I am trying wsdl for first time. When I try to generate from wsdl to my salesforce. I am getting error : Error Apex Generation Failed Unable to find schema for element; ...
1
vote
1answer
50 views

what method can i use in ENTERPRISE WSDL for creating incident?

is there any seperate method available for creating incident in ENTERPRISE WSDL of remedyforce? Any suggestion regarding this would be great!
0
votes
1answer
87 views

SOAP API: Applying filter to a retrieve data in Apex

I generated Apex code from the ExactTarget SOAP Api: Exacttarget Wsdl URL I am trying to make webservicecallouts using apex to retrieve "SentEvent" for an specific subscriber. Using SOAPUi it works ...
0
votes
0answers
79 views

Receiving Callout Exception when calling a .NET service

Background of the service: The service is written in .NET and the service is also IP protected. The issue: The WSDL contains a ref="s:schema" element and a s:any element. I have removed the s:any ...
5
votes
2answers
252 views

Unable to Generate Apex Code from WSDL

I have two salesforce orgs and I am trying to do SOAP integration between these two via WSDL import. From the first Salesforce Org (let us say S1) I did the following a) Clicked on the "WSDL" of ...
1
vote
1answer
88 views

Partner WSDL Stub Type Info

Can someone explain whats the meaning 1, 1 in the following type info? and also false meaning not required type? private String[] type_x_type_info = new ...
5
votes
1answer
392 views

Named Credentials in wsdl2apex Class

I have a few questions regarding Named Credentials. I need to perform a SOAP based call out to an external system from Sales Force. I used the wsdl2apex function to generate the class for the call ...
1
vote
2answers
114 views

Unable to Parse the WSDL

Here is the link for the WSDL I am getting the following Error: Error: Failed to parse wsdl: Found more than one wsdl:binding. WSDL with multiple binding not supported
6
votes
2answers
406 views

wsdl2apex class and System.NullPointerException: Attempt to de-reference a null object

I am trying to connect to a weather API. The class was created from wsdl2apex public class AsyncWeatherRequestWebService2 { public class GetCitiesByCountryResponse_elementFuture extends ...
-1
votes
2answers
207 views

WSDL Testing using soapUI

I am testing a custom WSDL using SoapUI. when i try to run the wsdl it consumed the salesforce record but noting displayed on SoapUI.But when i checked in the salesforce it shows that the record has ...
2
votes
2answers
767 views

<soap:body> vs <env:body> Request XML is not generating properly: SOAP integration

I am trying to integrate AddressDoctor with my Salesforce App. Below is the service I am using. AddressDoctor Webservice Validator and description The service needs the request to be in format of ...
1
vote
1answer
33 views

SOAP End Point Id Clarification [duplicate]

I want to know whats the significance of the ID "0DFm00000007Om6" in the following SOAP WS Stub, I see this is only added for enterprise WSDL Stub endpoints not for partner WSDL Stub endpoints, is it ...
0
votes
1answer
505 views

“Cannot execute the continuation for Web Service calls” error when using an Asynchronous Callout

Working through a quick example of using a Continuation to make an async web service callout produced the following error after pressing the apex:commandButton that called the action returning the ...
3
votes
3answers
2k views

Asynchronous Callout from an Imported WSDL

I developed VisualForce page with asynchronous callouts to web service according to link. It is working fine, my page is showing results after callback is returned. I really like pattern with ...
1
vote
2answers
115 views

Salesforce record and attachement export to ftp folder

I want to export record(Contact) with image(attachment ) into ftp folder. The export format for record are excel, xml and txt. Image in the form of jpeg. Each record should have separate file. For ...
3
votes
3answers
782 views

Invalid Session id in Wsdl2Apex

I created an Apex class (global) containing Webservice methods-> generated WSDL out of it->consumed it in a different org. While instantiating the webservice callout, I set the http header to contain ...
2
votes
1answer
444 views

WSDL2Apex Generation Failed Unable to find element for

The WSDL I put through the generator gets parsed without a problem, but when I go to generate the actual class, it results in the following error. Apex Generation Failed Unable to find element for ...
1
vote
1answer
671 views

SOAP API- Inbound call to salesforce

Am new to integration ,and can code in APex. I have written a apex class exposed as webservice to call. As i understand : to get an inbound call to salesforce - this apex codes wsdl needs to shared ...
0
votes
1answer
536 views

Testing API across two sandboxes : org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

I am trying to test an outbound messaging request end to end from sandbox A to B. Have imported the WSDL from sandbox A to B. Have given the endpoint in server A as server B's URL (but as both these ...
0
votes
1answer
145 views

Building a Listener in Salesforce (using Apex)

I have build an outbound message workflow in ORG A, and I want to test this end to end with my other ORGB -by building a listener in ORGB. I can code,only in Apex language . I have imported the WSDL ...
0
votes
2answers
48 views

Please let me know how to write a test class for the following trigger [closed]

trigger Leadsource2toleadsource on Contact (before insert,before update) { for(Contact c : trigger.new) { if ((c.LeadSource == null ) && (c.Lead_Source_2__c != null)) { ...
1
vote
1answer
109 views

How to support inheritance with WSDL2Apex

I'm attempting to update the tooling api project (https://github.com/afawcett/apex-toolingapi) with a SOAP variant in addition to the REST api. The issue I'm currently having is supporting all the ...
0
votes
0answers
566 views

How to generate an XML namespace prefix manually

I have created a class by using wsdl 2 apex and consuming a wsdl file provided by BizTalk. Previously I have consumed a similar .Net web services and have never ran into any issues. Now when the ...
1
vote
1answer
165 views

BizTalk and SalesForce integration: the query or retrieve function returns unknown type

The bit "sf:**Contact" is causing the issue. BizTalk will try to ensure the message is “well formed”, but it is not as ‘sf’ is an undeclared prefix.
1
vote
1answer
163 views

FuseIT WSDL Parser -

I am trying to parse a wsdl (this one) using the FuseIT SFDC Explorer tool, as the wsdl has some xsd imports. I am getting an error that I dont understand, not sure if it is wsdl related or parser ...