Retrieve WSDL over HTTPS

157 views
Skip to first unread message

ma...@aerofi.com

unread,
Jan 6, 2015, 11:15:24 AM1/6/15
to membrane...@googlegroups.com
Hi,

The server I am attempting to connect to to get the WSDL is running over HTTPS. I can retrieve WSDLs in membrane over HTTP and I can retrieve the HTTPS WSDL via curl and we do not use a proxy server to access the internet. Running in membrane i receive the following error...

16:08:57,800  INFO HttpClient:176 - Connection to https://<url>?wsdl was reset externally. Maybe by the server or the OS Membrane is running on.


I also copied the WSDL to a local file and the https links within the WSDL then fail.


Does Membrane support WSDL retrieval over HTTPS?


Thanks in advance,


Matt

cmri...@gmail.com

unread,
Jan 23, 2015, 12:07:44 AM1/23/15
to membrane...@googlegroups.com, ma...@aerofi.com
It doesn't appear that the <soapproxy> router does.  But, I was able to use a generic proxy with wsdlrewrite inceptor to do the same thing:

<spring:beans xmlns="http://membrane-soa.org/proxies/1/"
 
xmlns:spring="http://www.springframework.org/schema/beans"
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://membrane-soa.org/proxies/1/ http://membrane-soa.org/schemas/proxies-1.xsd"
>


 
<router>


 
<serviceProxy port="8080">
 
<path>/</path>
 
<wsdlRewriter />
 
<target port="443" host="somethingsecure.net">
   
<ssl />
 
</target>
 
</serviceProxy>
 
 
</router>
 
</spring:beans>

This essentially defeats the purpose of securing the WSDL over https, as this configuration doesn't include ssl for the proxy itself.  But, that's pretty well documented.

Chris

Matthew Pearce

unread,
Jan 23, 2015, 5:53:41 AM1/23/15
to membrane...@googlegroups.com, cmri...@gmail.com
Yes that’s got it thanks for your help.
Reply all
Reply to author
Forward
0 new messages