sending XML message to webservice problem

Discussion in 'ASP .Net Web Services' started by Chris, Jun 30, 2004.

  1. Chris

    Chris Guest

    I have a customer who wants to send us a XML message like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">
    <PurchaseOrder xmlns="">

    This message can't be changed. So I build a webservice like this:

    public string PurchaseOrder(XmlNode XmlPurchaseOrder)
    //do something nice with XmlPurchaseOrder

    When I am looking at the contents of XmlPurchaseOrder, I only see the
    elements of the first node, OrderHeader. No Orderdetails. Basically, I
    would retrieve in my function the whole XML message between the
    PurchaseOrder tags, not only the first node. I tried several other
    function calls, but I always ends up with the information of the first

    Anyone a clue?
    Chris, Jun 30, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.