Publishing Schemas as WCF Service

Home Page Forums BizTalk 2004 – BizTalk 2010 Publishing Schemas as WCF Service

Viewing 1 reply thread
  • Author
    Posts
    • #23529

      Hi folks,

      Laltly  I faced an issue, with publishing schemas as WCF service (talking about BTS 2009/Windows server 2008 / IIS 7)

      Once, in old good days, when I wanted to publish schema as a Web Service, I’ve used to run WebService Publishing wizard, which was creating WebService with solution and code classes (*.cs).

      If I wanted to make some addons or changes to my code – I just could open that solution (in c:\inetpub\wwwroot\MyProjectName) and did the suitable changes.

      Now, while I want to publish those same schemas as WCF Service, I run almost the same wizard, which also creates receive location and Web Application etc’, but there’s no any code I could change.

      And the questuion is: what if I do want to make some changes while exposing schemas as WCF service? I cannot? Or do I need to write custom WCF code with interfaces suitable to my schemas?  Or all what I can – is configuring in receive location of that service?

      What is the correct way?

      p.s. – The changes to my code – it should be two -way service, with immidiate response after “this.Invoke(…)” – generated code by wizard. I want to return a message to client that the request has arrived to message box (the response as response schema)

       

       

       

    • #23531

      Hi folks,

      Laltly  I faced an issue, with publishing schemas as WCF service (talking about BTS 2009/Windows server 2008 / IIS 7)

      Once, in old good days, when I wanted to publish schema as a Web Service, I’ve used to run WebService Publishing wizard, which was creating WebService with solution and code classes (*.cs).

      If I wanted to make some addons or changes to my code – I just could open that solution (in c:\inetpub\wwwroot\MyProjectName) and did the suitable changes.

      Now, while I want to publish those same schemas as WCF Service, I run almost the same wizard, which also creates receive location and Web Application etc’, but there’s no any code I could change.

      And the questuion is: what if I do want to make some changes while exposing schemas as WCF service? I cannot? Or do I need to write custom WCF code with interfaces suitable to my schemas?  Or all what I can – is configuring in receive location of that service?

      What is the correct way?

      p.s. – The changes to my code – it should be two -way service, with immidiate response after “this.Invoke(…)” – generated code by wizard. I want to return a message to client that the request has arrived to message box (the response as response schema)

      • #23532

        It seems that I’ve found a solution. Using by custom behavior. [:)]

        • #23621

          Hi Yonathan,

           

             You posed a question to me on another thread, regarding the use of custom behavior at the service level. It would be easier if you can show me what you are trying to change in your schemas and publish them afterwards.

           

             Daniel.

           

          • #23622

            Hi Daniel,

            One when I was publishing web BTS Schemas as Web Service, I was running BTS wizard, whish was creating web application, and some cs code in inetpub. I was changing that cs, just after the line which was “this.Invoke(..)” – it’s a method for putting message to message box.

            It was two-way, but the response client received immidiately after putting message to message box.

            Now, when I want to expose wcf service based on same schemas – actually I have no code, only schemas, and some binding. So, I exposed one-way web method.

            Thank you.

             

             

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.