Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Data Connection to certificated wsdl not returning data

Avatar

Level 2

I am using workbench v 6.4.  I have a dataconnection that calls a wcf service wsdl that requires a digital certificate, but it is not returing the data that I can tell and no error is being thrown.  The certificate has been loaded on the server and brings data back via a process I've created, so I know the call to the wsdl works. 

<FindTrainingSiteResult>
<TrainingSite>
<City>CityName</City>
<State>StateName</State>
<Name>TrainingSiteName</Name>
<CredentialType>CType</CredentialType>
</TrainingSite>
<TrainingSite>
<City>CityName</City>
<State>StateName</State>
<Name>TrainingSiteName</Name>
<CredentialType>CType</CredentialType>
</TrainingSite>
</FindTrainingSiteResult>
</FindTrainingSiteResponse>

I want to make the call via the data connection without submitting the form. 

I have succeeded doing a similar action with another data connection calling a web service but that one doesn't require a certificate.

So can  this be  done via a process without submitting the form or is there another way with the dataconnection?

2 Replies

Avatar

Employee Advisor

When you are making an external call to WS, you first send request from workbench to server and server then send to the endpoint hosting WS. Make sure the cert is loaded on workbench side as well. 

 

Easy test will be to use soapUI and check the connection first.

Avatar

Level 2

Works in Soap UI, Works in process on publish server via workbench.  Does not work straight from form to wsdl.