none
WCF endpoint/Service Reference, iterate SOAPBody, via WSDL RRS feed

  • Question

  • Hi Folks

    I've had to scale back on the use of reflection (in .NET), to reflect what kind of objects are coming in from a service reference end point(s) (in an ASP.NET web solution). (But I've managed to deliver round# 1 of what the customer needs, just not in my preferred way of doing it.)

    I'd like to be able to work down to the class level(s) and iterate (via the WSDL definition) an end-point (and mine in this case are ALL SOAP messages).

    It's pretty complicated with .NET and more than I had believed it to be.

    This url functionality here is roughly the Java equivalent of what I need to do (i.e. convert to) in .NET:

    http://www.soapui.org/xref/com/eviware/soapui/impl/wsdl/support/wsdl/WsdlUtils.html

    I've looked all over the web for something like this, but in .NET, but never found such a comprehensive example. Anyone know of any reference code (where you can pass it an end-point, it reads the .wsdl, and for the interface being called, it "shreds" the SOAP message based on READING THE PROPERTIES reflected from the interface?

    thanks
    rob k
    Friday, May 24, 2013 3:56 PM

All replies

  • Hi Rob,

    Hope that you are doing good today.

    I did have a chance to review the post that you have. For the requirement that you have, there is a GUI tool available i.e. WCF Test Client where you can add your service reference and specify the endpoint and this has the capability to read the WSDL and expose the interfaces. The link http://msdn.microsoft.com/en-us/library/bb552364.aspx speaks more about this. HTH!

    Regards,

    Melissa-MSFT

    Thursday, June 13, 2013 6:47 PM