Last post Mar 21, 2013 08:37 AM by nyrajiv
Mar 20, 2013 08:23 AM|nyrajiv|LINK
Allow me to ask you I have WCF services, lets say A and B and C. Now A is responsible for redirect to B or C.When user call via web page (page) then we can have refrences of A then from A service then it can redirct to B or C. and after that if i want wsdl
or response from B or C to A then can we get it?
Please guide me, i am new for this.
Mar 20, 2013 08:48 AM|kushalrdalal|LINK
Yes. You can do this.
In B or C the method you create can return say string or object and when A consume it it gets that response.
Mar 20, 2013 08:57 AM|nyrajiv|LINK
Please could you give me some details about this with example?
Mar 20, 2013 09:58 AM|kushalrdalal|LINK
//Method in Service B
When A consume this method of B it will return DataTable(You can change it to any custom object or any data type as per your requirement).
So then in A you can call this method like this -
BClient bclient= new BClient("Endpoint"); //change endpoint as per your proxy endpoint name
DataTable dt = bClient.TestMethodInB(employeeId);
// Once you get datatable or custome object you can work on that in Service A.
Let me know if you are looking for anything else.
Mar 21, 2013 08:37 AM|nyrajiv|LINK
Thanks for answering me but my sceanrioa is totally diffrent .
I have to exposed and exchange wsdl from Application A, B and C so how we can implement it?
we need exchanged either wsdl or custom wsdl for beeter commnication.
Please guide me how to do that.