Home Page › Forums › BizTalk 2004 – BizTalk 2010 › how to take arguments from a web page to uze them in an orchestration?
- This topic has 8 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
May 24, 2009 at 4:15 PM #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..
-
May 24, 2009 at 11:38 PM #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
-
May 25, 2009 at 12:48 AM #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.
-
May 25, 2009 at 1:00 AM #22469
Great!
-
May 27, 2009 at 7:09 AM #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)
-
May 28, 2009 at 12:04 AM #22518
Well yes.
There are three steps to this:
- Create an request/response-orchestration where you trigger on reciving a message containg the data you want to pass to it.
- Publish this orchestration using the BizTalk Web Services Publishing Wizard. http://technet.microsoft.com/en-us/library/aa578703.aspx
- Consume the web-service from your web page. http://msdn.microsoft.com/en-us/library/t745kdsh.aspx
//Niklas
-
May 30, 2009 at 2:50 AM #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.
-
June 5, 2009 at 10:19 PM #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.
-
June 14, 2009 at 3:41 AM #22652
found my own solution:
-
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.