cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 SOAP and VB.NET

SOLVED

Magento 1.9 SOAP and VB.NET

Hi,

 

I have tried the search but not found anything...

 

How can I add functionally in a VB.NET program.

Have anyone some simple example for me?

4 REPLIES

Re: Magento 1.9 SOAP and VB.NET

@Baecker

 

You should be doing it as any other SOAP call in VB.Net. Here is the link where you can see how it is called in PHP. I believe as a programmer it would be easy for you to understand and implement the API calls in VB.net

 

http://devdocs.magento.com/guides/m1x/api/soap/introduction.html

 

Problem Solved? Please give Kudos and accept answer as Solution.

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: Magento 1.9 SOAP and VB.NET

Hi,

 

thank you for the link.

 

I have search Google anything (I was new with webservices...) and I have found any samples (but nothing for Magento).

 

Now I have make the First Step:

I have adding a webservice in my project with the Link to Soap2 on my shop.

I have named the service "Magento"

Also I have a User in Magento for this maked.

 

But now?

 

I need a little tipps to go the first steps:

 

For the sample-code in PHP ( I can not understand PHP)

$client = new SoapClient('http://magentohost/api/soap/?wsdl');

// If somestuff requires api authentification,
// then get a session token
$session = $client->login('apiUser', 'apiKey');

$result = $client->call($session, 'somestuff.method');
$result = $client->call($session, 'somestuff.method', 'arg1');
$result = $client->call($session, 'somestuff.method', array('arg1', 'arg2', 'arg3'));
$result = $client->multiCall($session, array(
     array('somestuff.method'),
     array('somestuff.method', 'arg1'),
     array('somestuff.method', array('arg1', 'arg2'))
));


// If you don't need the session anymore
$client->endSession($session);

How can I make it in VB.NET or C#:

 

+ Get a Session with my Username and PW 

+ Get a Sales-Order with a specific number?

Re: Magento 1.9 SOAP and VB.NET

@BaeckerHere are few links which can help you march forward.

 

https://stackoverflow.com/questions/14286133/magento-api-soap-v1-and-vb-net

https://stackoverflow.com/questions/12088459/how-to-call-the-magento-api-from-vb-net

https://magento.stackexchange.com/questions/156825/someone-have-api-soap-working-in-vb-net

 

https://magento.stackexchange.com/questions/75293/api-soap-v2-catalogproductlist-visual-basic-vb-mul...

 

I guess once you have a small piece working you can take care of the remaining. Above links has sample code in different programming language.

 

Problem Solved? Please give Kudos and accept answer as Solution.

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: Magento 1.9 SOAP and VB.NET

Thanx