Re: Trace of failure... SSL AIX-64 HTTPS... catch unknown exception in calculator...
Hi, [17/11/2005 17:22:49:552 GMT] 1 - axtoi 452 [17/11/2005 17:22:49:552 GMT] 1 HTTPTransport getBytes @110014990,@2 [] [17/11/2005 17:22:49:552 GMT] 1 SoapBinInputStream readBytes @1100475b8,49152 seems to suggest that the transport is reading in the length of the message (452 bytes) and then reading beyond this perhaps ? We did have issues with the transport in 1.5 and altered the transport post 1.5 to fix these. I would suggest that you try building on a newer version if you can - but pls be aware that the code is a little unstable this wk. hope this helps, John. Jason Musgrave [EMAIL PROTECTED] 17/11/2005 17:43 Please respond to Apache AXIS C User List To axis-c-user@ws.apache.org cc Subject Trace of failure... SSL AIX-64 HTTPS... catch unknown exception in calculator... Hello, I'm on AIX 5.2 64bit with xerces 2.6.0 and openssl 0.9.7.g using axis-c 1.5 openssl is the same on client and server. Server is Apache using openssl via mod_ssl and tomcat using axis java. This works via http and ssl works via a web browser -- as in I can see the wsdl. The cert negotiation seems to be fine, but afterwards I'm getting this unknown exception. I've added a try catch to: SoapBinInputStream::readBytes and catch (...) there. In the calculator client I have added alot of catches and I I'm still catching (...). (catches and snippet of trace below.) Please help. thanks, Jason catch (HTTPTransportException e) { printf (Exception HTTPTransportException); } catch (XmlPullParserException e) { printf (Exception XmlPullParserException ); } catch (OtherFaultException e) { printf (Exception : %s\n, e.what ()); } catch (SoapFaultException e) { printf (Exception : %s\n, e.what ()); } catch (AxisException e) { printf (Exception : %s\n, e.what ()); } // std Exceptions catch (std::exception e) { printf (e.what()); } catch (std::runtime_error err) { printf (Caught runtime_error); } catch (std::ios_base err) { printf (Caught ios_base); } // Other types catch (int i) { printf (caught int); } catch (char *c) { printf (Caught char *); } catch (string str) { printf (Caught String); } catch (void *str) { printf (Caught void *); } // XML Exceptions catch (xercesc::SAXParseException e) { printf(CAUGHT!\n);} catch (xercesc::DOMRangeException e) { printf(CAUGHT!\n);} catch (xercesc::DOMXPathException e) { printf(CAUGHT!\n);} catch (xercesc::DOM_RangeException e) { printf(CAUGHT!\n);} catch (xercesc::EndOfEntityException e) { printf(CAUGHT!\n);} catch (xercesc::XSerializationException e) { printf(CAUGHT!\n);} catch (xercesc::ArrayIndexOutOfBoundsException e) { printf(CAUGHT!\n);} catch (xercesc::EmptyStackException e) { printf(CAUGHT!\n);} catch (xercesc::IOException e) { printf(CAUGHT!\n);} catch (xercesc::IllegalArgumentException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidCastException e) { printf(CAUGHT!\n);} catch (xercesc::NoSuchElementException e) { printf(CAUGHT!\n);} catch (xercesc::NullPointerException e) { printf(CAUGHT!\n);} catch (xercesc::NumberFormatException e) { printf(CAUGHT!\n);} catch (xercesc::OutOfMemoryException e) { printf(CAUGHT!\n);} catch (xercesc::ParseException e) { printf(CAUGHT!\n);} catch (xercesc::RuntimeException e) { printf(CAUGHT!\n);} catch (xercesc::SchemaDateTimeException e) { printf(CAUGHT!\n);} catch (xercesc::TranscodingException e) { printf(CAUGHT!\n);} catch (xercesc::UTFDataFormatException e) { printf(CAUGHT!\n);} catch (xercesc::UnexpectedEOFException e) { printf(CAUGHT!\n);} catch (xercesc::UnsupportedEncodingException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidDatatypeFacetException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidDatatypeValueException e) { printf(CAUGHT!\n);} catch (xercesc::XPathException e) { printf(CAUGHT!\n);} catch (xercesc::DOM_DOMException e) { printf(CAUGHT!\n);} catch (xercesc::DOMException e) { printf(CAUGHT!\n);} catch (xercesc::SAXException e) { printf(CAUGHT!\n);} catch (xercesc::XMLException e) { printf(CAUGHT!\n);} catch (...) { printf(caught ...\n);} [17/11/2005 17:22:49:502 GMT] 1 HTTPSSLChannel open @110014f70 [17/11/2005 17:22:49:503 GMT] 1 HTTPSSLChannel OpenChannel @110014f70 [17/11/2005 17:22:49:503 GMT] 1 URL getHostName [17/11/2005 17:22:49:503 GMT] 1 URL getHostName auisevl50 [17/11/2005 17:22:49:503 GMT] 1 URL getPort [17/11/2005 17:22:49:503 GMT] 1 URL getPort 9443 [17/11/2005 17:22:49:506 GMT] 1 HTTPSSLChannel OpenChannel @110014f70,@4 false [17/11/2005 17:22:49:506 GMT] 1 HTTPSSLChannel OpenSSL_Open @110014f70 [17/11/2005 17:22:49:519 GMT] 1 - cert_verify_callback 1, fffd160 [0FFFD16009000144E36402C60001] ...`.D.d [17/11/2005 17:22:49:519 GMT] 1 - cert_verify_callback 1 [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel OpenSSL_Open @110014f70,false [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel open @110014f70,false [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport
Trace of failure... SSL AIX-64 HTTPS... catch unknown exception in calculator...
Hello, I'm on AIX 5.2 64bit with xerces 2.6.0 and openssl 0.9.7.g using axis-c 1.5 openssl is the same on client and server. Server is Apache using openssl via mod_ssl and tomcat using axis java. This works via http and ssl works via a web browser -- as in I can see the wsdl. The cert negotiation seems to be fine, but afterwards I'm getting this unknown exception. I've added a try catch to: SoapBinInputStream::readBytes and catch (...) there. In the calculator client I have added alot of catches and I I'm still catching (...). (catches and snippet of trace below.) Please help. thanks, Jason catch (HTTPTransportException e) { printf (Exception HTTPTransportException); } catch (XmlPullParserException e) { printf (Exception XmlPullParserException ); } catch (OtherFaultException e) { printf (Exception : %s\n, e.what ()); } catch (SoapFaultException e) { printf (Exception : %s\n, e.what ()); } catch (AxisException e) { printf (Exception : %s\n, e.what ()); } // std Exceptions catch (std::exception e) { printf (e.what()); } catch (std::runtime_error err) { printf (Caught runtime_error); } catch (std::ios_base err) { printf (Caught ios_base); } // Other types catch (int i) { printf (caught int); } catch (char *c) { printf (Caught char *); } catch (string str) { printf (Caught String); } catch (void *str) { printf (Caught void *); } // XML Exceptions catch (xercesc::SAXParseException e) { printf(CAUGHT!\n);} catch (xercesc::DOMRangeException e) { printf(CAUGHT!\n);} catch (xercesc::DOMXPathException e) { printf(CAUGHT!\n);} catch (xercesc::DOM_RangeException e) { printf(CAUGHT!\n);} catch (xercesc::EndOfEntityException e) { printf(CAUGHT!\n);} catch (xercesc::XSerializationException e) { printf(CAUGHT!\n);} catch (xercesc::ArrayIndexOutOfBoundsException e) { printf(CAUGHT!\n);} catch (xercesc::EmptyStackException e) { printf(CAUGHT!\n);} catch (xercesc::IOException e) { printf(CAUGHT!\n);} catch (xercesc::IllegalArgumentException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidCastException e) { printf(CAUGHT!\n);} catch (xercesc::NoSuchElementException e) { printf(CAUGHT!\n);} catch (xercesc::NullPointerException e) { printf(CAUGHT!\n);} catch (xercesc::NumberFormatException e) { printf(CAUGHT!\n);} catch (xercesc::OutOfMemoryException e) { printf(CAUGHT!\n);} catch (xercesc::ParseException e) { printf(CAUGHT!\n);} catch (xercesc::RuntimeException e) { printf(CAUGHT!\n);} catch (xercesc::SchemaDateTimeException e) { printf(CAUGHT!\n);} catch (xercesc::TranscodingException e) { printf(CAUGHT!\n);} catch (xercesc::UTFDataFormatException e) { printf(CAUGHT!\n);} catch (xercesc::UnexpectedEOFException e) { printf(CAUGHT!\n);} catch (xercesc::UnsupportedEncodingException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidDatatypeFacetException e) { printf(CAUGHT!\n);} catch (xercesc::InvalidDatatypeValueException e) { printf(CAUGHT!\n);} catch (xercesc::XPathException e) { printf(CAUGHT!\n);} catch (xercesc::DOM_DOMException e) { printf(CAUGHT!\n);} catch (xercesc::DOMException e) { printf(CAUGHT!\n);} catch (xercesc::SAXException e) { printf(CAUGHT!\n);} catch (xercesc::XMLException e) { printf(CAUGHT!\n);} catch (...) { printf(caught ...\n);} [17/11/2005 17:22:49:502 GMT] 1 HTTPSSLChannel open @110014f70 [17/11/2005 17:22:49:503 GMT] 1 HTTPSSLChannel OpenChannel @110014f70 [17/11/2005 17:22:49:503 GMT] 1 URL getHostName [17/11/2005 17:22:49:503 GMT] 1 URL getHostName auisevl50 [17/11/2005 17:22:49:503 GMT] 1 URL getPort [17/11/2005 17:22:49:503 GMT] 1 URL getPort 9443 [17/11/2005 17:22:49:506 GMT] 1 HTTPSSLChannel OpenChannel @110014f70,@4 false [17/11/2005 17:22:49:506 GMT] 1 HTTPSSLChannel OpenSSL_Open @110014f70 [17/11/2005 17:22:49:519 GMT] 1 - cert_verify_callback 1, fffd160 [0FFFD16009000144E36402C60001] ...`.D.d [17/11/2005 17:22:49:519 GMT] 1 - cert_verify_callback 1 [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel OpenSSL_Open @110014f70,false [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel open @110014f70,false [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport openConnection @110014990,0 [17/11/2005 17:22:49:532 GMT] 1 SoapSerializer markEndOfStream @11003a610 [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport flushOutput @110014990 [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport setTransportProperty @110014990,Content-Length, 407 [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport setTransportProperty @110014990,@2 0 [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel reopenRequired [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel reopenRequired false [17/11/2005 17:22:49:532 GMT] 1 HTTPTransport getHTTPHeaders @110014990 [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel getURLObject @110014f70 [17/11/2005 17:22:49:532 GMT] 1 HTTPSSLChannel getURLObject @110014f70,[00012E3E0034393A34370001100473D10009] ..49:47..s. [17/11/2005