Webservices calling another Webservices
Does anyone know if it is possible to call a webservices, from another webservice.
Im trying to do that. But im stuck with an error
I have created a webservice, and theWebReferenceURLproperty points to the dynamic URL of the webservice, which i want to access (http://pcname/....), and theURL Behaviour is set to Dynamic. [WebMethod] when i access this the URLhttp://localhost/WebServiceRequest/Service1.asmx, the method is shown, but when i click on it and click on 'Invoke' in the next page, it leads to a page not found. But it should be showing the XMl file. I have checked the remote system's webservices, and for this method, the XML file is displayed correctly in that system Hope my question is clear enough. regards
In my asmx file, i access the classes of the other webservices, and create a method which returns an object, which looks like below
{
NewRequestService.RequestService requestService =new NewRequestService.RequestService();
return requestService.GetDeliveryTypeInfos();
}
NewRequestService refers to the local webservice name, RequestService is the remote webservice's class. and this class has a method GetDeliveryTypeInfos() which returns obj[].
Abhi

