Thread overview
Newbie Question: SOAP Module
Nov 18, 2013
Rick Catano
Nov 19, 2013
Rick Catano
Nov 19, 2013
Adam D. Ruppe
Nov 19, 2013
Rick Catano
Nov 23, 2013
Rick Catano
November 18, 2013
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?
November 19, 2013
Anyone? I know it's a very basic question, but an honest and friendly answer will suffice.
November 19, 2013
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.
November 19, 2013
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
November 19, 2013
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


November 23, 2013
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.