- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2017 11:55 AM
I have a WCF service that is behind SSL and HTTPS.
When I paste the WSDL into the WSDL XML field and try to Generate sample Soap messages I get the following error:
Unable to load WSDL: java.lang.RuntimeException: java.net.SocketTimeoutException: connect timed out:java.net.SocketTimeoutException: connect timed out
This is the same error message I get if I provide the WSDL URL and try to download the WSDL.
According to the Wiki, because the service is behind SSL and HTTPS it is not possible to download the WSDL from the URL, but instead you should paste the WSDL into the WSDL XML field.
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2017 12:34 PM
Okay, so I finally figured it out.
You need to create the SOAP operation manually, by copying what SoapUI generates. Then you need to make sure you choose your MID server. You also need to provide the SOAP action and the SOAP endpoint. The SOAP action can be found in your WSDL. Make sure you find the one specific to the operation you are creating. The soap endpoint is simply the URL to your service. For example: https://www.mycompany.com/Services/TestService.svc. Finally, you need to set the WS-Security typ and WS-Security profile. You DO NOT need Authentication type and auth profile. I set my WS-Security type to Username, because I'm simply passing a username and password. Then you need to set up a Username profile providing the appropriate username and password. Clicking test resulted in an HTTP Status of 200 and my result was displayed in the Response XML.
I believe the error about the host parameter being null was because I did not provide the SOAP endpoint. Not providing the SOAP action causes another error specifically mentioning the missing action. And not providing WS-Security also gives an error specifically about security.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2017 12:31 PM
Can post a screenshot of the operation with the error?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2017 12:34 PM
Okay, so I finally figured it out.
You need to create the SOAP operation manually, by copying what SoapUI generates. Then you need to make sure you choose your MID server. You also need to provide the SOAP action and the SOAP endpoint. The SOAP action can be found in your WSDL. Make sure you find the one specific to the operation you are creating. The soap endpoint is simply the URL to your service. For example: https://www.mycompany.com/Services/TestService.svc. Finally, you need to set the WS-Security typ and WS-Security profile. You DO NOT need Authentication type and auth profile. I set my WS-Security type to Username, because I'm simply passing a username and password. Then you need to set up a Username profile providing the appropriate username and password. Clicking test resulted in an HTTP Status of 200 and my result was displayed in the Response XML.
I believe the error about the host parameter being null was because I did not provide the SOAP endpoint. Not providing the SOAP action causes another error specifically mentioning the missing action. And not providing WS-Security also gives an error specifically about security.