Add the following environment variables before starting the arsystem

ARXMLLOGGING=1; export ARXMLLOGGING   
ARXMLLOG=1; export ARXMLLOG   
 
These will create .xml files in your db directory and allow you to see
the complete XML being sent.  

The error you are seeing sounds like you are not connecting to an actual
webservice.  It sounds like you are connecting to a standard webpage.  

Fred


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Vic Collins
Sent: Friday, February 16, 2007 9:19 AM
To: [email protected]
Subject: Webservice causing SAXException

Hello All,
 
Wondering if anyone has come across anything like this?
 
Running a 5.1.2 (patch 1375) server on HP-UX 11 with an oracle 9.2.3
backend.
 
The mid-tier is is 6.3 with path 13.
 
When attempting to consume a range of web service we are getting the
following error 
 
ARERR [9130] An exception occurred from the WebService class : ; nested
exception is: 
 org.xml.sax.SAXException: Bad envelope tag:  html
 
A couple of examples of the ws we trying to use are the xmethods
currency one and a simple in house heartbeat one that inputs a value of
Success as a lookup to get back a request id.
 
The SHLIB_PATH is set in the .profile of the user that Remedy runs under
and looks like this
 
export JAVA_HOME=/opt/java1.4
 
export
SHLIB_PATH=${JAVA_HOME}/jre/lib/PA_RISC/server:/usr/shared/lib:/lib:/usr
/li
b:/usr/ccs/lib:${JAVA_HOME}/jre/lib:${JAVA_
HOME}/jre/lib/PA_RISC:${JAVA_HOME}/:/opt/ar/perfect_dev/api/lib:${ORACLE
_HO
ME}/lib32:/${JAVA_HOME}/jre/lib/PA_RISC/native_thr
eads:.
 
The LD_PRELOAD variable is set from a script called from armonitor.conf.

That looks like this
 
JAVA_HOME=/opt/java1.4; export JAVA_HOME
LD_PRELOAD=/usr/lib/libpthread.sl:${JAVA_HOME}/jre/lib/PA_RISC/server/li
bjv
m.sl; export LD_PRELOAD
/opt/ar/perfect_dev/bin/arplugin -s perfect_dev -i /opt/ar/perfect_dev
LD_PRELOAD=; export LD_PRELOAD
 
And finally,
 
these are the relevant settings from ar.conf
 
Plugin: /opt/ar/perfect_dev/bin/libwebservice.sl
Plugin-Port: 6050
ARF-Java-Class-
Path:
/opt/ar/perfect_dev/bin/arapi51.jar:/opt/ar/perfect_dev/bin/arutil51.
jar:/opt/ar/perfect_dev/bin/axis.jar:/opt/ar/perfect_dev/bin/log4j-
core.jar:/opt/ar/perfect_dev/bin/websvc51.jar:/opt/ar/perfect_dev/bin/ws
dl4
j.jar:/opt/ar/perfect_dev/bin/xercesImpl.jar:/opt/ar/perfect_dev/bin/xml
Par
serAPIs.jar:/opt/ar/perfect_dev/bin/commons-
logging.jar:/opt/ar/perfect_dev/bin/jaxrpc.jar:/opt/ar/perfect_dev/bin/t
t-
bytecode.jar:/opt/ar/perfect_dev/bin/saaj.jar
ARF-Java-VM-Options: -Dhttp.proxySet=true -
Dhttp.proxyHost=proxy.********.co.uk -Dhttp.proxyPort=8080
Plugin-Log-Levl: 100
 
There is an hp-ux patch to do with seg faults on loaded libraries that
use thread local storage and that has been installed.
 
The error suggests that an html rather than soap response is being
returned, but I am in no way vastly experienced in this area so that
could be well wide of the mark.
 
Any input much appreciated as I've pretty much tried everything I can
think of.
 
Cheers
 
Vic

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to