Hello,

I'm using JBoss 4.0.1sp1 and JDK 1.4.2_07. I.m calling an external web service 
from SLSB. I'm not using stubs. One method is written with dynamic proxy, the 
second one is written with DII.
When I call the web service over http both methods return good results. But 
when I change the url in the deployed WSDL the https variant than Im getting 
the above error.
I have build also a client stubs test with wscompile using the https url and 
this is also working nice.
Is there something I forget using HTTPS? I did also import the certificate in 
the cacerts keystore. But the certificate was signed by a trusted root 
certificate of VeriSign.

Server.log

  | 2005-04-12 16:31:43,078 ERROR [org.jboss.webservice.client.PortProxy] Port 
error
  | java.lang.reflect.UndeclaredThrowableException
  |     at $Proxy203.getDomainInformation(Unknown Source)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:111)
  |     at $Proxy204.getDomainInformation(Unknown Source)
  |     at 
nl.vda.won.tv.j2ee.ejb.DomainAgentBean.getDomain(DomainAgentBean.java:99)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
  |     at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
  |     at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
  |     at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
  |     at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
  |     at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
  |     at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
  |     at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
  |     at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
  |     at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122)
  |     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  |     at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  |     at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
  |     at org.jboss.ejb.Container.invoke(Container.java:870)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  |     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |     at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  |     at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  |     at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  |     at sun.rmi.transport.Transport$1.run(Transport.java:148)
  |     at java.security.AccessController.doPrivileged(Native Method)
  |     at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  |     at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  |     at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  |     at java.lang.Thread.run(Thread.java:534)
  | Caused by: java.net.SocketTimeoutException: Read timed out
  |     at java.net.SocketInputStream.socketRead0(Native Method)
  |     at java.net.SocketInputStream.read(SocketInputStream.java:129)
  |     at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA12275)
  |     at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA12275)
  |     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
  |     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
  |     at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA12275)
  |     at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
  |     at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
  |     at java.io.FilterInputStream.read(FilterInputStream.java:111)
  |     at 
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown 
Source)
  |     at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
  |     at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
  |     at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
  |     at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
 Source)
  |     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  |     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |     at javax.xml.parsers.SAXParser.parse(Unknown Source)
  |     at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:258)
  |     at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
  |     at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
  |     at org.apache.axis.client.Call.invokeEngine(Call.java:3052)
  |     at org.apache.axis.client.Call.invoke(Call.java:3014)
  |     at org.apache.axis.client.Call.invoke(Call.java:2608)
  |     at org.apache.axis.client.Call.invoke(Call.java:2513)
  |     at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
  |     at org.apache.axis.client.Call.invoke(Call.java:1914)
  |     at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  |     at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:372)
  |     ... 48 more
  | 
  | 
  | ejb-jar.xml
  | 
  |   | <!-- Session Beans -->
  |   | <session>
  |   |         <ejb-name>DomainAgent</ejb-name>
  |   |         <home>nl.vda.won.tv.j2ee.ejb.DomainAgentRemoteHome</home>
  |   |         <remote>nl.vda.won.tv.j2ee.ejb.DomainAgentRemote</remote>
  |   |         
<local-home>nl.vda.won.tv.j2ee.ejb.DomainAgentLocalHome</local-home>
  |   |         <local>nl.vda.won.tv.j2ee.ejb.DomainAgentLocal</local>
  |   |         <ejb-class>nl.vda.won.tv.j2ee.ejb.DomainAgentBean</ejb-class>
  |   |         <session-type>Stateless</session-type>
  |   |         <transaction-type>Container</transaction-type>
  |   |         <service-ref>
  |   |                 
<service-ref-name>service/WOnSoapService</service-ref-name>
  |   |                 
<service-interface>wonsoapnamespace.WOnSoapInterface_Service</service-interface>
  |   |                 <wsdl-file>META-INF/wsdl/won_soap_test.wsdl</wsdl-file>
  |   |                 
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
  |   |         </service-ref>
  |   |         <service-ref xmlns:ns="urn:wonsoapnamespace">
  |   |                 
<service-ref-name>service/WOnSoapService2</service-ref-name>
  |   |                 
<service-interface>javax.xml.rpc.Service</service-interface>
  |   |                 <wsdl-file>META-INF/wsdl/won_soap_test.wsdl</wsdl-file>
  |   |                 
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
  |   |                 <service-qname>ns:WOnSoapInterface</service-qname>
  |   |         </service-ref>                  
  |   | </session>
  |   | 
  | 
  | Part of the deployed wsdl in /META-INF/wsdl
  | 
  |   |         <service name="WOnSoapInterface">
  |   |                 <port name="WOnSoapInterface" 
binding="ns:WOnSoapInterface">
  |   |                         <soap:address 
location="https://[server]:[port]/WOn"/>
  |   |                 </port>
  |   |         </service>
  |   | </definitions>
  |   | 
  | 
  | T.I.A. Johan

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873580#3873580

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873580


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to