Skip to main content

Hello, im new to the blackpearl. I want to connect to external wsdl service from a smartobject. How can i do it in K2 Designer (the web application)?

You can use K2 WorkspaceSmartobject Service Tester Tool to register a service instance for that web service (using either the endpoints assembly broker, endpoints wcf broker, or endpoints web service broker) .  Then create a smartobject from the service objects that are exposed or use those service object methods in a custom smartobject:


http://help.k2.com/helppages/k2blackpearlUserGuide4.6.6/installation.html


Hi,

 

I used the interface on the workspace management console to generate a WCF Service instance of a custom WCF webservice that we have.

 

I entered in the appropriate URL into the SmartObject -> Services -> Service Instance -> Endpoints WCF

 

Service Metadata URL: http://webserviceurl/webservice.svc?wsdl

Service Endpoint URL: http://webserviceurl/webservice.svc

all other options are default.

When I hit Next and click Save i get the following error:

Validation Error: Service Endpoint does not exist.

 

What am I doing wrong?

Do I need to add an entry to the K2HostServer.Config file. If so how do I do this.

Do I need to copy the WebService DLL file to the Bin folder or HostServerBin folder?

 

Your help would be grately appreciated.

 

Regards,

Sam


Reply