Ochestration consuming a web service

Home Page Forums BizTalk 2004 – BizTalk 2010 Ochestration consuming a web service

Viewing 1 reply thread
  • Author
    Posts
    • #23309

      Hi all,

      I’m new to the Biztalk arena and I’m just trying to get my head around consuming a web service through an ochestration. It’s a very basic service that will pass back product information from a request. I have my basic orchestration laid out with a receive port looking at a local folder for an XML file, this will then pass the message to the web service, receive a response, then pass a file containing the response to another local folder.

      The problem I have is that when I try to create a map for the incoming file to the request message (to be used in the construct/transfrom message box), I cannot see the schema for the web service. I’ve added the web service as a web reference and can create the request and response ports, etc, just can’t see any schema. Have I missed a step out somewhere?

      I’ve checked through the consume web service sample that is included in the SDK from Microsoft, and indeed it looks like I am missing the schema because in their map if I click on replace schema on the destination side I can see the schema from the web service there, but not in my project.

      Any help or pointers would be greatly appreciated.

      Regards,

      Terry.

    • #23311

      Hi Terry,

       

         Do you have your orchestration and map defined in different projects? If that’s the case, you should add the reference to the web service in the project where you have your map defined, and be able to select web request schema as your destination schema in your map…

         Best,

       

         Daniel.

      • #23318

        Hi,

        Yes, if was in the same project. I tried deploying the project with just the schema’s in to see if it was that, but that made no differece either.

        I then revisited the sample from Microsoft and whilst had that solution loaded, I tried adding the sample’s service as a web reference to my project. The schema appeared. Looks like the service I am trying to use is not working correctly. I’ve found another service to use and that has also added the schemas fine.

        Thanks for you reply though!

        Terry.

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