Tuesday, 29 January 2013

Customize Biztalk Service URL when Orchestration expose as webservice

Customize Biztalk Service URL when Orchestration expose as webservice

Step 1: Change Svc filename to new serviceName.











Step 2: Change URL in ReceiveLocation Properties at Biztalk Admin  Console.



Step 3 : Changes in ServiceDescription.xml , available at
C:\inetpub\wwwroot\WebsiteFolder\App_Data

ServiceName and PortType Name

Example :

<?xml version="1.0" encoding="utf-16"?>
<BtsServiceDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Company.Demo.Schemas" TargetNamespace="http://tempuri.org/" xmlns="http://schemas.microsoft.com/BizTalk/2006/01/Adapters/WCF/Publishing">
  <Description />
  <MessageType Name="Company.Demo.Schemas.Schema1#Schema1" FileName=".\Company.Demo.Schemas.Schema1.xsd" AssemblyLocation="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Company.Demo.Schemas\v4.0_1.0.0.0__3b0fe90ef71d5ac4\Company.Demo.Schemas.dll" AssemblyName="Company.Demo.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b0fe90ef71d5ac4" TypeName="Company.Demo.Schemas.Schema1" TargetNamespace="http://Company.Demo.Schemas.Schema1" RootName="Schema1">
    <Description>Company.Demo.Schemas.Schema1, Company.Demo.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b0fe90ef71d5ac4</Description>
  </MessageType>
  <Service Name="Company">
    <Description>service "Company.Demo.Schemas.BizTalk_Orchestration4" port "Port_1"</Description>
    <PortType Name="Company">
      <Description>service "Company.Demo.Schemas.BizTalk_Orchestration4" port "Port_1"</Description>
      <Operation Name="Operation_1" MethodName="Operation_1">
        <Description>operation "Operation_1"</Description>
        <Input Name="__messagetype_Company_Demo_Schemas_Schema1" MessageType="Company.Demo.Schemas.Schema1#Schema1" />
        <Output Name="__messagetype_Company_Demo_Schemas_Schema1" MessageType="Company.Demo.Schemas.Schema1#Schema1" />
      </Operation>
    </PortType>
  </Service>
</BtsServiceDescription>

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Biztalk Server Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/biztalk-server-online-training-213.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad Biztalk Server Online Training, Biztalk Server Training, Biztalk Server, Biztalk Server Online Training| Biztalk Server Training| Biztalk Server| "Courses at 21st Century Software Solutions
    Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
    Visit: http://www.21cssindia.com/courses.html"

    ReplyDelete