Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8058

Re: Problem with webservice call: org.xml.sax.SAXException

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Problem with webservice call: org.xml.sax.SAXException
Date 2013-01-10 11:25 +0100
Message-ID <al7j8oFf1haU1@mid.uni-berlin.de> (permalink)
References <al7gmeFeev9U1@mid.individual.net>

Show all headers | View raw


Am 10.01.2013 10:41, schrieb Jens Riedel:
> Hello,
> 
> after I migrated an existing web shop application from PHP 4 to PHP 5 (currently
> version 5.2.17) I had to upgrade the version of the PEAR library "SOAP", which I use
> for webservice calls from 0.7.1 to 0.13.
> Now I receive an error when I try to call a webservice I get the following error
> message:
> 
> "org.xml.sax.SAXException: Invalid element in
> de.mypayment.webservice.bean.KreditkarteBean - OBJTypeNS"
> 
> In the relevant class that should be base for the "KreditkarteBean" the mentioned
> element is a variable declared as followed:
> 
> var $OBJTypeNS = array ('namespace' => 'http://www.mypaymentprovider.de/ePayment' ,
> 'type' => 'Kreditkarte');
> 
> 
> Below this message is the stacktrace I get from the SOAP Fault object.
> 
> I appreciate any hint where the problem could be here; if you need more information
> please let me know and I try to provide it.
> (The original webservice is not accessible externally so I can't post the URL here).
---cut
> 
> org.xml.sax.SAXException: Invalid element in
> de.mypayment.webservice.bean.KreditkarteBean - OBJTypeNS
> at
> org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java(Compiled
> Code))
---cut

It looks impossible to debug it this way.

I would trace the conversation with the error, trace a functioning conversation, find
the differences, find the cause of the differences.

Looks like a consulting job, it will probably require some serious set up and
instrumentation of your systems to get this info.

BTW you are upgrading from an ancient PHP version to an old PHP version.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with webservice call: org.xml.sax.SAXException Jens Riedel <jensrie@gmx.de> - 2013-01-10 10:41 +0100
  Re: Problem with webservice call: org.xml.sax.SAXException "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-01-10 11:25 +0100
  Re: Problem with webservice call: org.xml.sax.SAXException Jerry Stuckle <jstucklex@attglobal.net> - 2013-01-10 11:44 -0500
    Re: Problem with webservice call: org.xml.sax.SAXException Jens Riedel <jensrie@gmx.de> - 2013-01-10 21:39 +0100
      Re: Problem with webservice call: org.xml.sax.SAXException Jerry Stuckle <jstucklex@attglobal.net> - 2013-01-10 18:09 -0500
      Re: Problem with webservice call: org.xml.sax.SAXException Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-01-16 15:12 +0100
        Re: Problem with webservice call: org.xml.sax.SAXException Jens Riedel <jensrie@gmx.de> - 2013-01-16 17:24 +0100
          Re: Problem with webservice call: org.xml.sax.SAXException Jerry Stuckle <jstucklex@attglobal.net> - 2013-01-16 12:56 -0500
            Re: Problem with webservice call: org.xml.sax.SAXException Jens Riedel <jensrie@gmx.de> - 2013-01-16 22:08 +0100

csiph-web