[Spce-user] C# SOAP Sample

Martin Stix ms at pluteus.at
Tue Jun 3 09:44:40 EDT 2014


Hi!

Unfortunately this patch isn't part of any update.

Had to do it manually again.

Is there any plan to clean the SOAP interface?

I'd like to do full provisioning over that, but not all functions are working.

Thanks


mit freundlichen Grüßen
best regards
Martin Stix
CEO
pluteus communication solutions
ms at pluteus.at<mailto: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]
Gesendet: Mittwoch, 09. April 2014 15:09
An: Martin Stix; Andreas Granig; spce-user at lists.sipwise.com
Betreff: RE: [Spce-user] C# SOAP Sample

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> [mailto: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<mailto: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):



[cid:image001.png at 01CF7F42.BAE28450]



regards





mit freundlichen Grüßen

best regards

Martin Stix

CEO

pluteus communication solutions

ms at pluteus.at<mailto:ms at pluteus.at>

www.pluteus.at<http://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]
Gesendet: Mittwoch, 09. April 2014 13:37
An: spce-user at lists.sipwise.com<mailto: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]

> *Sent:* 09 April 2014 09:53 AM

> *To:* Matthew Ogden

> *Cc:* spce-user at lists.sipwise.com<mailto: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<mailto:ms at pluteus.at>

>

> www.pluteus.at<http://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<mailto:matthew at tenacit.net>

> <matthew at tenacit.net<mailto:matthew at tenacit.net>>]

> *Gesendet:* Montag, 07. April 2014 17:52

> *An:* Martin Stix

> *Cc:* spce-user at lists.sipwise.com<mailto: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> [mailto:

> 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<mailto: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<mailto:ms at pluteus.at>

>

> www.pluteus.at<http://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<mailto:Spce-user at lists.sipwise.com>

> http://lists.sipwise.com/listinfo/spce-user

>



_______________________________________________

Spce-user mailing list

Spce-user at lists.sipwise.com<mailto: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/mailman/private/spce-user_lists.sipwise.com/attachments/20140603/755383a2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11562 bytes
Desc: image001.png
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140603/755383a2/attachment.png>


More information about the Spce-user mailing list