Problem in using BizTalk Orchestration as WebServi
Hi,
I developed a very simple orchestration which is receiving a message (InputSch) and transfer this message to output message (OutputSch) and sends it to output port. I have created a two dimensional port (I shall receive a request and send a response) type port. I exposed this orchestration as web service.
Then i developed a simple Web Application in .net, then added the web reference to this orchestation service. Then i declared the the objects for my orchestration port, input scheman and output schema, (the code is)
serviceorch.serviceprj_serviceorch_FutPort obj = new serviceorch.serviceprj_serviceorch_FutPort();
serviceorch.inputsch input = new serviceorch.inputsch();
serviceorch.outputsch output = new serviceorch.outputsch();
then i run my application. Till now every thing is ok. i mean service is accesed and the service variables created without any error.
But when i call function (ReturnOutputSch) which takes "InputSch" (which is my input schema) type object as input and return "OutputSch" (which is my output schema) as output of the function, (the code is)
output = obj.ReturnOutputSch(input);
and now after adding this code to my web application when i run my web application i get the following error in my browser
Line 38: object[] results = this.Invoke("ReturnOutputSch", new object[] {
I dont have any idea about what is the problem. If u have any idea about this probelem then plz share it with me.
With tnx in advance.
Bye
|