Discussion:
savon integration to talk to SOAP API
Daniel Kerwin
2013-06-11 14:31:52 UTC
Permalink
Hi,

i'm working on the integration of a new cloud provider that offers a SOAP
API. What would be the best approach to integrate a lib like savon? Parsing
and creating the XML manually would be pretty painful. Any suggestions are
highly appreciated.

Thanks and regards,
Daniel
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
geemus (Wesley Beary)
2013-06-11 15:15:17 UTC
Permalink
Not sure, I have mostly avoided SOAP whenever I could (personally). Perhaps
some others can comment and be a bit more helpful though.
Post by Daniel Kerwin
Hi,
i'm working on the integration of a new cloud provider that offers a SOAP
API. What would be the best approach to integrate a lib like savon? Parsing
and creating the XML manually would be pretty painful. Any suggestions are
highly appreciated.
Thanks and regards,
Daniel
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Daniel Kerwin
2013-06-11 15:20:24 UTC
Permalink
I would avoid it as well but that's the only available choice :-)

Would it be okay from your perspective to add savon as a gem depency and
use it only inside the request methods? Not sure if that's ok for you from
a design standpoint.
Post by geemus (Wesley Beary)
Not sure, I have mostly avoided SOAP whenever I could (personally).
Perhaps some others can comment and be a bit more helpful though.
Post by Daniel Kerwin
Hi,
i'm working on the integration of a new cloud provider that offers a SOAP
API. What would be the best approach to integrate a lib like savon? Parsing
and creating the XML manually would be pretty painful. Any suggestions are
highly appreciated.
Thanks and regards,
Daniel
--
You received this message because you are subscribed to the Google Groups
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
geemus (Wesley Beary)
2013-06-11 15:29:24 UTC
Permalink
I think in other cases for something like this we require it only in a
deferred way (ie when you initialize a connection to the provider) and then
we do not include it as a dependency in the gemspec. That way not everyone
has to install in, but you can install it yourself to be able to use the
provider (then we just rescue load errors to print a helpful message
telling you to add it). Does that make sense as an approach?
Post by Daniel Kerwin
I would avoid it as well but that's the only available choice :-)
Would it be okay from your perspective to add savon as a gem depency and
use it only inside the request methods? Not sure if that's ok for you from
a design standpoint.
Post by geemus (Wesley Beary)
Not sure, I have mostly avoided SOAP whenever I could (personally).
Perhaps some others can comment and be a bit more helpful though.
Post by Daniel Kerwin
Hi,
i'm working on the integration of a new cloud provider that offers a
SOAP API. What would be the best approach to integrate a lib like savon?
Parsing and creating the XML manually would be pretty painful. Any
suggestions are highly appreciated.
Thanks and regards,
Daniel
--
You received this message because you are subscribed to the Google
Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Daniel Kerwin
2013-06-11 15:37:03 UTC
Permalink
It surly does. I will implement it as proposed.

Thanks for your support!
Post by geemus (Wesley Beary)
I think in other cases for something like this we require it only in a
deferred way (ie when you initialize a connection to the provider) and then
we do not include it as a dependency in the gemspec. That way not everyone
has to install in, but you can install it yourself to be able to use the
provider (then we just rescue load errors to print a helpful message
telling you to add it). Does that make sense as an approach?
Post by Daniel Kerwin
I would avoid it as well but that's the only available choice :-)
Would it be okay from your perspective to add savon as a gem depency and
use it only inside the request methods? Not sure if that's ok for you from
a design standpoint.
Post by geemus (Wesley Beary)
Not sure, I have mostly avoided SOAP whenever I could (personally).
Perhaps some others can comment and be a bit more helpful though.
Post by Daniel Kerwin
Hi,
i'm working on the integration of a new cloud provider that offers a
SOAP API. What would be the best approach to integrate a lib like savon?
Parsing and creating the XML manually would be pretty painful. Any
suggestions are highly appreciated.
Thanks and regards,
Daniel
--
You received this message because you are subscribed to the Google
Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
--
You received this message because you are subscribed to the Google Groups
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...