[Spce-user] C# SOAP Sample

Matthew Ogden matthew at tenacit.net
Wed Apr 9 09:09:27 EDT 2014


Oh, awesome!



I had to learn a lot about python and PHP, which wasn't necessarily a bad
thing!



*From:* spce-user-bounces at lists.sipwise.com [mailto:
spce-user-bounces at lists.sipwise.com] *On Behalf Of *Martin Stix
*Sent:* 09 April 2014 02:24 PM
*To:* Andreas Granig; spce-user at lists.sipwise.com
*Subject:* Re: [Spce-user] C# SOAP Sample



Hi!



Perfect, looks much better!



Here's the output(I'll check the sst_enable item):





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



-----Ursprüngliche Nachricht-----
Von: Andreas Granig [mailto:agranig at sipwise.com <agranig at sipwise.com>]
Gesendet: Mittwoch, 09. April 2014 13:37
An: spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] C# SOAP Sample



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 <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

>



_______________________________________________

Spce-user mailing list

Spce-user at lists.sipwise.com

http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140409/5bcb8509/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11562 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140409/5bcb8509/attachment-0001.png>


More information about the Spce-user mailing list