[axis2] Exception on element.getXMLStreamReader().getCharacterEncodingScheme().toString();

2011-11-03 Thread Stadelmann Josef
I am migrating our well working webservice based on AXIS2-1.2 / JDK 1.5.0_18 to AXIS2-1.6.1 JDK 1.5.0_18 on OpenVMS Our webservice was rebuilt against Axis2-1.6.1 and deployes correct, and works to some degree, but fails with certain statements. i.e. The following program segment raises an error

Re: [axis2] Exception on element.getXMLStreamReader().getCharacterEncodingScheme().toString();

2011-11-03 Thread Andreas Veithen
According to the Javadoc, XMLStreamReader#getCharacterEncodingScheme() "Returns the character encoding declared on the xml declaration" and "Returns null if none was declared". In your case, the XMLStreamReader is obtained from an OMElement and is therefore synthetic (i.e. it is not a real parser).

[Axis2] How to connect MySQL with the standalone version

2011-11-03 Thread Ted Zeng
I just installed the Axis2 and use it without problem. Then I follow the article Exposing a Database as a Web Service by Deepal Jayasinghe When I drop a web service similar to the sample, Axis2 complaints it could not find mysql connector. So I put a copy of the latest MySql connector jar into th

RE: [Axis2] How to connect MySQL with the standalone version

2011-11-03 Thread Okken,Brett
Your connection is being refused. This either means your connection configuration (i.e. jdbc url) is wrong or the database listener is refusing connections. The latter can be cause by security settings. This is not an axis problem, however. Caused by: java.net.ConnectException: Connection refus

RE: [Axis2] How to connect MySQL with the standalone version

2011-11-03 Thread Ted Zeng
Thanks. I put in the wrong port number. now the problem is gone. Ted Sent from my Motorola ATRIX™ 4G on AT&T -Original message- From: "Okken,Brett" To: "[email protected]" Sent: Thu, Nov 3, 2011 23:04:53 GMT+00:00 Subject: RE: [Axis2] How to connect MySQL with the standalone