The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
25 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 ...
3
votes
2answers
52 views

How to invoke soap web service

I have read through the apex developer's guide - webservice section three times but got more confused. Based on my previous knowledge, invoking a Soap webservice should be something like sending an ...
6
votes
1answer
104 views

Creating a class by consuming a WSDL document Schema:attribute

I have a problem with salesforce functionality. I've created flat WSDL file but when I am trying to create class in salesforce I still get this error: Error: Failed to parse wsdl: Unsupported ...
1
vote
1answer
99 views

java.security.cert.CertificateException: No subject alternative names present

We are calling external system webservice from Salesforce. the webservice exposed are internet We have created stub from the WSDL. It is a SOAP based call. But while calling the service, We are ...
1
vote
1answer
49 views

Managed Package XML Namespace Error

Looked over some of the previous posts that may be related, but unfortunately I have no idea about using webservices and XML. Another developer did this class, and it works great in DE org, but as a ...
2
votes
2answers
115 views

Problem with wsdl2apex and namespaces in the the callout body

I've been trying to get a webservice callout working by parsing it with wsdl2apex and constructing it with that method. Callouts are failing because of errors in the constructed XML which causes an ...
0
votes
1answer
76 views

Error in generating Apex class from Enterprise wsdl

I am trying to generate the apex class from wsdl file. While trying to create a class I am getting the following 2 error. "Error: enterpriseSoapSforceCom Error: Invalid type: ...
1
vote
0answers
85 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 ...
-1
votes
3answers
83 views

Future Callouts on Deletion of records!

I am facing a very simple problem. I want to make a callout on the deletion of records, and push a bunch of to an external service. The problem is described below: Trigger Logic: Map <ID, ...
2
votes
1answer
484 views

Using Partner WSDL to update a Salesforce record

My requirement is to update a record in one Salesforce org (org A) from another Salesforce org's (org B) Apex code. I have taken the Partner WSDL of org A and imported it into org B. Using the Partner ...
0
votes
1answer
74 views

Pulling data using wsdl

while pulling Account data from database using WSDL. On Account we had a field call billing Address. now in wsdl does we get billing address directly or will it pull billing city,billing country ...
1
vote
1answer
771 views

WSDL SOAP UI salesforce

Could any one post the step by step process of integration of salesforce with other database. for example:generate Enterprise WSDL---soup Ui....... Can we give an URL to the other platform user so ...
11
votes
3answers
426 views

Any way to easily create unit tests for a wsdl2apex generated Apex class?

I've created a new Apex class representing a third-party SOAP web service, using the "Generate from WSDL" button. Now I'd like to deploy this class to my production environment, but I'm getting an ...
5
votes
1answer
518 views

Parsing Partner WSDL in apex

I was able to successfully parse the Partner WSDL in apex and generated apex class.SO what i am trying is to create a sample account record in destination org(Note both orgs are salesforce orgs ) ...
1
vote
1answer
91 views

ref an Element in another Namespace using WSDL2Apex and SOAP API webservice call

I am trying to integrate with a web service which utilises two namespaces, and has elements which need to reference the other namespace. For example: <xsd:schema ...
2
votes
1answer
172 views

fullName is missing in Custom field in Metadata api v29.0

i downloaded a metadata wsdl.created apex class MetadataSerbvice.i wirte a simple code MetadataService.CustomField cf = new MetadataService.CustomField(); cf.fullName ="Asset.ProductLine__c"; but ...
3
votes
1answer
114 views

Trimming WSDL file manually guidelines

i need to update a custom picklist field of standard object.i need to add a value when an object is inserted.i download metadata wsdl file .but its very big .and i am not getting how to trim it ??any ...
3
votes
2answers
175 views

How do we send simple message type elements on soap header to external webservice

We have to consume a WSDL in salesforce where we need to send a soap header element which is of simple data type to an external webservice. The problem is that wsdl2apex parser rejects the simple data ...
3
votes
1answer
216 views

Converting a simple type xsd to a complex type to make wsd2apex work

I have a simple type xsd element which i want to convert to a complex type because i want the final wsdl to be document type literal format. Could you guys help? <xsd:element name="Service"> ...
2
votes
1answer
277 views

Issue with passing header data on callouts using external wsdl

We have an external wsdl which we use to make a callout to an external application. The wsdl has a header schema which needs to be passed along with the request. I imported the wsdl and the wsdl2apex ...
5
votes
2answers
229 views

Is it possible to combine all custom wsdl to one enteprise wsdl

We currently have couple of call ins where an external application has to call apex webservices to perform data operations. We anticipate multiple webservices to be exposed in apex and we want to ...
2
votes
1answer
630 views

How to handle anyType of wsdl in generating apex classes

i have to get some data using SOAP api from one org to another .so i generated Enterprise wsdl file of one organization . it contains some fields with specified type as type=xsd:anyType. because apex ...
2
votes
1answer
329 views

Partner Wsdl and apex custom webservice

I am connecting salesforce with salesforce using partner wsdl.I have been able to login to the destination org from the source org and then I am caling custom webservice and passing some parameters to ...
1
vote
1answer
735 views

Creating a schedule web service tutorial

I was wondering if someone could direct me to a tutorial of how to create a web service from salesforce to an external system. My issue is I want to query some fields everyday say 10pm and send those ...
4
votes
1answer
2k views

How to work around lack of salesforce wsdl import tag support?

Question What techniques can I use to modify a 3rd party WSDL that includes import tags so that I can use the Salesforce generate apex class from WSDL feature? Background I'm a beginner at using ...
2
votes
2answers
146 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 ...
2
votes
2answers
161 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 ...
2
votes
1answer
457 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
218 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
32 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
98 views

Real time Integration - Approach [closed]

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
130 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 ...
2
votes
1answer
2k 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
830 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 ...
7
votes
3answers
2k 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
957 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
144 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 ...