using VirtueMart in C# window application - VDM Forum
Welcome, Guest
Please Login or Register.    Lost Password?

using VirtueMart in C# window application
(1 viewing) (1) Guest
SOA For Virtuemart open source component category
Go to bottomPage: 1
TOPIC: using VirtueMart in C# window application
#1371
using VirtueMart in C# window application 10 Months ago Karma: 0
I am simply trying to add new category.Below is given the code:

try
{
ServiceReference_Categories.loginInfo log_inf;
log_inf = new ServiceReference_Categories.loginInfo();
log_inf.login = "admin";
log_inf.password = "xxxxxxx";


ServiceReference_Categories.VM_CategoriesClient sr = new ServiceReference_Categories.VM_CategoriesClient("VM_CategoriesSOAP", "w3.cdx.no/demo2.5/administrator/componen...goriesWSDL.php");

ServiceReference_Categories.Categorie VMCategoria = new ServiceReference_Categories.Categorie();

VMCategoria.id = "7";
VMCategoria.description = "Categoria 7";
VMCategoria.published = "Y";

string z = sr.AddCategory(log_inf, VMCategoria, out x, out y);

MessageBox.Show("z=" + z);

}

catch (Exception ex)
{
MessageBox.Show("error: "+ex.Message);


}



=========================================

But it gives error:

Unrecognized message version
souravk
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1373
Re: using VirtueMart in C# window application 10 Months ago Karma: 8
Hi,

Are you sure SOA component is installed corectly ?

Test services first with SOAPui tools.

virtuemart-datamanager.com/index.php?opt...joomla&Itemid=44
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
VDM & SOA For VM Admin
The administrator has disabled public write access.
 
#1374
Re: using VirtueMart in C# window application 10 Months ago Karma: 0
yes, i check it.it's working everything fine.


just check the attached file.I have sent you the screenshot of the web service testing using soapUI.

Please solve it.it's an urgent
souravk
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1375
Re: using VirtueMart in C# window application 10 Months ago Karma: 8
There is nothing to solve.

Problem is on your code.

Maybe some missing params like NAME
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
VDM & SOA For VM Admin
The administrator has disabled public write access.
 
#1376
Re: using VirtueMart in C# window application 10 Months ago Karma: 0
included name but still showing the same error

"Unrecognized message version"
souravk
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
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