DpwsHttpClient.SendRequest Method

Sends a soap request using HTTP to a service endpoint.

Namespace: Dpws.Client.Transport
Assembly: MFDpwsClient (in mfdpwsclient.dll)

Syntax

public DpwsSoapResponse SendRequest (
         byte[] soapMessage,
         stringendpointAddress,
         boolisOnway,
         boolisChuncked
)

Parameters

  • soapMessage
    A byte array contining a SOAP request message.
  • endpointAddress
    A string containing the endpoint address of a service that will receive the request. This must be a transport address in the format http://ip_address:port/service_address.
  • isOnway
    If true, do not wait for response. If false, wait for a response.
  • isChuncked
    true if the message is to be chunk encoded.

Return Value

A DpwsSoapResponse object containing a WsWsaHeader and a WsXmlDocument object. The WsXmlDocument contains the parsed response, or null if no response is received or parsing fails.

Version Information

Available in .NET Micro Framework version 2.5

See Also

Reference

DpwsHttpClient Class
DpwsHttpClient Members
Dpws.Client.Transport Namespace