Skip to content

Bind a client to a SOAP address  #26

Description

@gravity00

The client is currently stateless since the Send method receives the URL, action and envelope. Since the client is usually used to communicate with a single SOAP server, always sending the URL is redundant.

Possible solution: create a wrapper that always uses the same URL

using(var client = SoapClient.Connect("<server url>"){
    client.Send("<action>", envelope);
} 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions