The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
53 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
34 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
47 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
39 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
34 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
14 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
24 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
60 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
36 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
48 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
34 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
36 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
41 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
69 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
124 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
26 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
251 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
213 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
83 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
44 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
144 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
139 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 ...
4
votes
1answer
171 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
115 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
492 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
783 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
658 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
167 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
37 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 ...
1
vote
1answer
92 views

Error while generating Apex class from WSDL using FUSEIT

While i was trying to generate the Apex classes from wsdl using FuseIT SFDC Exlporer i am always getting this error. Error: Apex Classes were not generated. Original Error:The Apex Class XclassnameX ...
1
vote
0answers
118 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 ...
0
votes
1answer
87 views

Webservice failure to call

Please find the class below. The method called is ASCS_DaaS_APISoap. I am unable to understand where it breaks and not fetching real data.Can some one please help me out in this? //Generated by ...
1
vote
0answers
145 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
765 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
790 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
2k 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
90 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
370 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
230 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
166 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
151 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
1k 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
103 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
2k 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
919 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
848 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
152 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
274 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
154 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
273 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 ...