[Fedora-suds-list] Mismatched Tag Error

Jeff Ortel jortel at redhat.com
Wed Oct 7 18:32:11 UTC 2009


Maybe the WSDL URL is wrong or the WSDL isn't valid XML.

When you browse the WSDL URL using your web browser, do you get a valid document?

On 10/07/2009 01:27 PM, Sammy Flarn wrote:
> Jeff - I only have 1 suds client running on this system.
>
> On Wed, Oct 7, 2009 at 1:21 PM, Sammy Flarn <sammyflarn at gmail.com
> <mailto:sammyflarn at gmail.com>> wrote:
>
>     Thanks for the suggestions.  I tried deleting the cache in between
>     client instantiations and still received the 'mismatched tag'
>     error.  I also tried creating the client without a cache, but
>     received a simliar 'mistmatched tag' error; instead of listing a
>     file in the error, it lists unknown:
>     xml.sax._exceptions.SAXParseException: <unknown>:59:18: mismatched tag
>
>
>
>
>
>     On Wed, Oct 7, 2009 at 1:15 PM, dinosaur robot <diN0bot at bilumi.org
>     <mailto:diN0bot at bilumi.org>> wrote:
>
>         sorry, sent too soon. I meant to add that the deleting of tmp
>         directories only worked for me sometimes, too. It usually took
>         repeated attempts at Client instantiation and tmp deletion. Paired
>         with cache=None the problem went away.
>
>         On Wed, Oct 7, 2009 at 2:13 PM, dinosaur robot
>         <diN0bot at bilumi.org <mailto:diN0bot at bilumi.org>> wrote:
>          > I think you need to clear your cache. The end of the error
>         message
>          > specifies the file as
>          >    /tmp/suds/suds-823874735.http
>          >
>          > you can also instantiate a client without a cache via
>          >    client = Client(url, cache=None)
>          >
>          > On Wed, Oct 7, 2009 at 1:57 PM, Sammy Flarn
>         <sammyflarn at gmail.com <mailto:sammyflarn at gmail.com>> wrote:
>          >> Hi -
>          >>
>          >> I am trying to connect to an IP and get the following
>         error.  I am using
>          >> SUDS 0.3.6.
>          >>
>          >>>>> client = Client(url)
>          >> Traceback (most recent call last):
>          >>   File "<stdin>", line 1, in ?
>          >>   File
>         "/usr/local/lib/python2.4/site-packages/suds/client.py", line
>         106, in
>          >> __init__
>          >>     self.wsdl = Definitions(url, options)
>          >>   File
>         "/usr/local/lib/python2.4/site-packages/suds/wsdl.py", line 171, in
>          >> __init__
>          >>     root = p.parse(url=url).root()
>          >>   File
>         "/usr/local/lib/python2.4/site-packages/suds/sax/parser.py", line
>          >> 134, in parse
>          >>     sax.parse(fp)
>          >>   File "/usr/local/lib/python2.4/xml/sax/expatreader.py",
>         line 107, in parse
>          >>     xmlreader.IncrementalParser.parse(self, source)
>          >>   File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line
>         123, in parse
>          >>     self.feed(buffer)
>          >>   File "/usr/local/lib/python2.4/xml/sax/expatreader.py",
>         line 211, in feed
>          >>     self._err_handler.fatalError(exc)
>          >>   File "/usr/local/lib/python2.4/xml/sax/handler.py", line
>         38, in fatalError
>          >>     raise exception
>          >> xml.sax._exceptions.SAXParseException:
>         /tmp/suds/suds-823874735.http:59:18:
>          >> mismatched tag
>          >>
>          >> Ticket #256 --> https://fedorahosted.org/suds/ticket/256
>         suggested deleting
>          >> the tmp directories, but this did not help me.
>          >>
>          >> Can anyone give me a suggestion on how to troubleshoot this
>         problem?
>          >>
>          >> SammyF
>          >>
>          >>
>          >>
>          >>
>          >> _______________________________________________
>          >> fedora-suds-list mailing list
>          >> fedora-suds-list at redhat.com <mailto:fedora-suds-list at redhat.com>
>          >> https://www.redhat.com/mailman/listinfo/fedora-suds-list
>          >>
>          >
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3360 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-suds-list/attachments/20091007/e41ef94f/attachment.p7s>


More information about the fedora-suds-list mailing list