toni lee

Greenhorn
+ Follow
since Nov 19, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by toni lee

Sorry, I should have mentioned that we're using Axis. I have a handle to the org.apache.axis.client.Call object, and I tried getting a handle on the SoapMessage object by doing _call.getMessageContext().getMessage(), but that returned null. getRequestMessage() and getResponseMessage() returned null too.

I guess the right way to handle this is to find the trigger in the server config to turn on logging of soap calls. But the reason I'm looking for an alternative fix is because no one seems to know where or what that flag is.
Is there a way to print the SOAP request/response XMLs, from soap objects? Maybe, before Call.invoke method is being invoked?

Thanks in advance.
Hi, has anyone seen this exception before?

Node type being imported is not supported org.w3c.dom.DOMException: Node type being imported is not supported
at org.apache.xerces.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1129)
at org.apache.xerces.dom.CoreDocumentImpl.cloneNode(CoreDocumentImpl.java:349)
at org.apache.xerces.dom.DocumentImpl.cloneNode(DocumentImpl.java:205)

Here's the code --
Node childWidgetXmlNode = doc.importNode((Node) childWidgetDoc.getDocumentElement(), true);

Code works on one server, but not on another. Any help is greatly appreciated!
Our application was built on the first version of xalan and xerces. Whenever it comes across an error while compiling the XSLs or transforming it with the XML document, it´┐Żll skip the error and continue compiling the rest of the file. The upgraded compilers, however, halts the compilation process and spits out an exception.
Is there a way to turn off the strict XSL validations?