[Spce-user] C# SOAP Sample
Andreas Granig
agranig at sipwise.com
Wed Apr 9 07:36:37 EDT 2014
Hi,
One of our devs provided this patch, can you try it out?
--- /usr/share/perl5/Sipwise/Provisioning/SOAP.pm.orig 2014-04-09
13:13:58.000000000 +0200
+++ /usr/share/perl5/Sipwise/Provisioning/SOAP.pm 2014-04-09
13:14:03.000000000 +0200
@@ -40,6 +40,7 @@
-> deserializer(Sipwise::Provisioning::SOAP::Deserializer->new);
$server->serializer->register_ns('http://dev.sipwise.com/Provisioning/Types', 'typens');
+$server->serializer->use_prefix(1);
sub handler { $server->handler(@_) }
So it's actually adding the line "$server->serializer->use_prefix(1);"
Andreas
On 04/09/2014 10:54 AM, Matthew Ogden wrote:
> There is a work around that they mention in the files to make that work...
> just cant remember what it was... but either way, once I use the interface,
> it still didn't work for me. (Could not iterate through the returned list)
>
>
>
> *From:* Martin Stix [mailto:ms at pluteus.at]
> *Sent:* 09 April 2014 09:53 AM
> *To:* Matthew Ogden
> *Cc:* spce-user at lists.sipwise.com
> *Subject:* AW: [Spce-user] C# SOAP Sample
>
>
>
> So there seem to be 3 issues when trying to get the webreference in C#:
>
>
>
>
>
> If you coomment them out, you can use the interface, sure without method
> RewriteRuleRead, DeleteCfTimeParameter and DeleteCfDestinationParameter.
>
>
>
> I'll try to figure it out.
>
>
>
> Regards
>
>
>
>
>
> mit freundlichen Grüßen
> best regards
>
> *Martin Stix*
>
> CEO
> pluteus communication solutions
> ms at pluteus.at
>
> www.pluteus.at
>
> Dampfsägestraße 17
> 3300 Amstetten
> Austria
> tel.: +43 7472 28165 20
> fax.: +43 7472 28165 22
>
>
>
> *Von:* Matthew Ogden [mailto:matthew at tenacit.net <matthew at tenacit.net>]
> *Gesendet:* Montag, 07. April 2014 17:52
> *An:* Martin Stix
> *Cc:* spce-user at lists.sipwise.com
> *Betreff:* RE: [Spce-user] C# SOAP Sample
>
>
>
> You must import the webservice (old method) as the reference.
>
>
>
> I never got mine to work in C#, I could see the SSL post, and even
> inspected the SSL returned traffic which seemed correct, but I could not
> iterate through the returned results in C#, so I swapped to PHP and python.
>
>
>
> *From:* spce-user-bounces at lists.sipwise.com [mailto:
> spce-user-bounces at lists.sipwise.com] *On Behalf Of *Martin Stix
> *Sent:* 07 April 2014 05:13 PM
> *To:* spce-user at lists.sipwise.com
> *Subject:* [Spce-user] C# SOAP Sample
>
>
>
> Hi!
>
> I've downloaded the sample C# Project, getting a missing reference to
> usingSoapClient.Provisioning;
>
>
>
> Any Idea what file/reference I'm missing?
>
>
>
> [image: cid:image001.png at 01CF528A.05EC2400]
>
>
>
> Thanks
>
>
>
>
>
> mit freundlichen Grüßen
> best regards
>
> *Martin Stix*
>
> CEO
> pluteus communication solutions
> ms at pluteus.at
>
> www.pluteus.at
>
> Dampfsägestraße 17
> 3300 Amstetten
> Austria
> tel.: +43 7472 28165 20
> fax.: +43 7472 28165 22
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>
More information about the Spce-user
mailing list