cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdog <pete.ma...@connectyourcare.com>
Subject Re: Error when trying to contact service over SSL on a specific port
Date Wed, 12 Sep 2007 14:09:59 GMT

When I try to call the service without the ssl socket wrap it gives an error
saying it can't communicate with the service, which makes sense since it's
not accessible over non-ssl:

javax.xml.ws.soap.SOAPFaultException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:175)
	at $Proxy131.saveComment(Unknown Source)
	at
com.cc.spring.actions.employee.ClaimCenterDashAction.viewOrDisplay(ClaimCenterDashAction.java:109)
	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:585)
	at
org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:103)
	at
org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:136)
	at
org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203)
	at
org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142)
	at
org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61)
	at
org.springframework.webflow.engine.ActionList.execute(ActionList.java:160)
	at org.springframework.webflow.engine.State.enter(State.java:199)
	at org.springframework.webflow.engine.Flow.start(Flow.java:557)
	at
org.springframework.webflow.engine.impl.RequestControlContextImpl.start(RequestControlContextImpl.java:196)
	at
org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:189)
	at
org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:206)
	at
org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:131)
	at
org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:172)
	at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
	at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
	at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
	at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
	at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
	at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
	at org.apache.jsp.templates.webflow_jsp._jspService(webflow_jsp.java:114)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
	at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:602)
	at
org.apache.jsp.templates.j_005fdesign_jsp._jspService(j_005fdesign_jsp.java:250)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at
com.cc.framework.servlets.FrameWorkController.doGetLogic(FrameWorkController.java:110)
	at
com.cc.framework.servlets.FrameWorkController.doGet(FrameWorkController.java:49)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.cc.framework.filters.URLUtil.doFilterInternal(URLUtil.java:99)
	at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.cc.framework.filters.ImageRewrite.doFilter(ImageRewrite.java:114)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.cc.framework.filters.PinManager.doFilter(PinManager.java:46)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
com.cc.framework.filters.AvailableManager.doFilter(AvailableManager.java:58)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
	at
com.cc.framework.security.SingleSignOnAuthenticator.invoke(SingleSignOnAuthenticator.java:247)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
	at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:48)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
	... 97 more
Caused by: java.io.IOException: Illegal Protocol http for HTTPS
URLConnection Factory.
	at
org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:124)
	at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:475)
	at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
	... 102 more


I generated the client side artifacts using the wsdl2java tool located in
the bin directory of the cxf download.  I am currently using the
apache-cxf-2.1-incubator-SNAPSHOT from Sept 6th, 2007.

I also have tried to consume the webservice using a spring bean with the
following configuration:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:jaxws="http://cxf.apache.org/jaxws"
	   xmlns:sec="http://cxf.apache.org/configuration/security"
       xmlns:http="http://cxf.apache.org/transports/http/configuration" 
	   xsi:schemaLocation="http://www.springframework.org/schema/beans 
       		http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://cxf.apache.org/jaxws 
       http://cxf.apache.org/schemas/jaxws.xsd
       http://cxf.apache.org/configuration/security
       http://cxf.apache.org/schemas/configuration/security.xsd
       http://cxf.apache.org/transports/http/configuration
       http://cxf.apache.org/schemas/configuration/http-conf.xsd">
       
	<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-object-binding.xml"
/>

	<jaxws:endpoint 
	  id="signInService"
	  implementor="com.cc.webservice.security.SignInServiceImpl" 
	  address="/SignIn" >
	</jaxws:endpoint>
	
	<jaxws:endpoint 
	  id="employerService"
	  implementor="com.cc.webservice.employer.EmployerServiceImpl" 
	  address="/Employer" >
	</jaxws:endpoint>  
   
   	<bean id="customerClient"
class="com.customer.services.ClientCommentsServiceSoap"
factory-bean="customerClientFactory" factory-method="create">
   	</bean>
   
   	<bean id="customerClientFactory"
class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
	  <property name="serviceClass"
value="com.customer.services.ClientCommentsServiceSoap"/>
	  <property name="address" value="https://somedomain:1040/something.asmx"/>
	</bean>
	
	 <http:conduit
name="{http://com.comments.client/}ClientCommentsServiceSoap.http-conduit">
	     <http:tlsClientParameters secureSocketProtocol="SSL" />
	  </http:conduit>
</beans>

And then the client I use to call the service:

ClientCommentsServiceSoap kc =
(ClientCommentsServiceSoap)ctx.getBean("customerClient");
		Client c = ClientProxy.getClient(kc);
		HTTPConduit conduit = (HTTPConduit)c.getConduit();
		TLSClientParameters tlsParams = new TLSClientParameters();
		tlsParams.setSecureSocketProtocol("SSL");
		conduit.setTlsClientParameters(tlsParams);

		SaveCommentResponseType kr = kc.saveComment("4823048230484203",
 				"48230482304",
 				"Note",
 				"Note",
 				"My Name",
 				"09/11/2007");

This gives me the same error as in my original post.  I had looked at the
JIRA issue before I posted here so I have seen that before but not tried the
full workaround yet.

Let me know if there is more information that you need.

Thanks 


Willem2 wrote:
> 
> Hi
> It looks like that wstx can't consume the incoming message.
> Can you try to call the service without the SSL socket wrap first?
> And there also another question, how did you generate the client side 
> artifacts ?
> 
> We need to find out the issue come from the SSL configuration or from 
> the wired message.
> 
> For the spring configuration with SSL on the client , there are some 
> threads in the cxf-user which talk about it , you can search the tile 
> with "http-conf" or "Setting the timeout on the client side", and we 
> also have a JIRA[1] to trace it.
> [1]https://issues.apache.org/jira/browse/CXF-922
> 
> Willem.
> 
> pdog wrote:
>> I've been trying to figure this one out for a while now and have not been
>> having much luck.  This new error is not something I have seen on this
>> forum
>> yet so I was wondering if anyone has seen before or not.
>>
>> I am trying to contact a service that is over ssl to a particular port,
>> eg
>> https://somedomain:1040/something.asmx?wsdl
>>
>> Here is the client that I have configured based on other suggestions in
>> the
>> forums:
>>
>> QName SERVICE_NAME = new QName("http://com.comments.client/",
>> "ClientCommentsService");
>> 		URL wsdlURL = new
>> URL("https://somedomain:1040/clientservices/ClientCommentsService.asmx?WSDL");
>> 		ClientCommentsService ss = new ClientCommentsService(wsdlURL,
>> SERVICE_NAME);
>>         ClientCommentsServiceSoap port =
>> ss.getClientCommentsServiceSoap();
>>         Client c = ClientProxy.getClient(port);
>>         HTTPConduit conduit = (HTTPConduit)c.getConduit();
>>         HTTPClientPolicy httpPolicy = new HTTPClientPolicy();
>>         httpPolicy.setConnection(ConnectionType.KEEP_ALIVE);
>>         httpPolicy.setMaxRetransmits(1);
>>         httpPolicy.setAllowChunking(false);
>>         httpPolicy.setContentType("text/xml");
>>         conduit.setClient(httpPolicy);
>> 		TLSClientParameters tlsParams = new TLSClientParameters();
>> 		tlsParams.setSecureSocketProtocol("SSL");
>> 		conduit.setTlsClientParameters(tlsParams);
>>
>> 		SaveCommentResponseType _saveComment__return =
>> port.saveComment("4823048230484203",
>> 				"48230482304",
>> 				"Note",
>> 				"Note",
>> 				"My Name",
>> 				"09/11/2007");
>>
>> Now when this is run it throws this error:
>> 14:42:47,095 ERROR [STDERR] Sep 11, 2007 2:42:47 PM
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> buildServiceFromWSDL
>> INFO: Creating Service {http://com.comments.client/}ClientCommentsService
>> from WSDL:
>> https://somedomain:1040/clientservices/ClientCommentsService.asmx?WSDL
>> 14:42:47,251 ERROR [STDERR] Sep 11, 2007 2:42:47 PM
>> org.apache.cxf.transport.https.SSLUtils getCiphersuites
>> INFO: The cipher suites have not been configured, falling back to cipher
>> suite filters.
>> 14:42:47,251 ERROR [STDERR] Sep 11, 2007 2:42:47 PM
>> org.apache.cxf.transport.https.SSLUtils getCiphersuites
>> INFO: The cipher suite filters have not been configured, falling back to
>> default filters.
>> 14:42:47,251 ERROR [STDERR] Sep 11, 2007 2:42:47 PM
>> org.apache.cxf.transport.https.SSLUtils getCiphersFromList
>> INFO: The cipher suites have been set to SSL_RSA_WITH_DES_CBC_SHA,
>> SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA,
>> SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA,
>> SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,
>> SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, SSL_RSA_WITH_NULL_MD5,
>> SSL_RSA_WITH_NULL_SHA, SSL_DH_anon_WITH_DES_CBC_SHA,
>> SSL_DH_anon_EXPORT_WITH_RC4_40_MD5,
>> SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA,
>> TLS_KRB5_WITH_DES_CBC_SHA, TLS_KRB5_WITH_DES_CBC_MD5,
>> TLS_KRB5_EXPORT_WITH_RC4_40_SHA, TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
>> TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5.  
>> 14:42:47,470 ERROR [STDERR] Sep 11, 2007 2:42:47 PM
>> org.apache.cxf.phase.PhaseInterceptorChain doIntercept
>> INFO: Interceptor has thrown exception, unwinding now
>> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>> 	at
>> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:187)
>> 	at
>> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:56)
>> 	at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:395)
>> 	at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1932)
>> 	at
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1790)
>> 	at
>> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
>> 	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:576)
>> 	at
>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
>> 	at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254)
>> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205)
>> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>> 	at
>> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
>> 	at $Proxy132.saveComment(Unknown Source)
>> 	at
>> com.cc.spring.actions.employee.ClaimCenterDashAction.viewOrDisplay(ClaimCenterDashAction.java:74)
>> 	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:585)
>> 	at
>> org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:103)
>> 	at
>> org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:136)
>> 	at
>> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203)
>> 	at
>> org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142)
>> 	at
>> org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61)
>> 	at
>> org.springframework.webflow.engine.ActionList.execute(ActionList.java:160)
>> 	at org.springframework.webflow.engine.State.enter(State.java:199)
>> 	at org.springframework.webflow.engine.Flow.start(Flow.java:557)
>> 	at
>> org.springframework.webflow.engine.impl.RequestControlContextImpl.start(RequestControlContextImpl.java:196)
>> 	at
>> org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:189)
>> 	at
>> org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:206)
>> 	at
>> org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:131)
>> 	at
>> org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:172)
>> 	at
>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>> 	at
>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
>> 	at
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
>> 	at
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
>> 	at
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
>> 	at
>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>> 	at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>> 	at
>> org.apache.jsp.templates.webflow_jsp._jspService(webflow_jsp.java:114)
>> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
>> 	at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>> 	at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>> 	at
>> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:602)
>> 	at
>> org.apache.jsp.templates.j_005fdesign_jsp._jspService(j_005fdesign_jsp.java:250)
>> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
>> 	at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>> 	at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>> 	at
>> com.cc.framework.servlets.FrameWorkController.doGetLogic(FrameWorkController.java:110)
>> 	at
>> com.cc.framework.servlets.FrameWorkController.doGet(FrameWorkController.java:49)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at com.cc.framework.filters.URLUtil.doFilterInternal(URLUtil.java:99)
>> 	at
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at com.cc.framework.filters.ImageRewrite.doFilter(ImageRewrite.java:114)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at com.cc.framework.filters.PinManager.doFilter(PinManager.java:46)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at
>> com.cc.framework.filters.AvailableManager.doFilter(AvailableManager.java:58)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> 14:42:47,470 ERROR [STDERR] ApplicationFilterChain.java:173)
>> 	at
>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> 	at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> 	at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> 	at
>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
>> 	at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
>> 	at
>> com.cc.framework.security.SingleSignOnAuthenticator.invoke(SingleSignOnAuthenticator.java:247)
>> 	at
>> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
>> 	at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> 	at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> 	at
>> org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
>> 	at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> 	at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> 	at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> 	at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> 	at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> 	at
>> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
>> 	at java.lang.Thread.run(Thread.java:595)
>> Caused by: com.ctc.wstx.exc.WstxParsingException: Received event DTD,
>> instead of START_ELEMENT or END_ELEMENT.
>>  at [row,col {unknown-source}]: [1,89]
>> 	at
>> com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
>> 	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
>> 	at
>> com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1113)
>> 	at
>> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:85)
>> 	... 110 more
>>
>>
>> Now currently I am running the client in a spring framework.  I have
>> tried
>> using a client that retrieves a bean setup in spring and that doesn't
>> work
>> as well giving an error along the same lines.  My question is that the
>> service I am trying to reach has a version for WSDL 1.1 and WSDL 1.2. 
>> Both
>> of them give me an error when trying to use them.  The webservice is
>> accessible b/c I have used a .net exe that test webservices to get a
>> successful transmission.
>>
>> When I try and use wireshark to capture any output there isn't any except
>> for contacting the ssl cert (I can post the output if needed).  I have
>> also
>> contacted the developer at the webservice that I am trying to reach and
>> they
>> do not have anything hitting there service when I try and hit it.
>>
>> Please let me know if there is anymore information that is needed.
>> Thanks
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-when-trying-to-contact-service-over-SSL-on-a-specific-port-tf4424617.html#a12636332
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message