none
Xml Resubmissions for WCF-Custom RRS feed

  • Question

  • Hi, I am trying to get re-submissions working in my current configuration.

    I defined a itinerary on my WCF-Custom receive location with sql binding and made the following changes in ESB.Portal to have WCF-Custom receive location show up on the esb portal.

    1. Open ESB.Portal solution using visual studio
    2. Open MessageViewer.ascx.cs in Faults folder
    3. Locate PopulateReceiveLocationList() method
    4. Modified the following if condition to populate WCF-Custom transport types in the dropdown for ESB Portal resubmission 
    if (rcvLoc.Handler.ProtocolName.ToUpper().Equals("HTTP") || rcvLoc.Handler.ProtocolName.ToUpper().Equals("WCF-CUSTOM"))
    5. Build ESB.Portal.

    6. Update usp_insert_Message in the EsbExceptionDb with

    IF (@ContentType = 'text/plain' AND LEFT(@MessageData,1) = '<')
    BEGIN
      SET @ContentType = 'text/xml'
    END

    How do i defined the wcf on ramp endpoint for xml resubmissions ? I understand I have to do it in <Client> node of the <System.ServiceModel> section of Web.config. 

    Am I correct in assuming the address is the sql address, binding is type of WCF-Custom binding used, not sure what the bindingConfiguration, and contract would be, name of the receive location or port ?

    <endpoint  
      address="mssql://phbopsql77//PHQueues?InboundId=PollingMojoOrders"  
      binding="sqlBinding"  
      bindingConfiguration="WSHttpBinding_ITwoWayAsyncVoid"  
      contract="ProcessRequest"   
      name="Rcv_MJOrders">                  
    </endpoint>

    Without the end point configuration I am getting WebExceptions as shown below:

    Exception information: 
        Exception type: WebException 
        Exception message: The remote name could not be resolved: 'phbiztalkmssql'


    Tuesday, October 2, 2018 6:21 PM