You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ashok kyama <ky...@gmail.com> on 2006/04/12 23:38:48 UTC
cluster vs stand alone environment using axis 1.3
Hi,
Iam using axis 1.3 and deployed my app on weblogic server single instance
and its working fine.
Same app installed on clustered environment throwing following exception. (
I got this same exception on single instance for axis 1.2 and it resolved
after I replaced it with axis 1.3).
AxisFault
faultCode: {*http://schemas.xmlsoap.org/soap/envelope/}Server.userException*<http://schemas.xmlsoap.org/soap/envelope/}Server.userException>
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{*http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException*<http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException>
at org.apache.axis.message.MessageElement.addTextNode
(Ljava/lang/String;)Ljavax/xml/soap/SOAPElement;(MessageElement.java:1388)
at org.apache.axis.message.SOAPHandler.addTextNode()V(SOAPHandler.java:148)
at org.apache.axis.message.SOAPHandler.endElement
(Ljava/lang/String;Ljava/lang/String;Lorg/apache/axis/encoding/DeserializationContext;)V(
SOAPHandler.java:112)
at org.apache.axis.encoding.DeserializationContext.endElement
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V(
DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Lorg/apache/xerces/xni/QName;Lorg/apache/xerces/xni/Augmentations;)V(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement()I(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Z)Z(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Lorg/apache/xerces/xni/parser/XMLInputSource;)V(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Lorg/apache/xerces/xni/parser/XMLInputSource;)V(Unknown
Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Lorg/xml/sax/InputSource;)V(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(Lorg/xml/sax/InputSource;Lorg/xml/sax/helpers/DefaultHandler;)V(Unknown
Source)
at org.apache.axis.encoding.DeserializationContext.parse()V(
DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope
()Lorg/apache/axis/message/SOAPEnvelope;(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope
()Lorg/apache/axis/message/SOAPEnvelope;(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke
(Lorg/apache/axis/MessageContext;)V(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke
(Lorg/apache/axis/MessageContext;)V(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine
(Lorg/apache/axis/MessageContext;)V(Call.java:2784)
at org.apache.axis.client.Call.invoke()V(Call.java:2767)
at org.apache.axis.client.Call.invoke
(Lorg/apache/axis/message/RPCElement;)Ljava/lang/Object;(Call.java:2443)
at org.apache.axis.client.Call.invoke
(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;(
Call.java:2366)
at org.apache.axis.client.Call.invoke
([Ljava/lang/Object;)Ljava/lang/Object;(Call.java:1812)
WSDL2Java deleting method implementations?
Posted by Martin Wunderlich <ma...@gmx.net>.
Dear all,
I have done a bit more experimenting (see my recent post) and the
behaviour of WSDL2Java, whereby method implementations are removed and
replaced by "return null", seems to be consitent. Is this the way it
should be? Am I missing something? Apparently, only the interface
definitions of the original Java class from which I create the web
service, are kept in the <...>SoapBindingImpl file. So, this means I
have recreated the method code after using WSDL2Java?
Cheers,
Martin