Webservices calling another Webservices

Hi Guys,
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.
In my asmx file, i access the classes of the other webservices, and create a method which returns an object, which looks like below

[WebMethod]
public Object[] GetDeliveryTypeInfos()
{
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[].

when i access this the URLhttp://localhost/WebServiceRequest/Service1.asmx, the method

  • GetDeliveryTypeInfos

    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
    Abhi

  • [2011 byte] By [MeMyselfNDotnet] at [2008-2-6]
    # 1
    the HttpPost protocol will only work with simple Xml represntation, get some other dedicated tools to do this, such as the free web services studio , find it here http://www.gotdotnet.com
    erymuzuan at 2007-9-8 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

    .NET Development

    Site Classified