|
![]() |
#1 |
Участник
|
Через отдельный класс. Простенький сервис. На входе один атрибут на выходе 3 параметра(типы простые).
|
|
![]() |
#2 |
Участник
|
А вы сделали как написано тут:
Цитата:
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."
|
|
![]() |
#3 |
Участник
|
Да сделал. И получил подробности ошибки ... когда нажимаю вторую ссылку http://xxx.xxxxx.ru/MicrosoftDynamic...svc?singleWsdl получаю вот такой ответ
Цитата:
The service encountered an error.
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.NotSupportedException: A single WSDL document could not be generated for this service. Multiple service contract namespaces were found (http://schemas.microsoft.com/netfx/2009/05/routing, http://tempuri.org). Ensure that all your service contracts have the same namespace. at System.ServiceModel.Description.WsdlHelper.VerifyContractNamespace(List`1 wsdls) at System.ServiceModel.Description.WsdlHelper.GetSingleWsdl(MetadataSet metadataSet) at System.ServiceModel.Description.ServiceMetadataExtension.EnsureSingleWsdlInitialized() at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.TryHandleMetadataRequest(Message httpGetRequest, String[] queries, Message& replyMessage) at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.ProcessHttpRequest(Message httpGetRequest) at SyncInvokeGet(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) |
|
Теги |
401, service, soap, сервис |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|