The problem is with MTOM is that the element has a placeholder that points
to the mime attachment. So the element doesn't contain valid data when
looking at is as just xml.
The web service that I have to use was built with jax-ws and I was trying
to avoid the java brain damage.
--Karl
Karl Putland
Senior VoIP Engineer
*SimpleSignal*
3600 S Yosemite, Suite 150
Denver, CO 80237
One Number Rings All My Phones: 303-242-8608
SimpleSignal.com <http://www.simplesignal.com/> |
Blog<http://www.simplesignal.com/blog>
| Facebook <http://www.facebook.com/SimpleSignal?ref=ts> |
Twitter<http://twitter.com/simplesignal>
On Thu, May 3, 2012 at 3:14 PM, Peter Bigot <big...@acm.org> wrote:
> I've not had the opportunity to do anything with web services for
> about two years, so I'm pretty rusty on it. I also haven't heard of
> suds in this context, and google for "suds+soap" is remarkably
> unhelpful.
>
> I would expect that if a SOAP call or response has attachments,
> they're either in the XML document (which isn't really attachments) so
> PyXB would handle them, or they're MIME sections in the HTML body in
> which case you'd pull them out either from the URL interface or by
> processing the response document at the HTML level. I would think
> having to reprocess them into an element would be wrong.
>
> Peter
>
> On Thu, May 3, 2012 at 12:27 PM, Karl Putland <k...@simplesignal.com>
> wrote:
> >
> >
> > There's some information regarding using PyXB for communicating with web
> services.
> > I'd tried using suds, which works... with the exception of some calls
> which return SOAP with Attachments.
> > Can pyxb handle the soap with attachments or does it need to be
> reprocessed into then element before parsing?
> >
> >
> >
> > --Karl
> >
> > Karl Putland
> > Senior VoIP Engineer
> >
> > SimpleSignal
> > 3600 S Yosemite, Suite 150
> > Denver, CO 80237
> > One Number Rings All My Phones: 303-242-8608
> >
> > SimpleSignal.com | Blog | Facebook | Twitter
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > pyxb-users mailing list
> > pyxb-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pyxb-users
> >
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users