Note that there are some explanatory texts on larger screens.

plurals
  1. PODeploying a SharePoint WebPart with its Web Service Reference
    primarykey
    data
    text
    <p>I'm trying to built a SharePoint Web Part that has as part of it a service reference to <i>Another</i> SharePoint server that I need to call from within vb code. However when I try to call the remote web service for the first time, I get the following in the log:</p> <hr> <p>Could not find default endpoint element that references contract 'ListReference.ListsSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element. at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName) at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) at System.ServiceModel.ChannelFactory<code>1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress) at System.ServiceModel.EndpointTrait</code>1.CreateSimplexFactory() at System.ServiceModel.ClientBase<code>1.CreateChannelFactoryRef(EndpointTrait</code>1 endpointTrait) at System.ServiceModel.ClientBase<code>1.InitializeChannelFactoryRef() at System.ServiceModel.ClientBase</code>1..ctor() at VSeWSS.ChangeRequestWorkflow.ChangeRequest.SubmitForm(Object sender, EventArgs e)</p> <hr> <p>What is the proper way to deploy a Web Part with a Service Reference, could I be doing something wrong? Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload