FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem with webservice call: org.xml.sax.SAXException
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem with webservice call: org.xml.sax.SAXException [message #180126 is a reply to message #180123] Thu, 10 January 2013 16:44 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/10/2013 4:41 AM, Jens Riedel wrote:
> 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).
>
> Kind regards
> Jens
>
>
<snip>

Impossible to tell from the information given. You didn't show your
SOAP calls, the class you're trying to instantiate or the XML being
returned by the server.

But before you get off too far on this, the PEAR package is pretty much
defunct. The SOAP functions are now included in the base PHP code. You
should be using them instead.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: QR Code>/phpqrcode/qrlib.php
Next Topic: PHP Opening!!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 17:11:14 GMT 2024

Total time taken to generate the page: 0.05687 seconds