1-dimensional array error
- From: Louis Delouiser - Systems Consultant <Louis Delouiser - Systems Consultant@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 07:12:02 -0800
Hi all - I hope someone can help me out with this web services error I'm
receiving when trying to pass an XML string document to this simple web
service to create a PO. Here's my button click code:
Public Sub btn_ProcessImportXML_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btn_ProcessImportXML.Click
'Declare variable for the PO Entry Service
Dim MyService As POEntry.POEntryService = New POEntry.POEntryService()
'Declare variable for the results
Dim myResult As POEntry.MethodResponse()
Dim Doc = New XmlDocument()
Doc.Load("c:\temp\poentry.xml")
Dim thisXML As String = Doc.outerxml
myResult = MyService.POEntryimport("PO", "1", thisXML) ' expects
systemname as string, company_id as string, document as string
End Sub
I am unable to compile my application and run because I receive the
following error:
Error 20 Value of type 'PO_XML.POEntry.MethodResponse' cannot be converted
to '1-dimensional array of PO_XML.POEntry.MethodResponse'.
I'm new to web services. I've tried several options with no success.
Any help would be great.
Thanks!
.
- Follow-Ups:
- Re: 1-dimensional array error
- From: John Saunders [MVP]
- Re: 1-dimensional array error
- Prev by Date: Re: Identifying a SOAP Converstation
- Next by Date: Re: 1-dimensional array error
- Previous by thread: Identifying a SOAP Converstation
- Next by thread: Re: 1-dimensional array error
- Index(es):