Pass Byte Array to web service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kmercer46@yahoo.com

    #1

    Pass Byte Array to web service

    I have the byte array generated and I also have the web service
    generated what i need to know is how to pass a byte array to the web
    service itself any help would be appreciated.

  • Mike McIntyre

    #2
    Re: Pass Byte Array to web service

    Here is are examples that show how to receive or return a byte array via a web service.

    <WebMethod()> Public Function ReturnDocument( ByVal documentID As String) As Byte(' Retrieve a document stored in binary format from a database

    ' Return the document as a byte array

    End Function



    <WebMethod()> Public Sub ProcessByteArra y(ByVal pByteArray As Byte(), ByVal documentID As String)

    ' Store the document - uploaded as a byte array - in binary format in database.

    End Sub



    <kmercer46@yaho o.com> wrote in message news:1149628832 .419645.137770@ f6g2000cwb.goog legroups.com...[color=blue]
    >I have the byte array generated and I also have the web service
    > generated what i need to know is how to pass a byte array to the web
    > service itself any help would be appreciated.
    >[/color]

    Comment

    Working...