Consuming Orchestration Exposed WCF service On remote system.

Hello All ,  I am new to BizTalk, so bear with me 

I have created an orchestration for Insert operation to DB and Exposed it as WCF service, finally deployed in IIS fine.

but whenever I am trying browse wsdl of service its prompting as : Network Error (dns_unresolved_hostname)  
 Your requested host "DomainName" could not be resolved by DNS.

url : http://domainName/Biztalk_PaymentTransaction_Process_PaymentTransaction_Port_RcvTransaction.svc?singleWsdl .

I just replaced that domainName and put IP there I am able to browse my service, worked fine on Local system.

but while trying with same url replacing domainname with IP on remote system, its throwing Exception as below

There was no endpoint listening at http://DomainName/Biztalk_PaymentTransaction_Process_PaymentTransaction_Port_RcvTransaction.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

please Explain what I need to do to resolve this,

Do I'm missing something or what extra I need to DO...

Thanks to all.

 

February 25th, 2015 1:40pm

Hi Nilesh,

You should change the type to "Question" instead of "discussion".

To answer to your question, you need to change the service behavior in the web.config file for generated wcfservice so as to use DNS server name instead of IIS host name.

<behaviors>
      <serviceBehaviors>
        <behavior name="MyServiceBehavior">
          <serviceMetadata httpGetEnabled="true" externalMetadataLocation="http://IPorDomainName/MyServices/FileTransferService.wsdl"  />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>

Refer: How to replace Machine Name with Domain name in WCF Service wsdl link

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 1:42pm

Associate the domain name and the IP of the server where the service is hosted in the host file.

Goto the server where the service is hosted.

Goto the servers host file in %SystemRoot%\system32\drivers\etc\hosts

Take a backup of the host file before you edit it.

Add the following entry as the last line in the host file, replacing in it with the actual IP Domain name.

xxx.xxx.xxx.xxx YourdomainName.com
where xxx.xxx.xxx.xxx = IP and YourdomainName.com = domain name
February 25th, 2015 4:51pm

Associate the domain name and the IP of the server where the service is hosted in the host file.

Goto the server where the service is hosted.

Goto the servers host file in %SystemRoot%\system32\drivers\etc\hosts

Take a backup of the host file before you edit it.

Add the following entry as the last line in the host file, replacing in it with the actual IP Domain name.

xxx.xxx.xxx.xxx YourdomainName.com
where xxx.xxx.xxx.xxx = IP and YourdomainName.com = domain n
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2015 1:26am

Ask the external system to replace the domainname in the URI with the IP of your system and check. If that works then contact your NETWORK team and have them include the host name + domain name appropriately in the DNS for it to resolve.

The error is on the client side and states that the DNS is not able to resolve the name in the WSDL to an IP address to establish communication w.r.t SOAP Client.

Regards.

March 11th, 2015 1:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics