Your message dated Wed, 19 Feb 2020 11:25:29 +0000
with message-id <[email protected]>
and subject line Bug#948555: Removed package(s) from unstable
has caused the Debian Bug report #523083,
regarding python-soappy: soappy doesn't prefix parameters with namespace. 
Attached patch fixes apache-cxf interoperability
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
523083: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523083
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-soappy
Version: 0.12.0-4
Severity: normal


I was able to debug and successfully use an apache cxf webservice from a soappy 
client.

There were 3 distinct tricks I had to use and so I figured to document the 
tricks to a public place in case anybody else is interested

The first observation is that for methods not containing any input everything 
works as advertised

The problem starts when you want to actually pass any parameters. In that case 
you have to:
1) specify the namespace
2) use the patch below to enable the namespace per argument support
3) if the medhod has multiple parameters you have to specify the correct 
ordering

here are the steps in an example

#!/usr/bin/python

import SOAPpy

ns1="http://iface.ws.lib.biovista.com/";;

server = SOAPpy.SOAPProxy("http://srv-eu.biovista.com/ws/BEAService";, 
namespace=ns1); # step 1

print server.getAvailableTypes();
print server.getText(pubmed_id=1233);
#server.config.dumpSOAPOut = 1;
#server.config.dumpSOAPIn = 1;
server.config.argsOrdering = {'getBibliography': ['name', 'type', 
'max_results']}; # step 3
print server.getBibliography(name="il-6", type="Gene", max_results=4);

----------------- patch to SOAPpy -----------------------   # step 2

--- SOAPBuilder.py.orig 2009-04-08 12:00:34.000000000 +0300
+++ SOAPBuilder.py      2009-04-08 13:23:02.000000000 +0300
@@ -316,6 +316,8 @@

         tag = tag or self.gentag()

+        if self.namespace:
+            tag = ns_map.get(self.namespace) + ":" + tag
         tag = toXMLname(tag) # convert from SOAP 1.2 XML name encoding

         a = n = t = ''


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=el_GR, LC_CTYPE=el_GR (charmap=ISO-8859-7)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-soappy depends on:
ii  python-fpconst                0.7.2-4    Utilities for handling IEEE 754 fl
ii  python-support                0.8.7      automated rebuilding support for P

python-soappy recommends no packages.

python-soappy suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.12.22-1+rm

Dear submitter,

as the package python-soappy has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/948555

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to