Git Product home page Git Product logo

Comments (6)

pmorelli92 avatar pmorelli92 commented on August 22, 2024 1

Hi @anant-svc,

This library is not parsing the response messages but it should be as simple as this to get it working on your code:

var response =  @"<root><asd value=""12"" /></root>" 
var xElement = XElement.Parse(obj);
xElement.Elements().Single().Name == "asd" // true

from soaphttpclient.

anant-svc avatar anant-svc commented on August 22, 2024

@pmorelli92 Please help me on this asap

from soaphttpclient.

anant-svc avatar anant-svc commented on August 22, 2024

@pmorelli92 1 more question:
How to send body to SOAP API?
Like to send parameters to the server and server processes on it then sends the response XML.
Can you show me an working example?

from soaphttpclient.

pmorelli92 avatar pmorelli92 commented on August 22, 2024

Hi @anant-svc, I am not understanding what you are trying to tell me.

from soaphttpclient.

anant-svc avatar anant-svc commented on August 22, 2024

LIke I want to send some parameters to SOAP server then, how to create the request body?

from soaphttpclient.

pmorelli92 avatar pmorelli92 commented on August 22, 2024

Hi @anant-svc, you have the signatures on the README and some examples on the tests. Basically a soap message consist on the headers and body on XML format.

So what this API exposes are signatures for you not to construct the envelope yourself but just sending XElement of the headers and body you want to send. If your question is how do I construct an XML as a XElement then I recommend you to look into MSDN documentation.

Regards.

from soaphttpclient.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.