Biztalk 2009 and WCF

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Biztalk 2009 and WCF

Viewing 1 reply thread
  • Author
    Posts
    • #24555

      Hi
      I’m a complete newbie to BT.I’ve create a simple WCF service with 1 method eg.

      public ResponseObj GetSomething(RequestObj vRequest)
      {
      ResponseObj resp = new ResponseObj();
      //some logic here

      return resp;
      }

      The Response/RequestObj are [MessageContracts] with [MessageBodyMember]

      [MessageContract]
      public class RequestObj
      {
      [MessageHeader]
      public int MessageID{get;set;}

      [MessageHeader]
      public int MessageDescription{get;set;}

      [MessageBodyMember]
      public int SomeOtherDataContractClass{get;set;}
      }

      In BT2009 I consume this WCF service,but I want ,right @ the start of the orchestration do some mapping.So I want to take this incoming soap message and map it myMap for example.
      Because BT is consuming WCF it’s pulling in soap and there’s no xsd from wcf ‘s side so how do I create a myNewXsd from the soap msg.
      Here is the soap I receive in BT

      –

      –
      –
      –

      –
      –
      –

      –
      –
      –

      –
      –
      –

      –
      –
      –

      Thx in Advance

    • #24558

      Hi,

       

         You can generate the schema from the assembly file built from your WCF service (DLL). Run the XSD.exe utility from the command line and pass that assembly as a parameter to it.

       

         Daniel.

       

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