The suds response should return an ExtractResponseMsg object because that
would be the result of the service call. Then as you'll see in the WSDL, it
has 3 parts, the third part being an array of ExtractResult messages.
so the idea is that you build a ExtractRequestMsg... fill it in... pass it
as the parameter to the service call.. and you are returned an
ExtractResponseMsg... that would look like an object as if you made it
through the factory, like resp =
client.factory.create('ExtractResponseMsg')... and the third piece of data
is an array called Results, of ExtractResults objects
On Mon, Apr 29, 2013 at 8:32 PM, Van Nguyen <van(a)jbadigital.com> wrote:
Hi Matthew,
Do you know how to get the full response in code without hacking the suds
library? Because in umx/typed.py I had to print the content directly when
it raises the exception. And that is what it prints, I don't see a
ExtractResponseMsg though, but you are correct, it should be returning
that. Let me try hacking the WSDL.
Cheers,
*Van Nguyen*
Developer
[image: JBA Digital] <
http://www.jbadigital.com/>
*JBA Online Consultancy*
M: +61 (0) 432 102 207
W:
www.jbadigital.com
A: Level 1, 2 Darling Street, South Yarra, Melbourne 3141
The information contained in this email is confidential and is intended
for the use of the individual or entity named above. If the receiver of
this message is not the intended recipient, you are hereby notified that
any dissemination, distribution or copy of this email is strictly
prohibited. If you have received this e-mail in error, please notify our
office by telephone. JB/A and their employees do not represent that this
transmission is free from viruses or other defects and you should see it as
your responsibility to check for viruses and defects. JB/A disclaims any
liability to any person for loss or damage resulting (directly or
indirectly) from the receipt of electronic mail (including enclosures).
On 30 April 2013 11:12, Matthew Ashton <matthew.ashton3(a)gmail.com> wrote:
> Can you copy+paste the offending lines?
>
> and I wonder why the parameter in the call made to the service Extract is
> put in a list first...
>
> It seems the call you're trying to make is returning
> <element name="ExtractResponseMsg">
> <complexType>
> <sequence>
> <element name="OverallStatus" type="xsd:string"/>
> <element name="RequestID" minOccurs="0"
maxOccurs="1" type="xsd:string"/>
> <element name="Results" minOccurs="0"
maxOccurs="unbounded"
> type="tns:ExtractResult"/>
> </sequence>
> </complexType>
> </element>
>
> and you only posted the results portion
>
>
> On Mon, Apr 29, 2013 at 8:02 PM, Van Nguyen <van(a)jbadigital.com> wrote:
>
>> Hi Matthew,
>>
>> Thanks for the quick response, I'm running the latest I think 0.4
>>
>> All the other requests that I do just works fine, except for this one.
>>
>>
>> Cheers,
>>
>> *Van Nguyen*
>> Developer
>>
>> [image: JBA Digital] <
http://www.jbadigital.com/>
>> *JBA Online Consultancy*
>>
>> M: +61 (0) 432 102 207
>> W:
www.jbadigital.com
>> A: Level 1, 2 Darling Street, South Yarra, Melbourne 3141
>>
>> The information contained in this email is confidential and is
>> intended for the use of the individual or entity named above. If the
>> receiver of this message is not the intended recipient, you are hereby
>> notified that any dissemination, distribution or copy of this email is
>> strictly prohibited. If you have received this e-mail in error, please
>> notify our office by telephone. JB/A and their employees do not represent
>> that this transmission is free from viruses or other defects and you should
>> see it as your responsibility to check for viruses and defects. JB/A
>> disclaims any liability to any person for loss or damage resulting
>> (directly or indirectly) from the receipt of electronic mail (including
>> enclosures).
>>
>>
>> On 30 April 2013 11:00, Matthew Ashton <matthew.ashton3(a)gmail.com>wrote:
>>
>>> or perhaps it seems to be an error with the WSDL and I am mistaken
>>> about suds. I'll take a look
>>>
>>> On Mon, Apr 29, 2013 at 7:59 PM, Matthew Ashton <
>>> matthew.ashton3(a)gmail.com> wrote:
>>>
>>>>
>>>> On Mon, Apr 29, 2013 at 7:57 PM, Matthew Ashton <
>>>> matthew.ashton3(a)gmail.com> wrote:
>>>>
>>>>> When something says "No handlers could be found for logger
'xyz'"
>>>>> it's because there is not basic configuration for specific
loggers within
>>>>> the suds system.
>>>>>
>>>>> If you look at the suds documentation, you'll see about getting
>>>>> debugging information.
>>>>>
https://fedorahosted.org/suds/wiki/Documentation
>>>>>
>>>>> This error sounds like an internal suds issue, expecting a type of
>>>>> ExtractResult, and not finding it. Is this a new issue? What version
of
>>>>> suds are you running?
>>>>>
>>>>> On Mon, Apr 29, 2013 at 7:48 PM, Van Nguyen
<van(a)jbadigital.com>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm really stuck on this error, and would appreciate if
anyone can
>>>>>> help me out.
>>>>>>
>>>>>> I'm keep getting this error:
>>>>>> No handlers could be found for logger "suds.umx.typed"
>>>>>> Traceback (most recent call last):
>>>>>> File
>>>>>>
"/Users/vannguyen/Documents/Projects/python-exacttarget/src/example.py",
>>>>>> line 7, in <module>
>>>>>> et.request_extract('test.zip', '2013-04-20',
'2013-04-24')
>>>>>> File
>>>>>>
"/Users/vannguyen/Documents/Projects/python-exacttarget/src/etapi.py", line
>>>>>> 651, in request_extract
>>>>>> resp = self.client.service.Extract([er])
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/client.py", line 542,
>>>>>> in __call__
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/client.py", line 602,
>>>>>> in invoke
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/client.py", line 643,
>>>>>> in send
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/client.py", line 678,
>>>>>> in succeeded
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/bindings/binding.py",
>>>>>> line 156, in get_reply
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/bindings/binding.py",
>>>>>> line 230, in replycomposite
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/typed.py", line
>>>>>> 66, in process
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/core.py", line
>>>>>> 48, in process
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/core.py", line
>>>>>> 63, in append
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/core.py", line
>>>>>> 140, in append_children
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/core.py", line
>>>>>> 61, in append
>>>>>> File
"build/bdist.macosx-10.7-intel/egg/suds/umx/typed.py", line
>>>>>> 80, in start
>>>>>> suds.TypeNotFound: Type not found: 'ExtractResult'
>>>>>>
>>>>>> Have checked WSDL and seems to be okay.
>>>>>>
https://webservice.exacttarget.com/etframework.wsdl
>>>>>>
>>>>>> Attached are xml sent and received.
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> *Van Nguyen*
>>>>>> Developer
>>>>>>
>>>>>> [image: JBA Digital] <
http://www.jbadigital.com/>
>>>>>> *JBA Online Consultancy*
>>>>>>
>>>>>> M: +61 (0) 432 102 207
>>>>>> W:
www.jbadigital.com
>>>>>> A: Level 1, 2 Darling Street, South Yarra, Melbourne 3141
>>>>>>
>>>>>> The information contained in this email is confidential and is
>>>>>> intended for the use of the individual or entity named above. If
the
>>>>>> receiver of this message is not the intended recipient, you are
hereby
>>>>>> notified that any dissemination, distribution or copy of this
email is
>>>>>> strictly prohibited. If you have received this e-mail in error,
please
>>>>>> notify our office by telephone. JB/A and their employees do not
represent
>>>>>> that this transmission is free from viruses or other defects and
you should
>>>>>> see it as your responsibility to check for viruses and defects.
JB/A
>>>>>> disclaims any liability to any person for loss or damage
resulting
>>>>>> (directly or indirectly) from the receipt of electronic mail
(including
>>>>>> enclosures).
>>>>>>
>>>>>> _______________________________________________
>>>>>> suds mailing list
>>>>>> suds(a)lists.fedoraproject.org
>>>>>>
https://admin.fedoraproject.org/mailman/listinfo/suds
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>