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

0
votes
1answer
17 views

String.valueOf((String)jsonBodyMap.get(pfield))) is retuning null from the JSON object

Hi im trying to fetch the string value from JSOn object dynamically and its retuning null, works fine if i specify the field names but i dont want to hardcode the field names want to pass it pass it ...
1
vote
0answers
19 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
23 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 ...
1
vote
4answers
47 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
25 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
30 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
11 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
28 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
42 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
88 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
34 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 ...
3
votes
1answer
139 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
54 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
152 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
107 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
249 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
28 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 ...
2
votes
1answer
170 views

Callout Error SOAP WSDL

Problem with Callout from salesforce. Hello All I have used an wsdl to generate apex class inside salesforce and when i am trying to call it from execute anonymous window in developer console i am ...
0
votes
1answer
241 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 ...
2
votes
2answers
727 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
61 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
320 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
199 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
406 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
266 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
83 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
33 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
58 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
268 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
106 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
96 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 ...
3
votes
1answer
118 views

While calling Webservice got error

How to establish salesforce to salesforce connection using SOAP call (Apex WSDL)? It is related to : How do invoke an apex method of one org, from another org? I am new at integration and have two ...
1
vote
1answer
75 views

Metadata API WSDL Import errror

I'm trying to import metadata wsdl in my dev org, i'm getting following error any help? Apex Generation Failed Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType Also I'm looking to ...
0
votes
0answers
90 views

while calling a apex class generated from wsdl , getting the following error. can you please help. Thanks in advance

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not found, missing ...
2
votes
0answers
169 views

Error in request then using WSDL2APEX

Im facing an issue when I try to import my WSDL into Salesforce and generate APEX code from this one. When I add a targetnamespace to my second schema in the following file, which is required in ...
1
vote
1answer
213 views

System.Web.Services.Protocols.SoapException: Server was unable to read request

Visualforce Error Help for this Page > System.CalloutException: Web service callout failed: WebService > returned a SOAP Fault: System.Web.Services.Protocols.SoapException: > Server was ...
0
votes
0answers
46 views

WSDL to Apex <foo a=“b”><bar>baz</bar></foo> to <foo bar=“baz”>bar</foo>

Problem I imported a WSDL to Apex Class. And generate the next class: public class MyService { public class bar { public String bar; private String[] bar_type_info = new String[] ...
2
votes
1answer
705 views

Issue with Adding reference Webservice WSDL to VS2010

I have generated a WSDL for an Apex webservice i have created and trying to call it from a webpage in VS2010. After adding this as reference i am getting the following error Error 1 Unable to ...
0
votes
1answer
486 views

Insert new records in to custom object from json string in salesforce

I am working with the new JSON Parsing functionality, I have API URL that contain json string.I have created one VF page that displays JSON string data in pageblock table in record format from API ...
3
votes
3answers
113 views

Which WSDL document is required to integrate External applications

Iam trying to call a external webservice from salesforce api or apex methods. For that we need WSDL document. From where i will get this WSDL file. 3rd party will provide this wsdl file or we can ...
2
votes
1answer
63 views

WSDL processing through Apex

I want to parse my WSDL in Apex. I have gone through the options available through Apex Class->Parse WSDL. But issue is that, it has a limitation of choosing a WSDL file of upto 1 MB whereas my WSDL ...
2
votes
1answer
292 views

Apex api to parse wsdl and generate apex code

I want to build a SaopUI like tool in salesforce.So I need to access the ''Parse WSDL'' api of salesforce. Or how can I parse the WSDL file or Apex class in order to extract the methods of web ...
1
vote
1answer
267 views

IO Exception: External server did not return any content

I have a window service that is password protected.I have generate Apex class from that window service WSDL.Now i am try to call the service using stub method its shows me a error message"IO ExCeption ...
5
votes
1answer
393 views

QName in WSDL XSD file throwing parsing error

While parsing a WSDL having a XSD in which <xs:attribute name="FactoryType" type="xs:QName" /> is there. This QName is not accepted by the salesfroce which throws parsing error. Please help.
0
votes
0answers
154 views

Call (Fetch - Insert -Update) salesforce objects from .NET application and viceversa

I am curious to know about best approach i can follow to overcome my assignment. I have tried to call External Web services using APEX class and WSDL generation in Salesforce. e.g GetQuote function ...
1
vote
1answer
1k views

Error: Failed to parse wsdl: Unable to find wsdl:binding in the specified wsdl

when i try to parse the following WSDL then it gives me error::"Failed to parse wsdl: Unable to find wsdl:binding in the specified wsdl" <?xml version="1.0" encoding="utf-8" ? > ...
0
votes
2answers
1k views

How to parse WSDL (Error: Failed to parse wsdl: Unknown element: import)

I have wsdl file i want to parse wsdl into APEX but when i try to do this i get following error::"Error: Failed to parse wsdl: Unknown element: import" MY WSDL/XML file is <?xml version="1.0" ...
0
votes
1answer
2k views

Looking for hands on example or reference for SOAP API integration

I am looking for some help in understanding Salesforce SOAP integration. Also, what would you suggestion,if I am a non-java person then the efforts i need to take up via books and tool to learn the ...
2
votes
0answers
232 views

WSDL2Apex utility

We used a WSDL and generated an Apex class from that WSDL. Since there were multiple namespaces in the WSDL, we gave a common class name. (as recommended in SFDC) Once the Apex class was generated it ...
3
votes
1answer
50 views

SANDBOX - Access webservice getting below error - added my machine IP in the Remote Site Detail

ERROR The requested URL could not be retrieved While trying to retrieve the URL: The following error was encountered: • Access Denied. Access control configuration prevents your request from ...