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

1
vote
1answer
32 views

Unknown Error for SOAP connection

I have created classes from WSDL2APEX, see my previous question for example: Test on WSDL2APEX classes. But this is a different bunch of classes. The webservice in the example works well. I have read ...
1
vote
2answers
36 views

Test on WSDL2APEX classes

After modifying the WSDL file to remove all the tags, I successfully generated the Apex classes depending on the WSDL. However, now, as a beginner, I really do not know how to test if the classes are ...
2
votes
2answers
38 views

First Time WSDL2Apex : Trying to Reference WSDL Class but receiving Compile Error: Method does not exist or incorrect signature

This is my first time using WSDL2Apex, or attempting a Callout to a 3rd party API, so please bare with me. Implementation Goal: Contract is a child-object of Quote. When a new Contract record is ...
2
votes
1answer
49 views

Error in Generate WSDL: Apex Generation Failed Unable to find complexType for {http://soap.sforce.com..}RelationshipReferenceTo

I'm trying to Generate from WSDL. I have created a WSDL for one class containing webservice methods (MyClass) and now generating the class from wsdl in another org. Initially I was getting error ...
2
votes
1answer
63 views

Where can i find the header information in a webservice callout request?

we are integrating Salesforce and SAP systems. For that we are making a callout to SAP with username and password in the header. When i checked the debug log the callout_request entry contains an xml ...
1
vote
2answers
39 views

Salesforce-Trizetto Integration Issues

We are facing the below error while making call out, to Trizetto web service(GetGroup_GroupId) after generating classes by WSDL2Apex. “System.CalloutException: Web service callout failed: Unable ...
0
votes
1answer
79 views

Exact Target SOAP API: Using 'SimpleFilterPart' for Retrieve

I am facing a problem when triying to use the filter of the method 'retrieve' for the SOAP API of Exact Target. I dont know how to set an attribute to a node of the xml generated when using ...
5
votes
1answer
66 views

Axapta Wsdl2Apex Error

I am trying to import a WSDL in order to create the apex wrapper for a Dynamics Axapta SOAP Service. Firstly, I've commented 'xsd:import' elements because Salesforce not support them. After this, I ...
3
votes
0answers
38 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
77 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
60 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
63 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
22 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
58 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 ...
3
votes
1answer
111 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
26 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
205 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
212 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
790 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
58 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
356 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
161 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
219 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
90 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
152 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
51 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
205 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
340 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
174 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
107 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
55 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
832 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
113 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
361 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
67 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
139 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
98 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
369 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
121 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
523 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
145 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
504 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
247 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
973 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
39 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 ...
1
vote
1answer
710 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
145 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
1k 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
649 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 ...