Problem with schema to send to WS

Home Page Forums BizTalk 2004 – BizTalk 2010 Problem with schema to send to WS

Viewing 1 reply thread
  • Author
    Posts
    • #18894

      Hello,

      after adding a web reference of a web service to my project I can’t map to the schema required to send to any of the request ports. One of them has to be called without a parameter, but the other two need “something”.

      No book I own even mentions this problem.

      Why would Biztalk forbid me to map my (dummy-)input-XML to any of the referenced (request) schemas ?

       Regards, Michael

    • #18903

      Michael, This can happen if the WS you’re invoking uses RPC/Encoding or isn’t really using document/literal encoding in the best possible manner. In that case, you can end up with a multi-part message type when biztalk imports the WSDL that has separate “messages” for each of the service method’s arguments with the actual types involved. I.e. you’lll get a multi-part message type with a bunch of properties with string/int/whatever types.

       

      In that case, you can still use it, but you can’t use a map to create the message; you need to directly fill it out using expressions inside a message assignment shape in your construct shape.

      • #18908

        Hello tomasr,

        this sounds exactly like my problem. I will try and use expressions then. And maybe my colleague who programmed the web services can tell me a little more about them.

        Thank you very much !

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