Hot Topic (More than 10 Replies) Need Sesame to issue SOAP commands to web server (Read 2180 times)
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Need Sesame to issue SOAP commands to web server
Jun 26th, 2010 at 6:21pm
Print Post Print Post  
I'm sorry if I'm using incorrect terminology here; I'm pretty much diving in to something completely new for me....

I'd like to have my sesame application issue SOAP commands to a Network Solutions eCommerce server. Their API manual (http://www.networksolutions.com/support/public-api-documentation) implies that simple xml commands can be used to log in and issue commands.

I assume the easiest way for me (a programming amateur) to do this is have sesame write out a text file with the xml data and then use a 3rd party command line program to send the file contents to the server.

I really don't know what 3rd party program is needed to make the connection to the ecommerce server. Perhaps CURL (http://curl.haxx.se/) would work?. Perhaps Sesame has some sBasic commands to get the job done?

Any input is appreciated.

Sincerely,
Steve
  
Back to top
IP Logged
 
Acebanner
Full Member
***
Offline



Posts: 123
Location: New York City
Joined: Jan 23rd, 2008
Re: Need Sesame to issue SOAP commands to web serv
Reply #1 - Jun 28th, 2010 at 12:07pm
Print Post Print Post  
I'm also an amateur (really amateur, lol!) but I do have a NS commerce site and I'm curious -- what sort of functionality are you after?
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Need Sesame to issue SOAP commands to web serv
Reply #2 - Jun 28th, 2010 at 1:31pm
Print Post Print Post  
There are a lot of approaches that may work for you. SBasic has a fairly complete complement of networking commands, including direct access to simple connect and communicate commands and commands that provide basic protocols (FTP, HTTP). Additionally, the Sesame API gives you read/write access to a Sesame server while enjoying all of the benefits of standard popular scripting languages (Perl, PHP, Python, Java) or less standard languages such as (C# or Visual Basic). Any of these languages will work with Sesame and also provide quite a "leg up" when working with a http/soap interface. I have also used curl and wget to work with http and soap. It may be wise to get a very simple case working before attempting a complex interface.

In any case, it sounds like a very interesting project, and very much the reason why we added networking capabilities to Sesame and to the Sesame API.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #3 - Jun 28th, 2010 at 8:45pm
Print Post Print Post  
Acebanner, I want Sesame to update my website with stock levels, pricing, orders, etc. without leaving my Sesame application.

Mark, if Sesame can send XML data using sbasic commands (sounds like it can), then I'll venture down that path since SBasic is the only programming language I know.

Thanks for the pointers. Wish me luck.

Steve

  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need Sesame to issue SOAP commands to web serv
Reply #4 - Jun 28th, 2010 at 9:13pm
Print Post Print Post  
You probably want to use @HTTPPostHTML. Be aware though that those XML queries are incredibly picky about syntax. Getting a SOAP interface working can be a royal pain, no matter what you are using to do it. If you need the help of actual programmers to make use of Network Solution's API, let us know. We don't work for free, but we are available for hire. Smiley
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #5 - Jun 28th, 2010 at 10:12pm
Print Post Print Post  
Thank you, Erika. I'll let you know how it goes in a week or two.

Steve
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need Sesame to issue SOAP commands to web serv
Reply #6 - Jun 29th, 2010 at 12:27am
Print Post Print Post  
Steve_in_Texas wrote on Jun 28th, 2010 at 10:12pm:
Thank you, Erika. I'll let you know how it goes in a week or two.

Please do. We're always interested in how stuff like this goes. We're rooting for you!  Smiley
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Acebanner
Full Member
***
Offline



Posts: 123
Location: New York City
Joined: Jan 23rd, 2008
Re: Need Sesame to issue SOAP commands to web serv
Reply #7 - Jun 29th, 2010 at 2:28pm
Print Post Print Post  
Steve_in_Texas wrote on Jun 28th, 2010 at 8:45pm:
Acebanner, I want Sesame to update my website with stock levels, pricing, orders, etc. without leaving my Sesame application.

Mark, if Sesame can send XML data using sbasic commands (sounds like it can), then I'll venture down that path since SBasic is the only programming language I know.

Thanks for the pointers. Wish me luck.

Steve



Great looking website too! Did you design it yourself? If so, bravo!
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #8 - Jun 29th, 2010 at 6:10pm
Print Post Print Post  
Thanks Acebanner, but no; I could not design it by myself. It is the product of a very talented and dedicated group of people on staff...including a lot of help from the Lantican's here as well as other members of this forum. Definitely a team effort!
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #9 - Jul 30th, 2010 at 3:03pm
Print Post Print Post  
Erika,

I can see that this is going to be more time consuming than I would like. Therefore, I'd like to get a quote on having the "Pros" setup something to get us started. Perhaps a command button in my ap to log in to NS to retrieve some basic order information for use in my form.

Give me a call or email at your convenience so we can discuss details.

Thanks!

Steve
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need Sesame to issue SOAP commands to web serv
Reply #10 - Jul 30th, 2010 at 9:16pm
Print Post Print Post  
Just FYI: We've got this working nicely using a Sesame database and cURL. If anybody else has this sort of requirement, be aware that it's doable.  Smiley
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #11 - Jul 30th, 2010 at 9:28pm
Print Post Print Post  
Very exciting, Erika. Can't wait to see what you came up with. Smiley

Steve
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Need Sesame to issue SOAP commands to web serv
Reply #12 - Oct 22nd, 2010 at 6:56pm
Print Post Print Post  
Erika, just wanted to let you know that the code you wrote for us has been working like a charm. Sesame can send and receive SOAP commands to the web server with ease.

Job well don. Thank you very much!

Steve
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need Sesame to issue SOAP commands to web serv
Reply #13 - Oct 22nd, 2010 at 7:07pm
Print Post Print Post  
Steve_in_Texas wrote on Oct 22nd, 2010 at 6:56pm:
Erika, just wanted to let you know that the code you wrote for us has been working like a charm. Sesame can send and receive SOAP commands to the web server with ease.

Job well don. Thank you very much!

Our pleasure, Steve. I'm glad it's working well for you. 
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged