• osf_team
  • NEWBIE
  • 20 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 5
    Likes Received
  • 0
    Likes Given
  • 27
    Questions
  • 37
    Replies
Hi,

I are trying to get sObject name corresponding to selected CDC entity from PlatformEventChannelMember::fullName when getting response for MetadataAPI::listMetadata call.

Refer below link to know more about fullname.
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

For custom sobject as CDC selected entity we get fullName like : ChangeEvents_<CUSTOM_SOBJECT_NAME>_ChangeEvent
Ex : <fullName>ChangeEvents_Patient_ChangeEvent</fullName>

For standard sobject as CDC selected entity we get fullName like : ChangeEvents_<STANDARD_SOBJECT_NAME>ChangeEvent
Ex : <fullName>ChangeEvents_AccountChangeEvent</fullName>

ISSUE:
fullName returned from listMetadata (soap based api) of MetadataAPI for type PlatformEventChannelMember does not start with ChangeEvents_ instead starts with CM_. And fullName also not ends with  ChangeEvent for User (standard sobject).

For User (standard sobject) as selected entities, I am getting fullName like : <fullName>CM_ChangeEvents_User</fullName>
This is causing issue to me since fullName does not start with ChangeEvents_ but starts with CM_ and also not ends with  ChangeEvent

MY QUERIES:
1. What does "CM_" mean in prefix of "User" entity fullName? Is this pattern expected ?
Refer below link to know more about fullname. 
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

2. When getting response from MetadataAPI::listMetadata api call for type PlatformEventChannelMember, can fullName start with something like "CM_" for User (standard sobject) ?

3. Why fullName isn't ending with "ChangeEvent" for "User" entity which is a standard sObject?
Refer below link
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/meta_platformeventchannelmember.htm
for quick view  
{
"The change event name of an entity selected for Change
Data Capture notifications. For example, for the Account standard object, the
name is AccountChangeEvent, or for a custom object MyObject__c, the name is
MyObject__ChangeEvent"

}
Hi Support Team,

I want to know how will be the below mentioned "Without MyDomainName endpoints" in case of below metioned scenario 1 and scenario 2 ?

----------Without MyDomainName endpoints
SOAP Basic Username Password                                :    https://login.salesforce.com/services/Soap/c/51.0
REST Username-Password OAuth Authentication Flow            :    https://login.salesforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow authorization    :    https://login.salesforce.com/services/oauth2/authorize
REST Web Server OAuth Authentication Flow token             :    https://login.salesforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow refreshtoken     :    https://login.salesforce.com/services/oauth2/token
 
Also, I have put below endpoints based on my understanding. Please confirm is my understanding correct or not ?

Scenarios 1
----------With MyDomainName and with domain_suffix STANDARD (.my.salesforce.com)
SOAP Basic Username Password                                :    https://himanshu-sbox-ed--sfdcadap.my.salesforce.com/services/Soap/c/51.0
REST Username-Password OAuth Authentication Flow            :    https://himanshu-sbox-ed--sfdcadap.my.salesforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow authorization        :    https://himanshu-sbox-ed--sfdcadap.my.salesforce.com/services/oauth2/authorize
REST Web Server OAuth Authentication Flow token             :    https://himanshu-sbox-ed--sfdcadap.my.salesforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow refreshtoken         :    https://himanshu-sbox-ed--sfdcadap.my.salesforce.com/services/oauth2/token

Scenario 2
----------With MyDomainName and with domain_suffix CUSTOM (.cloudforce.com)
SOAP Basic Username Password                                :    https://himanshu-sbox-ed--sfdcadap.cloudforce.com/services/Soap/c/51.0
REST Username-Password OAuth Authentication Flow            :    https://himanshu-sbox-ed--sfdcadap.cloudforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow authorization        :    https://himanshu-sbox-ed--sfdcadap.cloudforce.com/services/oauth2/authorize
REST Web Server OAuth Authentication Flow token             :    https://himanshu-sbox-ed--sfdcadap.cloudforce.com/services/oauth2/token
REST Web Server OAuth Authentication Flow refreshtoken         :    https://himanshu-sbox-ed--sfdcadap.cloudforce.com/services/oauth2/token

 
Hi All,

I enabled My Domain and has disabled "Prevent login from https://login.salesforce.com" but i am not able to make login SOAP API call via both my domain and https://login.salesforce.com

Could you please suggest what could be the reason for this? Do i need to make some other configuration changes on Salesforce settings

Thanks
Hi Experts,

When we use bulk query to extract the records from tables below is the process. (assuming PK chunking is not enable)
1. create a job
2. submit qury in batch
3. check the status of the batch
4. get the result list
5. iterate through result list to get the records from result

I am aware of the limitation mentioned here. like max file size (in one batch) could be of 1gig etc.

What I want to know when we retrieve the records from Result (individual result from result list, step #5 from above) what is the maximum # of records in one result?
 
Hi,

Is there any way by which I can get the description of all the Salesforce objects.

I have created a UI where user can see all the Salesforce objects. Now what I want is, when the user selects any of the objects, the description of that object should be dispayed below the objects list.
For example, as per the Salesforce documentation, the description of "Account" object is "An individual account, which is an organization involved with your business (such as customers, competitors, and partners)". So, whenever the user selects the Account object, this description should be visible to him.

I've tried using describeSObject/describeGlobal calls of SOAP API, but it does not return the description of object. Is there any other way (may be using Metadata API or any other API), using which I can get it?

Regards
Shalindra Singh
Hi,

My requirement is to create ApexTrigger in Salesforce dynamically after taking the required inputs from the user.

Is it possible using the SOAP API "create" operation since ApexClass and ApexTrigger are standard objects in Salesforce, 

Regards
Shalindra Singh
Hi,

There is a unique notification ID that comes with the outbound message. Is there any way to acknowledge that particular notification ID?

We would like to acknowledge the message once we recieve the notification. And, we want to send the acknowledgement on the seperate thread.

Thanks
Shalindra Singh
Hi ,

Streaming API has a known issue which returns "Unknown client" when used through a proxy. Refer to link below.

https://success.salesforce.com/issues_view?id=a1p30000000T0F0AAK

Below is the workaround suggested for the above issue:

Workaround
For now, the main workaround involves by-passing the proxy as when requests are sent through proxies, they hard code the host name in the POST request: 

POST https://mycompany.cs11.my.salesforce.com/cometd/28.0/connect HTTP/1.1 

instead of 

POST /cometd/28.0/connect HTTP/1.1 

which is not handled properly by the code that sets up a cookie used by the Streaming API, thus breaking the connection flow.


Has anybody tried the above workaround? Does it work? If yes, Can we get a sample snippet for the same?

PS :  We are using the code reference provided at below link for writing our client
http://www.salesforce.com/us/developer/docs/api_streaming/Content/code_sample_java_add_source.htm

Thanks,
Shalindra
Hi,

As per the Salesforce documentation, it is recommended to use OAuth 2.0 if using Streaming API in Production environment.

User-added image

If instead of using OAuth 2.0 in production environment, if we use the simple authentication, will it cause any issues?
We have verified using simple authentication in Sandbox account, and we are not facing any issues with it.

Thanks
Shalindra Singh
Hi,

I created a pushtopic in Salesforce with lastName field referenced in the WHERE clause of pushtopic query. My query is:
SELECT id, Company from Lead WHERE lastName='Mark'

Pushtopic got created in Salesforce, but when I subscribed to the pushtopic and started generating events with criteria that exactly matches my pushtopic query, I noticed that I am not receiving any notifications from Salesforce.

Is there any restriction from Salesforce that it does not allow the use of "lastName" field in WHERE clause of pushtopic query?

Thanks
Shalindra Singh
Hi,

While reading the Salesforce Streaming API guide, I found the below restrictions:

1. To receive notifications on the IsClosed field, the subscriber must subscribe to the Status field referenced in the query.

2. To receive notifications on the WhoCount and WhatCount fields, the subscriber must subscribe to the WhoId and WhatId fields. Subscriptions based only on the WhoCount or WhatCount fields aren’t supported.

But, when I tried these scenarios, following were the results:

1. To receive notifications on the IsClosed field, the subscriber must subscribe to the Status field referenced in the query.
Analysis: I created a pushtopic with the following query : "Select id, isClosed, name from Opportunity", and I was able to receive notifications on workbench. Please note, I haven't subscribed to "Status" field, still I am able getting events from Salesforce.

2. To receive notifications on the WhoCount and WhatCount fields, the subscriber must subscribe to the WhoId and WhatId fields. Subscriptions based only on the WhoCount or WhatCount fields aren’t supported.
Analysis: I created a pushtopic with the following query : "SELECT Id, whoCount FROM Task", and I was able to receive notifications on workbench. Please note, I haven't subscribed to "whoId" field, still I am able getting events from Salesforce.

Is it like the document has not been updated with latest information, or I am missing something on my end?

Thanks
Shalindra Singh
Hi,

I've been using streaming API from last few days, and I've successfully been able to receive the events from salesforce using the same with the account that was created on ap1 instance.

But now I've created a new account, which is running on ap2 instance. I've created a pushtopic in this account, but I am not receiving any events from salesforce. I've checked in the settings that Streaming API is enabled.

Is it that I am missing something, or Salesforce does not provide support of streaming API on ap2 instances?

Thanks
Shalindra Singh
Hi Everyone,

We are getting an issue while parsing XML response of describeSObject call for ExternalData Object. Below screenshot shows the response of the describeSObject call for ExternalData Object.
Basically the inlineText field contains some non UTF-8 characters in the response. And on the right side shows the actual value of the string which is displayed to the user while they configure the new external data source.

User-added image
As per Salesforce documentation on the below URL. We can confirm that our instance is using UTF-8 encoding. 
http://www.salesforce.com/developer/docs/api/index_Left.htm#CSHID=implementation_considerations.htm|StartTopic=Content%2Fimplementation_considerations.htm|SkinName=webhelp

"Internationalization and Character Sets

The API supports either full Unicode characters or ISO-8859-1 characters. The character set for your organization depends on the Salesforceinstance your organization uses. If your organization logs into ssl.salesforce.com, then your encoding is ISO-8859-1. All other instances use UTF-8. You can determine the character set for your organization by calling describeGlobal() and inspecting the encoding value returned in the DescribeGlobalResult.

If your organization uses ISO-8859-1 encoding, then all data sent to the API must be encoded in ISO-8859-1. Characters outside the valid ISO-8859-1 range might be truncated or cause an error."


Has anybody faced any issue like this?

Thanks,
Shalindra Singh
Hi,

As per the Salesforce documentation http://http://www.salesforce.com/developer/docs/api_streaming/Content/limits.htm, for Developer's account, we can have a maximum of 20 subscriptions to a particular pushtopic. But we have tested with 30 active subscriptions for a pushtopic, and it is working fine for us.
Is there any way by which we can get the number of current subscriptions to a particular pushtopic?

Thanks
Shalindra Singh
Hi Everyone,

I am using the code sample provided Java client for Streaming API in the below link
http://www.salesforce.com/developer/docs/api_streaming/Content/code_sample_java_add_source.htm

I am not able to understand why the channel is getting disconnected after sometime. Is there a way to keep the channel alive? I have a requirement where i dont want to miss out on any of the events in salesforce. And disconnection will certainly lead to data loss.

Below are the logs that appear whenever channel is getting disconnected.

[CHANNEL:META_CONNECT]: {"id":"133048","successful":true,"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_DISCONNECT]: {"successful":true,"channel":"/meta/disconnect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_CONNECT]: {"id":"133049","successful":true,"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_CONNECT]: {"id":"133050","error":"403::Unknown client","successful":false,"advice":{"interval":500,"reconnect":"handshake"},"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
Error during CONNECT: 403::Unknown client
Exiting...

An early response on this would be highly appreciated.

Thanks,
Shalindra
I was earlier able to connect to Salesforce Enterprise API using Oracle BPEL process. However, lately I replaced the Salesforce certificate and the same processes that were running earlier are failing with the following message:
Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to request

Is there any specific setting I need to make for new Salesforce certificates.

Regards,
Shalindra
Hi,

I have implemented the Salesforce to Oracle SOA intgration wherein outbound message from salesforce is able to hit my BPEL service.
However, in case I want to authenticate my BPEL process to receive client certificates from Salesforce, so that no one other that salesforce can hit my process, what would be the steps implemented both on Salesforce side or Oracle SOA suite side?

I would really appreciate if someone helps me resolve this.

Regards,
Shalindra
I am using the outbound messaging scenario, wherin an outbound message is triggered on accomplishment of a 'workflow rule'. 
It is working fine and the opportunity records are sent to my web service and the acknowledgement is sent back to Salesforce.
My question is that wont there be any security concerns since no login parameters/ credentials were used while logging into the server that hosts my webservice. Moreover, while the acknowledgement was sent back to Salesforce, there too there is no such security application.
Please guide me on the following:
How does salesforce manages secutiry in outbound messaging?
Do I need to opt for some other way of communication which is more secure?
Am I missing something and there is an option to apply security parameters in outbound messaging as well?

I am trying to make a search call. The max limit for search is 200 (till API version 27). Is there a war arround to get records above 200.

I am trying to create account,contact and opportunity using the create call of  SOAP API. I am creating these objects in a single call.  

These objects are having parent child relationship. I am using external ID to give the realtion betweent the objects. But how to retrieve the order in which the objects need to be given in the soap request. 

For Example my contact and opportuiny is realted to account. I gave the contact object before the account object in the create call .This is giving an error. So how can we retrieve the order of the objects for  the create call. 

Hi,

I are trying to get sObject name corresponding to selected CDC entity from PlatformEventChannelMember::fullName when getting response for MetadataAPI::listMetadata call.

Refer below link to know more about fullname.
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

For custom sobject as CDC selected entity we get fullName like : ChangeEvents_<CUSTOM_SOBJECT_NAME>_ChangeEvent
Ex : <fullName>ChangeEvents_Patient_ChangeEvent</fullName>

For standard sobject as CDC selected entity we get fullName like : ChangeEvents_<STANDARD_SOBJECT_NAME>ChangeEvent
Ex : <fullName>ChangeEvents_AccountChangeEvent</fullName>

ISSUE:
fullName returned from listMetadata (soap based api) of MetadataAPI for type PlatformEventChannelMember does not start with ChangeEvents_ instead starts with CM_. And fullName also not ends with  ChangeEvent for User (standard sobject).

For User (standard sobject) as selected entities, I am getting fullName like : <fullName>CM_ChangeEvents_User</fullName>
This is causing issue to me since fullName does not start with ChangeEvents_ but starts with CM_ and also not ends with  ChangeEvent

MY QUERIES:
1. What does "CM_" mean in prefix of "User" entity fullName? Is this pattern expected ?
Refer below link to know more about fullname. 
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

2. When getting response from MetadataAPI::listMetadata api call for type PlatformEventChannelMember, can fullName start with something like "CM_" for User (standard sobject) ?

3. Why fullName isn't ending with "ChangeEvent" for "User" entity which is a standard sObject?
Refer below link
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/meta_platformeventchannelmember.htm
for quick view  
{
"The change event name of an entity selected for Change
Data Capture notifications. For example, for the Account standard object, the
name is AccountChangeEvent, or for a custom object MyObject__c, the name is
MyObject__ChangeEvent"

}
Hi Everyone,

I am using the code sample provided Java client for Streaming API in the below link
http://www.salesforce.com/developer/docs/api_streaming/Content/code_sample_java_add_source.htm

I am not able to understand why the channel is getting disconnected after sometime. Is there a way to keep the channel alive? I have a requirement where i dont want to miss out on any of the events in salesforce. And disconnection will certainly lead to data loss.

Below are the logs that appear whenever channel is getting disconnected.

[CHANNEL:META_CONNECT]: {"id":"133048","successful":true,"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_DISCONNECT]: {"successful":true,"channel":"/meta/disconnect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_CONNECT]: {"id":"133049","successful":true,"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
[CHANNEL:META_CONNECT]: {"id":"133050","error":"403::Unknown client","successful":false,"advice":{"interval":500,"reconnect":"handshake"},"channel":"/meta/connect","clientId":"1zro8qr2rfbesar24zjqa3okgvv"}
Error during CONNECT: 403::Unknown client
Exiting...

An early response on this would be highly appreciated.

Thanks,
Shalindra
Hi All,

I enabled My Domain and has disabled "Prevent login from https://login.salesforce.com" but i am not able to make login SOAP API call via both my domain and https://login.salesforce.com

Could you please suggest what could be the reason for this? Do i need to make some other configuration changes on Salesforce settings

Thanks
Hi Experts,

When we use bulk query to extract the records from tables below is the process. (assuming PK chunking is not enable)
1. create a job
2. submit qury in batch
3. check the status of the batch
4. get the result list
5. iterate through result list to get the records from result

I am aware of the limitation mentioned here. like max file size (in one batch) could be of 1gig etc.

What I want to know when we retrieve the records from Result (individual result from result list, step #5 from above) what is the maximum # of records in one result?
 
Hello people,

I'm looking to Integrate Alien Vault (Computer & Network Security) company with the Salesforce. Recently, I spoke with the Alien Vault customer support team about their API details. They said, we don't have any API's like that. Help me to understand, is it any other way I can integrate salesforce with Alien vault. It would be great, if anybody here suggest me some other Apps in relevance to Alien Vault.

Thanks in Advance!
One of our clients is extremely interested in retrieving the metadata infromation on objects into QLIKVIEW directly. They are looking at importing this information in QLIKVIEW mainly from a system and user activity monitoring standpoint. Few of the use cases that they are interested in are :

a) Monitor the key User activity on SalesForce objects (Leads, Accounts, Opportunities etc. etc.) such as Mass Update , Delete, Add Records etc. etc.
b) Monitor the System statistics to get proactive alerts on storage space usage.
c) Built up an Audit Trail of all objects and represent them in a tabular fomat.
Hi,

My requirement is to create ApexTrigger in Salesforce dynamically after taking the required inputs from the user.

Is it possible using the SOAP API "create" operation since ApexClass and ApexTrigger are standard objects in Salesforce, 

Regards
Shalindra Singh
Hi,

There is a unique notification ID that comes with the outbound message. Is there any way to acknowledge that particular notification ID?

We would like to acknowledge the message once we recieve the notification. And, we want to send the acknowledgement on the seperate thread.

Thanks
Shalindra Singh
Hi,

I created a pushtopic in Salesforce with lastName field referenced in the WHERE clause of pushtopic query. My query is:
SELECT id, Company from Lead WHERE lastName='Mark'

Pushtopic got created in Salesforce, but when I subscribed to the pushtopic and started generating events with criteria that exactly matches my pushtopic query, I noticed that I am not receiving any notifications from Salesforce.

Is there any restriction from Salesforce that it does not allow the use of "lastName" field in WHERE clause of pushtopic query?

Thanks
Shalindra Singh
Hi,

I've been using streaming API from last few days, and I've successfully been able to receive the events from salesforce using the same with the account that was created on ap1 instance.

But now I've created a new account, which is running on ap2 instance. I've created a pushtopic in this account, but I am not receiving any events from salesforce. I've checked in the settings that Streaming API is enabled.

Is it that I am missing something, or Salesforce does not provide support of streaming API on ap2 instances?

Thanks
Shalindra Singh
I am trying to integrate my app with salesforce and I am using Rest API using Python. Following things I am implementing

1. Any user of Salesforce from any domain integrate with my app who is registered on my app.

2. Once user integrate app with salesforce I will get access token which I will use in Rest API call.

3. I want to create Apex trigger in salesforce on behalf of user which will call my app API.

I am stuck at point 3 because I am not finding documentation for creating Apex trigger using Salesforce Rest API.

Also I want to know what are the permission levels for Apex Trigger and Apex class ? For example:

1. If user is integrating salesforce with my app and he is sales person and  not administrator then still he can create trigger and classes?

2. If my app ask for salesforce credential and user enter credential of salesforce which is in production  then still my app create apex trigger and apex class on behalf of user?  
I am using the outbound messaging scenario, wherin an outbound message is triggered on accomplishment of a 'workflow rule'. 
It is working fine and the opportunity records are sent to my web service and the acknowledgement is sent back to Salesforce.
My question is that wont there be any security concerns since no login parameters/ credentials were used while logging into the server that hosts my webservice. Moreover, while the acknowledgement was sent back to Salesforce, there too there is no such security application.
Please guide me on the following:
How does salesforce manages secutiry in outbound messaging?
Do I need to opt for some other way of communication which is more secure?
Am I missing something and there is an option to apply security parameters in outbound messaging as well?
Hello everyone,

I'm looking for simple alternatives to writing triggers for the above mentioned scenario. The full use case is to have the call fire every time a new contact is entered in the system. Anything with workflows (has to be REST), streaming API, etc?


Thanks in advance for the help!

Hi All,

I developed a file processing through a webservice. I am using Java in background. I developed a WSDL which handles MTOM internally. I implemented the server side code using CXF. I tested this feature using SOAP UI (Its a Client with this we can test webservices).

 

I thought why can't we develop a client using Salesforce APEX code. So I started to implement. In that First Step I generated a stub code using my WSDL and I wrote one sample client. When I run that sample code its processing the files and its working fine. But unfortunatly the SOAP request is not in the form of MTOM. How can I enable MTOM feature in Salesforce before sending a webservice request. Is there any route to use this feature in salesforce. I searched but I unabled to find the solution. Can any body help me on this. I am stuck over here. Please help me on this.

 

Here I am pasting the sample requests with and without MTOM feature.

 

Without MTOM feature:
-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header />
<env:Body>
<m:mtomFileRequest xmlns:m="http://ws.amar.com/dpaas/">
<mtomFileOption>
<data>Y29tLmNpcGhlcmNsb3VkLm1hZ2ljLmJ5dGVzLjAxLjAwMDAxNXNU0UnBG4ryk0xChsZSLgZunNW1Gac9cp1Fb8u0sm4XBAKKmOE/72j7RMJu+T23JTNFr7OZOVwBYG2BZxOBudOhm2Nbwy7u0km0Cz9cJ2nCFHq4wOc8EP207PVggilr1eHGY/EgvX/2NerDmdTtkJl1c9mHrxDmzJWyX5lAbxQ+ZuGWnxvl3EhmOM1yWFHfrhxRnwPvGirrJNm/lP6zCgO7J2qlvfHs8Ufl745BqjtMjijwD7N52Gi2AAqTgv41f4krGnC/hsssCvqdyE7XXlbvJI2vi8+LdOuRDdH8MyaZH2HwvwrzfZjBW8PPEoQGUqVMgS7L/G1dvGqFGTay9vl7ShzoQLj1g2s2p6q0F6fr+sDiCHKdLB0wd1JWAnbJb0CeTaFVBO5OsaFhRLdupifwmEpksRzxljfCl2E52J5ulC/KQK5LsHQN9AVFGfzDYim==
</data>
</mtomFileOption>
</m:mtomFileRequest>
</env:Body>
</env:Envelope>

 

Without MTOM the content is going as inline.

 

With MTOM feature:
-----------------------------

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns3:mtomFileResponse xmlns:ns2="http://xmlns.amar.com/common/v1"
xmlns:ns3="http://ws.amar.com/dpaas/">
<mtomFileOption>
<data>
<xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include"
href="cid:cab662cb-4bfe-4aea-a9ce-f41b497a5394-5@cxf.apache.org" />
</data>
</mtomFileOption>
</ns3:mtomFileResponse>
</soap:Body>
</soap:Envelope>

--uuid:06d4106c-35a0-43df-8725-5a8e4712b957
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-ID: <cab662cb-4bfe-4aea-a9ce-f41b497a5394-5@cxf.apache.org>

/**
* Please modify this class to meet your needs
* This class is not complete
*/
package com.amar.ws.dpaas;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
--uuid:06d4106c-35a0-43df-8725-5a8e4712b957--

 

If you enable MTOM feature the content is going as a multipart request.

 

So how can I enable MTOM in salesforce. Can anyone help me on this please.


Thanks & Regards,
Amar

  • March 21, 2013
  • Like
  • 0

HI All,

 

Greetings

 

I am trying to Integrate Salesforce with SOA Suite. 

 

Scenario is like this: Account created in Salesforce is sent to Oracle ERP using Oracle SOA Suite.

 

For this Scenario, I have enabled outbound messages using the Workflow Rule. Now I want to know how to setup SOA suite such that this message is received by SOA Suite.

 

What is the configuration to be done at SOA Suite.Please do let me know.

 

Thanks in advance.

 

Regards,

Manohar

 

 

 

 

Hi Everyone,

 

When returning ACK for an outbound message, what URL should I use? (is it enterprise URL?) 

 

also, should I include notification ID in ACK? I'm not sure how SFDC identifies which message I acknowledged. 

 

Thanks for any help,

 

Sunny_Slp

I need to create a Trigger that sends data to Oracle SOA Suite 11g. SOA Suite will move that data over to an ERP application.

 

The design calls for the data to be migrated only when a New Account is saved. I believe an "After Insert" Trigger would do the trick. Has anyone done anything similar?

 

Would anyone have sample code for the trigger?

 

I'd appreciate the assistance.

 

TIA.