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 #180156 is a reply to message #180130] Wed, 16 January 2013 14:12 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Jens Riedel wrote:

> Am 10.01.2013 17:44, schrieb Jerry Stuckle:
>> 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.
>
> Here is some more information:

Which shows that, so far, you do not have a PHP problem:

> the XML of my SOAP request:
>
> […]
> <OBJTypeNS>
> <namespace
> xsi:type="xsd:string">http://www.bff.bund.de/ePayment</namespace> <type
> xsi:type="xsd:string">Kreditkarte</type></OBJTypeNS> […]
>
> the following XML is returned from the server:
>
> […]
> <faultcode>soapenv:Server.userException</faultcode>
> <faultstring>org.xml.sax.SAXException: Invalid element in
> de.bund.bff.epayment.webservice.bean.KreditkarteBean -
> OBJTypeNS</faultstring>
> <detail>
> <ns1:stackTrace
> xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException:
> Invalid element in de.bund.bff.epayment.webservice.bean.KreditkarteBean
> - OBJTypeNS
> at
>
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer .java(Compiled
> Code))
> […]

You have an XML/SOAP or a Java problem. Your SOAP request message contains
an “OBJTypeNS” element that is either not recognized, or not allowed in this
context. If it is not recognized, then the Java code is at fault. If it is
not allowed (there), the XML/SOAP request message is at fault. The reason
of the latter would be that in some way you were at fault.

The problem is that unless you see the problem in your code, it is
impossible to tell with a sufficiently high probability for correctness what
could be the problem as you are still not posting the *relevant* (*PHP*)
code (that which generates the SOAP request message and issues the request
in the first place).

This is not a game where your readers would (like to) guess what you might
have done wrong.

--
PointedEars
[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: Fri Sep 20 02:35:42 GMT 2024

Total time taken to generate the page: 0.04482 seconds