how to take arguments from a web page to uze them in an orchestration?

Home Page Forums BizTalk 2004 – BizTalk 2010 how to take arguments from a web page to uze them in an orchestration?

Viewing 1 reply thread
  • Author
    Posts
    • #22464

      Hi,

      i got a project about SOA,the short history is:

      form an interface i’m gonna take users id and pass and check this userc credentials from 3 databases by three web services which are connected directly to these databases. I know how to listen a directory to take files by a port (sender) and receive them and send them to another directory (target) by another port (listener).

      Here is my confusion starts,i can take users information form web page with an web service Login.asmx but i don’t know exactly how to integrate (if i can) this web service to my orchestration. if i can how can i pass those arguments (id,pass) to another xml? Do i have to define Login.asmx service as a listener port?

      thanks..

    • #22467

      Hi!

      My suggestion, if I understand your question, is that you publish your orchestration as a web-/wcf-service using the “BizTalk Web Services Publishing Wizard” or the “BizTalk WCF Service Publishing Wizard”.

      //Niklas

      • #22468

        Thanks for your suggestion Niklas,

        I don’t have much about WCF,now i’m diving into it,i think you’re right,i will do an http binding with WCF.

        i will let you know.

        • #22469

          Great!

          • #22505

            Niklas,

            i know you suggest me a solution but i couldn’t apply that yet,but while i was surfing in forums i saw that i can %u0131se a ws as an input (request). It will be quite same question but, if i put the url of my ws into the web page code and paste arguments, with a form, to web service, can i able to use my web service with these arguments (from web page) at starting the orchestration ? (of course wih configuration of messages)

            • #22518

              Well yes.

              There are three steps to this:

              1. Create an request/response-orchestration where you trigger on reciving a message containg the data you want to pass to it.
              2. Publish this orchestration using the BizTalk Web Services Publishing Wizard. http://technet.microsoft.com/en-us/library/aa578703.aspx
              3. Consume the web-service from your web page.  http://msdn.microsoft.com/en-us/library/t745kdsh.aspx

              //Niklas

              • #22532

                thank you for your suggestions, i have final exams this week (started last week) so i can’t spend any time on this project for this week,after my exams i will continue to this post.

                thanks.

                • #22597

                  Hi Niklas,

                  i’m back again in my project and got a new question: the web service in my biztalk project has no schema under reference,that’s bacause that web service return primitive types. i can create a new schema with an xml reponse example by “generated items”,you know. here is my problem; i can create an ex xml reponse but i need also an xm example to use in message transfrom (from web page input to web service request) also i’m gonna create a map for these two type of messages. Now,do i have to generate two schemas (for request and reponse) and stick them together to create a “reference.xsd”?

                  hope i could tell my problem and hope to get an answer..

                  thanks.

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