www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Newbie Question: SOAP Module

reply "Rick Catano" <social tsarj.com> writes:
Hello all,

I'm new here ( first post ), and looking to get into D 
Development. I currently use Python as my language of choice, but 
am looking to transition. My first question of the D language is, 
is there a SOAP module that I can consume web services with?
Nov 18 2013
next sibling parent "Rick Catano" <social tsarj.com> writes:
Anyone? I know it's a very basic question, but an honest and 
friendly answer will suffice.
Nov 19 2013
prev sibling next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Monday, 18 November 2013 at 23:49:56 UTC, Rick Catano wrote:
 My first question of the D language is, is there a SOAP module 
 that I can consume web services with?
I don't know, but I don't think so. Maybe it wouldn't be too hard to make out by combining http get (with curl or whatever) with an xml parser to rig something up yourself though.
Nov 19 2013
parent "Rick Catano" <social tsarj.com> writes:
On Tuesday, 19 November 2013 at 20:38:00 UTC, Adam D. Ruppe wrote:
 On Monday, 18 November 2013 at 23:49:56 UTC, Rick Catano wrote:
 My first question of the D language is, is there a SOAP module 
 that I can consume web services with?
I don't know, but I don't think so. Maybe it wouldn't be too hard to make out by combining http get (with curl or whatever) with an xml parser to rig something up yourself though.
That's what I was thinking. Just wasn't sure if there was a module ready to do this. I don't mind though. I could definitely use the practice :P
Nov 19 2013
prev sibling parent reply "Jacek Furmankiewicz" <jacek99 gmail.com> writes:
is there any particular reason you are forced to use SOAP?

It is more or less an obsolete and generally frowned upon 
approach.

if you were willing to adopt REST, vibe.d seems to have some nice 
functionality for creating REST APIs.

Look at the 'Routing' section here:

http://vibed.org/docs#http-server-config
Nov 19 2013
parent "Rick Catano" <social tsarj.com> writes:
On Tuesday, 19 November 2013 at 22:05:36 UTC, Jacek Furmankiewicz 
wrote:
 is there any particular reason you are forced to use SOAP?

 It is more or less an obsolete and generally frowned upon 
 approach.

 if you were willing to adopt REST, vibe.d seems to have some 
 nice functionality for creating REST APIs.

 Look at the 'Routing' section here:

 http://vibed.org/docs#http-server-config
The software I plan to interact with only has a SOAP interface. But for learning sake, I'll more than likely utilize curl and handle the responses manually. Thanks guys.
Nov 22 2013