Salesforce to Biztalk

I need a help at present I followed the MSDN code to connect Salesforce and retreive Salesforce Notification in the  below code provided  MSDN link
    http://msdn.microsoft.com/en-us/library/dn198272(v=bts.80).aspx
 Code written in MSDN as Biztalk will receive the Notifications when the sales force workflow action is triggered  configured the endpoint using Azure Account.
   My requirement is similar solution like mentioned in MSDN but I dont want to use Windows Azure. My Biztalk Application should
receive the salesforce Notifications when a Salesforce workflow action is triggered. 
So, How do I need to configure endpoint in Receive Port If i dont want to use Windows Azure
 I followed the approach as exposed My Orchestration as a WCF service but after workflow action is triggered 
I am getting the error as 503 service available as below screenshot  I exposed My Orchestration as a WCF service with WCF-Basichttp Binding as Receive Location as you mentioned and my service URL looks like
http://MyComputername/BtsSalesforceInboundflow/NotificationService_NotificationServiceClient_SalesforceNotificationPort.svc
Action
Outbound Message ID
Object
# Attempts
Created Date
Next Attempt
Delivery Failure Reason
Retry | Del
04ki0000000CdBV
006i000000FqOsm
1
1/16/2014 7:59 AM
1/16/2014 8:00 AM
(503)Service Unavailable

Hi Yes I tried it in my browser I am able to browse
BizTalkServiceInstance Service
You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe http://abmlpt-051/BtsSalesforceInboundflow/NotificationService_NotificationServiceClient_SalesforceNotificationPort.svc?wsdl
You can also access the service description as a single file:
http://abmlpt-051/BtsSalesforceInboundflow/NotificationService_NotificationServiceClient_SalesforceNotificationPort.svc?singleWsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service.
For example:
C#
class Test
static void Main()
NotificationService_NotificationServiceClient_SalesforceNotificationPortClient client = new NotificationService_NotificationServiceClient_SalesforceNotificationPortClient();
// Use the 'client' variable to call operations on the service.
// Always close the client.
client.Close();
Visual Basic
Class Test
Shared Sub Main()
Dim client As NotificationService_NotificationServiceClient_SalesforceNotificationPortClient = New NotificationService_NotificationServiceClient_SalesforceNotificationPortClient()
' Use the 'client' variable to call operations on the service.
' Always close the client.
client.Close()
End Sub
End Class

Similar Messages

  • Office 365 Migration Challenges

    Hi everyone,
    Currently, I am evaluating the various challenges or Concern that need to be taken care at the time of Office 365 migration.
    For example if I have to migrate Nintex workflow from SharePoint on-premise to SharePoint Online, Whether It is possible or not? If possible then whether it can be easily migrated or there need to do some work around it to achieve that?
    Office 365 (Sharepoint Online) Integration with K2 workflow, Salesforce CRM, Biztalk, Business Objects (BO), etc. ?
    Office 365 (Sharepoint Online) Connection to External Data i.e. Business Connectivity Services (BCS), etc. ?
    Also, Migration is not limited to only SharePoint Online. It can be Exchange Online, Lync Online, Single sign-on etc.
    Can any one please assist me. It would be helpful for me.

    Would mail continue to flow unimpeded?
    Do I have to change my inbound/outbound connectors to the Partner option from On-prem?
    The hybrid connectors in EOP should not impact messages sourced or destined to the Internet.
    Going forward if my on-prem exchange becomes unavailable (through outage, uninstallation, normal update restarts) would that affect the mail-flow?
    Assuming there are no on-premises mailboxes or applications leveraging the hybrid server, there should not be an interruption.
    Would it be safe to remove the inbound/outbound connectors?
    Yes however I would start by disabling and leaving in-place.
    Would I uncheck the Hybrid-Deployment box in WaaD (DirSync) and maintain directory synchronization?
    As long as you're using DirSync, your on-premises AD is still authoritative for objects in the cloud.  This means if you want add a proxy address for a user, you add it in AD and it syncs to Office 365.  You will still want the write-back enabled. 
    I would also plan to keep an on-premises Exchange server around for management purposes.
    ADFS has not been implemented yet but I would like to eventually. Should I be take that into consideration with any of these questions?
    Should not come impact any decisions here.
    Joseph Palarchio http://www.itworkedinthelab.com

  • Biztalk 2013 Salesforce Integration error

    Hi,
       I am implementing sales force Integration to BizTalk2013 WCFwebhttp Adapter. Here is the below code of MSDN I followed.
    http://msdn.microsoft.com/en-us/library/dn198272(v=bts.80).aspx
    Here is the Code sample
    http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286
      Code will be working fine outside of corporate network. After connecting to corporate network i am facing the below error. 
    Please help me to resolve.
    System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://na15.salesforce.com/services/data/v24.0/query?q=SELECT+Amount%%2c+Id%%2c+Name%%2c(SELECT+Quantity%%2c+ListPrice%%2cPricebookEntry.UnitPrice%%2c+PricebookEntry.Name+FROM+OpportunityLineItems)+FROM+Opportunity+Where+Name+%%3d+'Opportunity3+with+Customer+1'
    that could accept the message. 
    This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException:
    Unable to connect to the remote server ---> 
    System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after
    a period of time, or established connection failed because connected host has failed to respond 96.43.146.88:443 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket
    s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at
     System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult
    result) --- End of inner exception stack trace --- Server stack trace: at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String
    action, Object[] outs, IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type) at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result) 

    HI,
      can you help me to get the data from saleforce to Biztalk with out using Windows Azure. I got the code snippet from MSDN to fetch the data when workflow action is triggered in Salesforce oubound message is sent to Biztalk, but using windows azure account
    I need the same but with out windows azure.
    My requirement is same but I dont want to use the WindowsAzure account
    Here is the MSDN code
    http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286

  • Biztalk Salesforce Integration

    Hi,
     can you help me to get the data from saleforce to Biztalk with out using Windows Azure. I got the code snippet from MSDN to fetch the data when workflow action is triggered in Salesforce oubound message is sent to Biztalk, but using windows azure account
    I need the same but with out windows azure.
    My requirement is same but I dont want to use the WindowsAzure account
    Here is the MSDN code i followed
    http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286

    Hi,
    See also the SalesForce blogposts from Steef-Jan Wiggers.
    BizTalk, SalesForce and MSMQ – Part I
    http://soa-thoughts.blogspot.nl/2010/08/biztalk-salesforce-and-msmq-part-i.html
    BizTalk, SalesForce and MSMQ – Part II
    http://soa-thoughts.blogspot.nl/2010/08/biztalk-salesforce-and-msmq-part-ii.html
    Kind regards,
    Tomasso Groenendijk
    Blog 
    |  Twitter
    MCTS BizTalk Server 2006, 2010
    If this answers your question please mark it accordingly

  • SalesForce BizTalk 2013 Integration

    Hi there, 
    I'm playing with BizTalk and SalesForce, trying to figure out what would be the best approach to the problem of integration of these two systems.
    Up to this moment I have figured out that there is a Windows Azure Service Bus approach, with Service Bus acting as a relay between SF and on premises BT2013 as well as the MSMQ approach. 
    Could anyone recommend any of these solution as better ? 
    What makes me concerned about MSMQ is - I've read somewhere that it becomes outdated. For example the MSMQT transport is deprecated in BT2010 and higher.
    However the Azure Service Bus approach makes me worried about the long term costs of the solution. Is the data transfer going through that Service Bus ? And what would the cost of that be in a long run inc case we need to trasfer 1GB of data every year/moth/week?
    Thanks in advance.

    HI,
      can you help me to get the data from saleforce to Biztalk with out using Windows Azure. I got the code snippet from MSDN to fetch the data when workflow action is triggered in Salesforce oubound message is sent to Biztalk, but using windows azure account
    I need the same but with out windows azure.
    My requirement is same but I dont want to use the WindowsAzure account
    Here is the MSDN code
    http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286

  • Biztalk to Salesforce

    Hi,
    I need a help at present I followed the MSDN code to connect Salesforce and retreive Salesforce Notification in the  below code provided  MSDN link
        http://msdn.microsoft.com/en-us/library/dn198272(v=bts.80).aspx
     Code written in MSDN as Biztalk will receive the Notifications when the sales force workflow action is triggered  configured the endpoint using Azure Account.
       My requirement is similar solution like mentioned in MSDN but I dont want to use Windows Azure. My Biztalk Application should
    receive the salesforce Notifications when a Salesforce workflow action is triggered. 
    So, How do I need to configure endpoint in Receive Port If i dont want to use Windows Azure

    Hi,
       Thanks for the reply I followed your approach but while workflow action is triggered 
    I am getting the error as 503 service available as below screenshot  I exposed My Orchestration as a WCF service with WCF-Basichttp Binding as Receive Location as you mentioned and my service URL looks like
    http://MyComputername/BtsSalesforceInboundflow/NotificationService_NotificationServiceClient_SalesforceNotificationPort.svc
    Next items for delivery
    Action
    Outbound Message ID
    Object
    # Attempts
    Created Date
    Next Attempt
    Delivery Failure Reason
    Retry | Del
    04ki0000000CdBV
    006i000000FqOsm
    1
    1/16/2014 7:59 AM
    1/16/2014 8:00 AM
    (503)Service Unavailable

  • Integrating Dynamics AX to Microsoft CRM using biztalk

    I like to know what is the way to integrate Dynamics AX with Dynamics CRM . For AX integration using biztalk no issue. I need to give a demo to integrate Dynamics AX with CRM using Biztalk.  For demo I need to consume WCF service of AX and push that
    data to CRM . How I can do that.
    1)Consume AX service in Biztalk - Easy no issue
    2)How I can push this dat to CRM -????? That is what I like to know .
    I don't see there is adapter for Dynamics CRM . Basically we are trying to compare Biztalk with Mulesoft for this purpose.
    So let me know what is option in Biztalk to integrate with CRM???

    Follow below post ,it talk about integrate BizTalk with salesforce.com site.
    after completing some development in the site, it generate the path(in my case "http://ap1.salesforce.com/services/wsdl/class/AGT_GlobalId". ) to integrate from biztalkk
    http://social.msdn.microsoft.com/Forums/en-US/22c22e51-80bb-4dbe-a048-25d518e0dece/biztalk-2010-integration-with-sales-forcecrm?forum=biztalkr2adapters

  • BizTalk Transformation

    Hi,
    I'm justing playing a bit with Logic Apps right now. I have one question regarding the BizTalk Transform Service. My current test scenario is: Azure Service Bus > BizTalk Transform > Salesforce
    I uploaded a MABS Tranformation and now want to use the target xml nodes in my Salesforce destination. My question is how can I do that? In the saleforce connector is only "OutputXml" available. Because I couldn't find any documention, I've just
    tried @body('transformservice').OutputXml.Root.lastname in my salesforce connector, but that didn't work. A transformed XML has following structure:
    Root
    - Lastname
    - Firstname
    Any help is welcome, thanks!

    Hi MaNuRa,
    Add the moment there is no way to reference particular nodes of an XML object within logic apps. This why you only see "OutputXml" as an available input to your salesforce connector.
    We'll will be adding a JSON encoder in the near future to help handling XML and make it accessible to the logic apps runtime.

  • Retrieving data from Salesforce SOAP API

    Hi
    I would like to using BizTalk 2010 to call the 'query' web method of the SalesForce SOAP API and have it return some data I further process in BizTalk.  There are various online examples, albeit quite old ones, of sections of what I want to achieve
    this but no complete examples with sample code.  I would like to avoid doing any SalesForce APEX customisation.
    So far I have a SalesForce account and have created some contacts.  In BizTalk I've created an orchestration, which calls a Helper class.  This C# helper class just logs into SalesForce and returns a Session ID and Server URL.  BizTalk then
    creates a SalesForce 'query' message, with a query such as 'SELECT FirstName, LastName FROM Contact'.  I then populate the message header with the Session ID and using a dynamic port, set the address to be the Server URL.  This seems ok, I get the
    sessionID and Server URL, but when calling the 'query' method from the orchestration I just get a 'The remote server returned an error: (500) Internal Server Error.' error.
    I really can't see what I doing wrong.  Any advice would be greatly appreciated.
    Colin.

    Correctly pointed out by Ashwin, this error is definitely due to wrong message structure/data value being passed across to the server.
    Periodically there are refresh happening in Salesforce Sandbox database to bring it in sync with production Salesforce database. After such refresh
    there might be problems to connect or communicate with Salesforce.com using SOAP receiver adapter.
    To debug the issue further you can import the latest enterprise WSDL into the SOAP UI tool and set up proxy server details if any. Under each project
    there will be operations such as login, logout, query etc. Right click on query and generate new instance of query. This is because this helps to find out the exact structure of the SOAP message being accepted by Salesforce.com.  There cannot be any change
    in number of tags or name of tags in SOAP message.
    Compare the message structure with the message you have created in orchestration. Issue could be as simple as difference in namespace information.
    For more details refer: Troubleshooting
    SAP-PI and Salesforce.com integration scenario
    Rachit

  • Processo NFE - Biztalk GRC

    Bom dia a todos, estamos implementando NFE e gostaria de saber se alguem ja passou por algo parecido.
    Iremos partir de um software em VB que ira enviar para o GRC via biztalk...alguem ja passou por essa situação? Gostaria de saber como o BIztalk irá startar, se possivel também, as RFC.
    Obrigado,

    Henrique,
    Voce teria alguma documentação ou link referente a interface SOAP to RFC.
    Como eu disse anteriormente, temos o seguinte cenario
    Biztalk -> SAP GRC/PI -> Sefaz..
    Preciso entender melhor a configuração necessária para a realização desse processo.
    Obrigado mais uma vez.
    Vinicius

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to update an existing item in a sharepoint list using the WSS adapter for Biztalk

    Is there a way that a record in SP list be updated using WSS adapter in biztalk ?
    BizTalk 2013 and SP 2013 ..
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    A ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
    http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
    There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
    http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
    Regards.

  • I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I think there are third-party programs which will do that, but you can also do it with Automator:
    See the links in my post, here: https://discussions.apple.com/message/22390873#22390873
    The file or clipboard contents will be in Tab Separated vars, so you'll have to open with a spreadsheet program and save as Comma Separated Vars format.

  • New line character (/n ) getting introduced in the response XML in Biztalk 2010

    Hello,
    In one of our enviornment, we have started facing an issue that the response XML does not get structered correctly, hence when the response is finally redenered, there is a /n in the response fields. this is for all string fields that do not have data . 
    e.g.
    If you see the sample below, FName field has data and hence is structered correctly, however HairColorCd does not have data.
    The opening and closing tags of HairColorCd are on different lines when the xml response is opened in a text editor, and when opened in IE, there is a space. When the BizTalk (hosted as a WCF )responds to the caller application there appears a '/n ' in the
    value of the field.
    The correct value should have been null, i.e. ""
    <FName>LISA</FName><HairColorCd>
        </HairColorCd><HairColorDesc>
        </HairColorDesc><EyeColorCd>
        </EyeColorCd><EyeColorDesc>
        </EyeColorDesc>                                                                                                                                                                          
    ANy ideas on why this is happenning?ALl other enviornments(with same code) is working fine.

    Hi Rachana,
    I have faced the same issue last weeks with BizTalk 2010. This happens with versions of BizTalk 2006R2+ and  if you are loading the message using XML Document in some stage. So if that is the case, please check everytime you load the content of the
    message using XMLDocument and do it this way:
    Xmldoc= new System.Xml.XmlDocument();
    Xmldoc.PreserveWhitespace=false;
    Xmldoc.Load(CONTENT); // or Xmldoc.LoadXml(CONTENTAsSTRING)
    Xmldoc.PreserveWhitespace=true;
    YourBizTalkMessage=Xmldoc;
    Do it in this sequence and your problem should be solved.
    Regards, Mazin - MCTS BizTalk Server 2006

  • Using Federated Security in BizTalk against custom Token Provider and Custom Token

    Hi,
    I as the topic states, I'm trying to get BizTalk to use a Custom Token Provider with custom tokens.
    So I thought this would be rather painless using ws2007FederationHttpBinding but got stuck. The problem is that the service expect soap action and a special structure (se example):
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsc="common.namespace" xmlns:ws="securitytoken.namespace">
       <soapenv:Header>
          <wsc:AutHeader>      
    Containing Custom Auth header information tags, about 20 or so
          </wsc:AutHeader>
       </soapenv:Header>
       <soapenv:Body>
          <ws:SECSSecurityTokenCreate_V1_0InputArgs>
             <ws:SecurityTokenCreateRequest>
                <ws:securityToken><!-- signed SAML assertion --></ws:securityToken>
             </ws:SecurityTokenCreateRequest>
          </ws:SECSSecurityTokenCreate_V1_0InputArgs>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <SECSSecurityTokenCreate_V1_0OutputArgs xmlns:ns2="common.namespace" xmlns="tokenservice,namespace">
    <SecurityTokenCreateResponse>
    <securityToken> <!-- THE Custom TOKEN --> </securityToken>
    </SecurityTokenCreateResponse>
    <ResponseState>
    <ns2:ErrorCode>0</ns2:ErrorCode>
    <ns2:Severity>0</ns2:Severity>
    <ns2:ComponentId>201</ns2:ComponentId>
    <ns2:StrErrorCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    <ns2:Message>OK</ns2:Message>
    <ns2:NativeError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    <ns2:LogSequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    </ResponseState>
    </SECSSecurityTokenCreate_V1_0OutputArgs>
    </soap:Body> </soap:Envelope>
    Error Message in BizTalk, when I send message via ws2007FederationHTTPBinding to the SOAP service, as expected the soap structure dosent match the expected one from the server, most obvisly is the missing SOAP action and incorrect BODY element.
    System.ServiceModel.ProtocolException: The content type text/html; charset=iso-8859-1 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 521 bytes of the response were: '<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Body>
    <soap:Fault>
    <soap:Code>
    <soap:Value>Server</soap:Value>
    </soap:Code>
    <soap:Reason>
    <!--1 or more repetitions:-->
    <soap:Text xml:lang="en">Missing operation for soapAction [null] and body element [{http://docs.oasis-open.org/ws-sx/ws-trust/200512}RequestSecurityToken] with SOAP Version [SOAP 1.2]</soap:Text>
    </soap:Reason>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
    at System.Net.HttpWebRequest.GetResponse()
    at System.Servi
    My plan to solve this is to try using beahviors added to the "inner" wcf binding that will help reconstruct the message from the standard form that I has, but I'm a bit vorried that I start to solve this and later on I'll have to add custom handling
    for token extraction and handling since the token should be placed in a custom header in the soap envelope with custom namespace =).
    So my question is, could this be solved via sw2007FederationHttpBinding or is an orchestration and some custom code for signing the path forward?
    Thanks in advance for any help or guidance!
    /Mattias

    It's a little tough to use sw2007FederationHttpBinding, I faced similar situation before. :(

Maybe you are looking for