Skip to main content

Questions tagged [wsdl2apex]

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.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
86 views

Sending an HTTP request with an imported WSDL with the string 'http://0X'

I have a WSDL that i consume imported as an Apex class. One of the methods receives one String param that is the account website, and one of our users inserted a website that starts with 'http://06'. ...
user37586's user avatar
  • 660
2 votes
0 answers
164 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....... connection....
cloudy-ritz's user avatar
  • 2,583
2 votes
0 answers
880 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 ...
Prakash's user avatar
  • 198
2 votes
3 answers
245 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 = 'http://sfdc2-osb-dit.us....
Suresh's user avatar
  • 975
2 votes
0 answers
974 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 ...
erikduvet's user avatar
  • 265
2 votes
0 answers
897 views

WSDL2Apex Generation Failed Element not defined for part 'result'

I'm trying to import a wsdl file into salesforce with wsdl2apex, however i'm failing with the following error: Apex Generation Failed Element not defined for part 'result' These are my message ...
pjcarly's user avatar
  • 7,491
1 vote
1 answer
200 views

'FuseIT SFDC Explorer' tool for importing WSDL(with multiple import, include tag and XSD files)

I am trying to import a WSDL in FuseIT tool which has multiple nesting of XSD and other WSDLs in it. I have a folder with all XSD and WSDL files. Now I want to remove nesting from WSDL and combine all ...
Er Anjum Attar's user avatar
1 vote
1 answer
416 views

WSDL2Apex not generating type info for class properties

I am using WSDL2Apex tool in FuseIT Explorer to generate Apex classes. After tweaking my wsdl file a bit in order to get it to parse with the tool, all the classes are generated properly with the SOAP ...
Whatamidoing's user avatar
1 vote
0 answers
370 views

SOAP Call w/o WSDL body too large error

I am working on integrating an asmx webservice into salesforce. I was unable to parse the WSDL into apex, so have to build the calls manually. The call I built works and is received when literal ...
JoshuaWS's user avatar
  • 113
1 vote
0 answers
623 views

No data produced from map, please check source profile and make sure it matches source data. NAmespace problem in wsdl link

I used wsdl link, salesforce triggering boomi and sending data. but it is showing error: "No data produced from map, please check source profile and make sure it matches source data." Initially it ...
Sushant Panigrahi's user avatar
1 vote
1 answer
286 views

Salesforce Apex SOAP Request to Google AdWords API

I am attempting to make a call from an Apex class that I created to the Google AdWords API via SOAP Request. I am new to SOAP so I am not sure exactly how to make the call. I have generated 2 classes ...
Coova's user avatar
  • 180
1 vote
0 answers
2k 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 ...
Pramod Kumar's user avatar
  • 5,300
1 vote
1 answer
320 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!
KUMARESAN MUPPIDATHI's user avatar
1 vote
0 answers
1k views

Error while getting response in SOAP Webservice Integration

I am facing issue while invoking a webservice call. Request is getting processed properly at other system end but since its an async call I get back response with empty body. Problem is this ...
user3458117's user avatar
1 vote
0 answers
382 views

Consuming a 3rd Party WSDL

I'm hoping you can help. I have a 3rd party WSDL that i'm trying to load into Salesforce, but I seem to be hitting some issues. I've loaded it in, and whenever the 3rd party send me over the call to ...
mr-man's user avatar
  • 11
0 votes
0 answers
77 views

Error while saving MetadataServiceImported class

Trying to generate a MetadataService class using the instructions on the github repo of financial force, the MetadataServiceImported class generated from the WSDL is not getting saved and it says ...
Donal Shijan's user avatar
0 votes
1 answer
995 views

Failed to Parse WSDL:External schema import not supported

While parsing the WSDL in throws an error as External schema import not supported Error: Failed to parse wsdl: Found schema import from location http://crcind.com/csp/samples/SOAP.ByNameDataSet.cls?...
user97613's user avatar
0 votes
0 answers
91 views

3rd Party WSDL is Failing WSDL2Apex

I am migrating an application to the Salesforce environment. We have to make a soap call in order for the application to work appropriately. However, I have run into an issue with the vendors WSDL. ...
thinker's user avatar
  • 1,442
0 votes
1 answer
247 views

How to deserialize attributes of SOAP responses in classes generated with wsdl2apex?

I have a class generated with wsdl2apex, which contains some response types, let's say it looks like this: public class ResponseGetData { public SomeDataAttr Data; private String[] ...
kwojt's user avatar
  • 66
0 votes
1 answer
227 views

Marketing Cloud SOAP API - How to Retrieve Latest Subscribers?

How to perform a retrieve request to retrieve the LATEST subscribers from Salesforce? <soap:Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> <...
callmejoe's user avatar
0 votes
0 answers
968 views

unable to convert WSDL to Apex, getting Error: Failed to parse wsdl: targetNamespace not specified in wsdl:definitions

below is code <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security xmlns:wsse="...
Prasanth B's user avatar
0 votes
0 answers
3k views

Web service callout failed: WebService returned a SOAP Fault: Server was unable to read request

I have consumed a wsdl in Salesforce.Below is the class which needs to be send as a request public class MEContacts_Request { public Long Contact_Type_Association; public String ...
Samir's user avatar
  • 2,679
0 votes
1 answer
172 views

WSDL class error

Good morning, I have a wsdl that I generated with salesforce, but when I call some methods I get this error: EXCEPTION_THROWN [157]|System.CalloutException: Web service callout failed: Unable to ...
Angello Camacho's user avatar
0 votes
0 answers
590 views

Error: Failed to parse wsdl: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attributeGroup. At: 222:42

Error: Failed to parse wsdl: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attributeGroup. At: 222:42 I am getting the following error while parsing WSDL . <xsd:...
Vanilla_Sky's user avatar
0 votes
0 answers
996 views

WSDL Parsing error - Error: Failed to parse wsdl: attribute name can not be null at: 32:54

<xsd:attribute name="Type" type="xsd:anyURI"/> I checked a few forums and it was mentions 1.The WSDL maybe using the rpc/encoded interaction style, this is not supported by the Salesforce ...
Vanilla_Sky's user avatar
0 votes
0 answers
242 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 ...
subodhbahl's user avatar
  • 1,296
0 votes
0 answers
3k 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 ...
bsmith95610's user avatar
0 votes
0 answers
155 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[] {'...
Torsen's user avatar
  • 1,534
0 votes
0 answers
497 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 ...
Pragnesh Karia's user avatar
0 votes
1 answer
154 views

What are the best practices for wsdl2apex and SOAP callouts from Salesforce

I wonder, what are the best practices I should apply when I need to integrate Salesforce with an external SOAP webservice? First of all - Apex class names generated with wsdl2apex have names which ...
Grzegorz Połuch's user avatar
-1 votes
1 answer
175 views

How to process the raw response generated by the WSDL2Apex Callout?

I am getting a huge chunk of raw response from the WSDL2Apex web service call out and I want it to be able to be processed into APEX Data structures, i.e. lists and maps. Raw Response Snippet: ...
callmejoe's user avatar
-2 votes
2 answers
566 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 ...
Sindoora's user avatar
  • 735