You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Manuel Krucker (JIRA)" <ax...@ws.apache.org> on 2008/09/26 13:59:44 UTC
[jira] Commented: (AXIS-2330) provide better error message on
"Server.userException"
[ https://issues.apache.org/jira/browse/AXIS-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634833#action_12634833 ]
Manuel Krucker commented on AXIS-2330:
--------------------------------------
The SSL socket factory can be customized using the jakarta commons HTTPClient.
An explained example can be view on:
http://wso2.org/library/1646
a code shortcut is:
// defining the new protocol
Protocol myProtocolHandler = new Protocol("https", new MySSLSocketFactory(), 443);
// connect the the stub with the new protocl
mystub._getServiceClient().getOptions().setProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER, myProtocolHandler);
// or alternativly: messageContext.getOptions().setProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER, myProtocolHandler);
> provide better error message on "Server.userException"
> ------------------------------------------------------
>
> Key: AXIS-2330
> URL: https://issues.apache.org/jira/browse/AXIS-2330
> Project: Axis
> Issue Type: New Feature
> Components: Basic Architecture
> Environment: debian, jdk1.5
> Reporter: Ralf Hauser
>
> (User.java:2335) - ; nested exception is:
> java.net.SocketException: tld.dom.my.SSLSocketFactoryImpl
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.net.SocketException: tld.dom.my.SSLSocketFactoryImpl
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: tld.dom.my.SSLSocketFactoryImpl
> at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:158)
> at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
> at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
> at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
> at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> ...
> this is not that helpful.
> Until AXIS-2216 path is available, I try to use my own socketFactory implementation, but it fails with this message that does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org