VB.NET 2010 Problem with UpdateOrderStatus - VDM Forum
Welcome, Guest
Please Login or Register.    Lost Password?

VB.NET 2010 Problem with UpdateOrderStatus
(1 viewing) (1) Guest
SOA For Virtuemart open source component category
Go to bottomPage: 1
TOPIC: VB.NET 2010 Problem with UpdateOrderStatus
#899
VB.NET 2010 Problem with UpdateOrderStatus 1 Year, 3 Months ago Karma: 0
Hello,

first you have create webservice tools . But i have with one SOA Webservice function -> "/com_vm_soa/services/VM_OrderWSDL.php" a problem.

here is my sample code to set a order status for the order id 4 with Confirm and notification yes and note OK.

Dim VMLogin1 As New ServiceReference4.loginInfo
VMLogin1.login = SoapBenutzer
VMLogin1.password = SoapPasswort

Dim AnfrageU As New ServiceReference4.VM_OrderClient
Dim Request As New ServiceReference4.UpdateOrderStatusInput()

Request.loginInfo = VMLogin1
Request.UpdateOrderStatusParams(0).order_id = "4"
Request.UpdateOrderStatusParams(0).notify = "y"
Request.UpdateOrderStatusParams(0).status = "C"
Request.UpdateOrderStatusParams(0).comment = "OK"

Dim Response As String = ""

Response = AnfrageU.UpdateOrderStatus(Request)

But i received an error if i start the code.
Error "Object reference not set to an object instance."

Can you help me what I'm doing wrong.

Best Regards
Stefan
jackels
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#900
Re: VB.NET 2010 Problem with UpdateOrderStatus 1 Year, 3 Months ago Karma: 8
I don't develop with VB. Test it with SOAPui to be sure UpdateOrderStatus works
admin
Mickael
Admin
Posts: 834
graph
User Offline Click here to see the profile of this user
Gender: Male Virtuemart Datamanager Location: Paris France Birthday: 08/03
Last Edit: 2012/01/27 09:51 By admin.
VDM & SOA For VM Admin
The administrator has disabled public write access.
 
Go to topPage: 1

Follow us on Facebook & Twitter



  

Useful informations

Itunes / Online store / Forum / FAQS / Contacts / About Us / Terms of Service