XMLDocument problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2012 01:17 PM
I'm working on a Web Serviced integration with ServiceNow and Pinnacle, and during testing, I've been using the Background Scripts module to test, and when I try to invoke Outbound SOAP messages that work properly in the "Test" feature, I receive this error.
org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
Evaluator: java.lang.NullPointerException
Caused by error in Script Include: 'XMLDocument' at line 16
13: this.xmlDoc = new Packages.com.glide.util.XMLDocument(); // it is a new XML document
14: }
15:
==> 16: this.setCurrent(this.xmlDoc.getDocumentElement());
17: },
18:
19: createElement : function(name, value) {
Does anyone know what causes this error? Any suggestions on remedying it?
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2012 06:59 AM
Can you post the script that you are running with the "Scripts - Background" module? Also, if possible, the "test" envelope and result could be helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2012 05:17 AM
I'll attach the scripts, but there are three of them. The "workflow script" is the one that I run in the Background Scripts module, but I would imagine that the error could be coming from any of the three, as they're all connected.
The envelope for the "NEW" function of the PinnaclePreOrder Outbound SOAP Message is:
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://xmlns.oracle.com/orawsv/PS_API/PRE_ORDER_WS" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:SNUMBER-NEWInput>
<m:PRE_ORDER-PRE_ORDER_O-CIN>
<m:PRE_ORDER_O>
${RECORD_XML}
</m:PRE_ORDER_O>
</m:PRE_ORDER-PRE_ORDER_O-CIN>
</m:SNUMBER-NEWInput>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
with an example response being:
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<NEWOutput xmlns="http://xmlns.oracle.com/orawsv/PS_AP/PRE_ORDER_WS">
<RETURN>13706</RETURN>
</NEWOutput>
</soap:Body>
</soap:Envelope>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2013 12:33 PM
BUMP
I am finding the same message in our logs. Has there been any further discussion about this topic?