We need to call a asmx based webservice. It has wsdl and everything. I have created both web reference and service reference in visual studio.
But the webservice cannot be called directly. As there is a middleware layer, through which we need to call this webservice.
This middleware does not accept soap request. Hence we need to call simple http request, with body as xml. The xml should be soap request so that the webservice can respond.
Has anyone done like this before.
I read about soap extension. which can access soap message. But the soap extension cannot replace the actual request. I want the xml alone from proxy and the proxy should not make the request. I dont want to create all the classes by myself. Is there any option using wcf ?
I want to get the soap request created by the proxy including the "<soap:Envelope>" tag. so that i can use this xml to call my middleware.