Forum Discussion

Ragnar's avatar
Ragnar
New Member
7 years ago

Calling WCF Request with SOAPUI

Hi,

 

I want to call a WCF Request using the SOAPUI Open Source variant.

 

I am running the WCF service locally and I have gotten the "required" info/data from tracing (system.diagnostics) to compose the request: the raw xml-envelope and the endpoint.

 

I am trying it out with:

- Using POST-method

- NO wsdl-file, i.e. I am pasting the raw xml-envelope I got from the svclog in the Request Message Tab.

- Endpoint is the Uri from the svclog: net.tcp://127.0.0.1:5333/MyGenericWcfMethod

 

 

When using this endpoint I get the following exception in SOAPUI's errorlog:

 An error occurred [com.eviware.soapui.impl.wsdl.submit.RequestTransportRegistry$MissingTransportException: Missing transport for protocol [net.tcp]]

 

So I tried instead using the endpoint: http://127.0.0.1:5333/MyGenericWcfMethod

This does not work either: No Connection Error.

 

 

I have not bothered to validate the contents of the envelope, as I do not get that far because of the exceptions.

 

So, my questions are:

- Is it possible to use tcp-endpoints at all in SOAPUI?

- Do the enpoints look correct? I entered everything in the Endpoint-field, i.e. nothing in Resource or Parameters.

 

Thanks, Regards

Ragnar