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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Problem with webservice call: org.xml.sax.SAXException [message #180123] Thu, 10 January 2013 04:41 Go to previous message
Jens Riedel is currently offline  Jens Riedel
Messages: 4
Registered: January 2013
Karma:
Junior Member
add to buddy list
ignore all messages by this user
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


---------------------


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))
at
org.apache.axis.encoding.DeserializationContext.startElement(Deserializatio nContext.java(Compiled
Code))
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java(Com piled
Code))
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java (Inlined
Compiled Code))
at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java(Compiled
Code))
at org.apache.axis.message.RPCElement.getParams(RPCElement.java(Inlined
Compiled Code))
at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java( Compiled
Code))
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java(Compil ed
Code))
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java (Compiled
Code))
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java(Compiled Code))
at org.apache.axis.SimpleChain.invoke(SimpleChain.java(Compiled Code))
at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java(Compiled
Code))
at org.apache.axis.server.AxisServer.invoke(AxisServer.java(Compiled Code))
at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java (Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java(Compiled
Code))
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java(Compiled
Code))
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava(Compiled
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Comp iled
Code))
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContex tValve.java(Compiled
Code))
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava(Compiled
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Comp iled
Code))
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java(Co mpiled
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java(Co mpiled
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java(Compil ed
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Comp iled
Code))
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a(Compiled
Code))
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte xt.java(Compiled
Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Comp iled
Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled Code))

at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java(Compiled
Code))
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java(Compiled Code))

at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java(Compiled
Code))
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java(Compiled
Code))
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java(Com piled
Code))
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja va:684)

at java.lang.Thread.run(Thread.java:571)
[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: Tue Dec 12 01:41:55 EST 2017

Total time taken to generate the page: 0.00734 seconds