Sx datastore soap client exceptions sxsoapinvokeexception error sending request

Разбор ошибок SOAP PHP WSDL: не удалось загрузить внешний объект? Я пытаюсь запустить веб-службу с помощью PHP и SOAP, но пока все, что я получил, это: Я пробовал изменить localhost на 127.0.0.1, но это не имеет значения. На самом деле логин — это файл wsdl, но если я помещаю login.wsdl в конструктор SOAPClient, вместо […]

Содержание

  1. Разбор ошибок SOAP PHP WSDL: не удалось загрузить внешний объект?
  2. Exception Handling In Spring Soap Client
  3. Exception Flow in WebServiceTemplate
  4. Custom Interceptor to Handle Exception
  5. Exception Handling through WebServiceMessageCallback
  6. Conclusion
  7. If You Appreciate This, You Can Consider:
  8. About The Author
  9. Spring SOAP Web services – Add SOAP Fault Exception handling – Part III
  10. List of Contents
  11. 1. Tools and Environment
  12. 2. Project Structure
  13. 3. Steps to create SOAP Server and SOAP Client with Exception handling
  14. 4. ScreenShots
  15. Step 1: Create sample data in the database
  16. Step 2: New Spring Starter project
  17. Step 3: Add “movies.xsd” under /src/main/resources/xsd folder
  18. Step 4: Edit pom.xml to include wsdl4j and jaxb2-maven-plugin
  19. Step 5: Create SOAP Server related files

Разбор ошибок SOAP PHP WSDL: не удалось загрузить внешний объект?

Я пытаюсь запустить веб-службу с помощью PHP и SOAP, но пока все, что я получил, это:

Я пробовал изменить localhost на 127.0.0.1, но это не имеет значения. На самом деле логин — это файл wsdl, но если я помещаю login.wsdl в конструктор SOAPClient, вместо этого он говорит: «Похоже, у нас нет XML-документа».

Вот мой код для клиента SOAP (register_client.php):

А вот и файл login.wsdl:

И я не уверен, что это связано с этим, поэтому я предоставляю код для SOAP-сервера register.php:

Прошу прощения, если я даю ненужную информацию, но я новичок в этом — и я был бы очень признателен, если бы кто-нибудь мог указать, почему именно генерируется эта ошибка SOAP, и что я могу сделать, чтобы исправить Это.

Я использую WAMP Server версии 2.2 с mySQL 5.5.24 и PHP 5.3.13.

После перехода на PHP 5.6.5 мыло 1.2 перестало работать. Итак, я решил проблему, добавив необязательные параметры SSL.

failed to load external entity

Поместите этот код над любым вызовом Soap:

попробуй это. работает для меня

Получил аналогичный ответ с URL-адресом https WSDL с использованием php soapClient

SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from .

После обновления сервера с PHP 5.5.9-1ubuntu4.21 >> PHP 5.5.9-1ubuntu4.23 что-то пошло не так для моей клиентской машины osx 10.12.6 / PHP 5.6.30, но подключения клиентов MS Web Services могут быть выполнены без проблем.

В файле server_access.log Apache2 не было записей, когда я пытался загрузить WSDL, поэтому я добавил, ‘cache_wsdl’ => WSDL_CACHE_NONE чтобы предотвратить кеширование wsdl на стороне клиента, но все равно не получил записей. Наконец, я попытался загрузить wsdl на CURL -i проверенные ЗАГОЛОВКИ, но, похоже, все в порядке ..

Только libxml_get_last_error() предоставил некоторую информацию> SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Поэтому я добавил к своему вызову несколько параметров ssl:

В моем случае все ‘allow_self_signed’ => true получилось!

Источник

Exception Handling In Spring Soap Client

In my last article — Spring Boot SOAP Client, we discussed about consuming SOAP web services through spring boot using WebServiceTemplate. Now, it’s time to implement a custom exception handling mechanism while consuming SOAP web services through Spring.

WebServiceTemplate already handles exception in a perfect way but sometimes it is required to add our custom logic while executing the exception callbacks as most of the web services are designed in a such a way that exceptions are thrown in a custom fashion. For example, many web services tend to provide a status of 200 even during exceptions and there is a nested status code which actually tells about the exception. In that case, default exception handling provided by WebServiceTemplate is unable to handle that.

Hence, in this article we will try provide some custom mechanism to handle esception while consuming SOAP web services.

Exception Flow in WebServiceTemplate

As discussed here in the spring documentation, WebServiceTemplate uses the following algorithm for sending and receiving.

First a coonection is created using createConnection().

Next a request message is created and doWithMessage() is invoked on the request callback.

Next interceptors are executed if any and then send() is invoked on the connection. In case, the connection has an error, handleError() is invoked and execution stops.

For a succesfull connection, receive() is invoked on the connection to read the response message.

Once, we have the response hasFault() is invokded to determine the fault and if there is any interceptor present then ClientInterceptor.handleFault(MessageContext) is executed.

Now, if we want to handle any custom exceptions, we need to intercept at this particular point and write our custom logic to handle it.For that we need to imple,ent a custom interceptor and tell WebServiceTemplate to use our custom interceptor. We can also use this custom interceptor to add custom headers.

Custom Interceptor to Handle Exception

For a custom interceptor, we need to implement ClientInterceptor and override the abstract methods. Make sure these methods return true for marshalling and unmarshalling the request and response further. This is the preferred way for performing any custom operations in the SOAP request or response. In the next article, we will see how custom header can be added using these interceptor.

Below is an implementation of handleFault() to log the fault string.

To register above class as an interceptor, we need little modifications in the bean config. Here we are using setInterceptors() to add our custom interceptors.

Sometimes, we encounter situation to handle custom exceptions such as one in below xml. In such cases, we can use TransformerFactory to log the fault response.

Exception Handling through WebServiceMessageCallback

We can also handle our custom exceptions by providing our own implementation of WebServiceMessageCallback. This is usefull when we have some nested excpetion code but the web service response status is 200. This implentation can also be used to alter the request, response or header. Below is the sample. You can visit my another article to add custom header in the SOAP request.

One thing to note here, the above implementation can also be achieved vis interceptors that we defined above. WebServiceMessageCallback is mostly used whenever we want to perform any specific actions for a particular web service call.

Conclusion

In this article, we discussed about exception handling while consuming SOAP web services using Spring SOAP client. We created our custom interceptor to define our custom exception handling logic.

If You Appreciate This, You Can Consider:

  • We are thankful for your never ending support.

A technology savvy professional with an exceptional capacity to analyze, solve problems and multi-task. Technical expertise in highly scalable distributed systems, self-healing systems, and service-oriented architecture. Technical Skills: Java/J2EE, Spring, Hibernate, Reactive Programming, Microservices, Hystrix, Rest APIs, Java 8, Kafka, Kibana, Elasticsearch, etc.

Источник

Spring SOAP Web services – Add SOAP Fault Exception handling – Part III

In this post, we will learn how to add detail information to your exceptions. Spring WS enables easy translation of errors penetrated from business logic. Exceptions are automatically thrown up the chain with the use of EndpointExceptionResolvers . Rather than exposing the internals of your application by giving an exception and stack trace, you can handle the exceptions programmatically and add an appropriate error code and description. This example shows you how to add detailed information to your SoapFault Exception.

In this post, we will implement

  • MovieNotFoundException – Throw this exception when we know if a movie not present in the database
  • ServiceFaultException – Add Custom code and error messages

Here are the list of posts on SOAP web services using Spring framework for your reference

  1. Publish SOAP web services – perform CRUD operation and consume SOAP web services using SOAP UI : We will explore these topic in this post – Publish SOAP Web services using Spring Boot – Part 1
  2. Consume SOAP web services using client application – Consume Spring SOAP web services using client application – Part II
  3. Exception handling in SOAP web services- We will learn about this topic in here
  4. Exception handling in CRUD SOAP web services – Spring SOAP Web services – Add SOAP Fault Exception handling for CRUD operations – Part IV
  5. Securing SOAP web services – In upcoming tutorial
  6. Testing SOAP web services – In upcoming tutorial

List of Contents

1. Tools and Environment

Following tools and environments are used to consume SOAP web services in Spring Boot

  • Spring Tool Suite (version: 3.9.4.RELEASE)
  • Spring Boot (version: 2.0.4)
  • Java version (version 8)
  • Maven (version 3.5.2)
  • Mysql (version: 5.1.17)

2. Project Structure

3. Steps to create SOAP Server and SOAP Client with Exception handling

  1. Create sample data in the database
  2. New Spring Starter project
  3. Add “movies.xsd” under /src/main/resources/xsd folder
  4. Edit pom.xml
    1. Add “wsdl4j” dependency (The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents)
    2. jaxb2- maven – plugin (to generate java source classes from XSD))
    3. Do Maven-> update project to generate java class files
  5. Create SOAP Server related files
    1. Create Movie Service class to perform CRUD operations on Movie object – “MovieService.java”
    2. Create SOAP Server configuration file – “SoapServerConfig.java”
    3. Create SOAP Endpoint file – “MovieEndpoint.java”
    4. Create SOAP Server Exceptions – “MovieNotFoundException”, “ServiceFaultException”, “DetailSoapFaultDefinitionExceptionResolver”
    5. Create an executable server class to run the Server – “RunServer.java”
  6. Run Server
    1. Right click on the “RunServer” and do Run As -> Java Application to start the server on default/specified port
  7. Test WDSL on web browser
  8. Test in SOAP UI or Create a Client application to test the exception

4. ScreenShots

Step 1: Create sample data in the database

Step 2: New Spring Starter project

Step 3: Add “movies.xsd” under /src/main/resources/xsd folder

movies.xsd

Step 4: Edit pom.xml to include wsdl4j and jaxb2-maven-plugin

Do Maven update project after saving pom.xml

pom.xml


Maven plugin will generate java source classes under “com.javaspringclub.gs_ws”. This package name is specified in pom.xml file

Alternatively, running the following command in parent directory, the Java Classes will be generated in the target/generated-sources/jaxb/

is specified in the pom.xml file

  • Create “MovieService.java”
  • Create “SoapServerConfig.java”
  • Create “MovieEndpoint.java”
  • Create Custom Exceptions(optional)
  • Create an executable java class “RunServer.java” to run server

MovieService.java

SoapServerConfig.java

Note:

We will use Spring Java Configuration to configure our soap services in this example.

  • The @EnableWs annotation enables support for the @Endpoint and related Spring Ws annotations.
  • The @Configuration annotations tells spring that this Java Class is used as configuration file.
  • Spring WS uses a different servlet type for handling SOAP messages: MessageDispatcherServlet . It is important to inject and set ApplicationContext to MessageDispatcherServlet . Without that, Spring WS will not detect Spring beans automatically. By naming this bean messageDispatcherServlet , it does not replace Spring Boot’s default DispatcherServlet bean
  • Next, we map the service on the /ws/*URI. We do this by creating a ServletRegistrationBean with a MessageDispatcherServlet which automatically transforms the WSDL location when deployed, together with the URI endpoint
  • We create a DefaultWsdl11Definition bean which we provide information about the portType, locationUri, targetNamespace and schema. It is important to notice that you need to specify bean name for DefaultWsdl11Definition . Bean name determine the URL under which web service and the generated WSDL file is available. In this case, the WSDL will be available under http:// :

/ws/movies.wsdl

  • For the soap exceptions to be propagated properly we must register our SoapFaultMappingExceptionResolver . We can define a default SoapFaultDefinition . This default is used when the SoapFaultMappingExceptionResolver does not have any appropriate mappings to handle the exception. We can map our Custom Exception by setting the mapping properties to the exception resolver. We do this by providing the fully qualified class name of the exception as the key and SoapFaultDefinition.SERVER as the value. Finally, we have to specify an order, otherwise for some reason the mappings will not work.
  • MovieEndpoint.java

    Note:

    • We can produce Spring Ws Contract First Soap Endpoint by annotating the class with the @Endpoint annotation. This makes the class as a special sort of @Component , suitable for handling XML messages in Spring WS and eligible for component scanning
    • The @PayloadRoot annotation informs Spring Ws that the getMovieById method is suitable for handling XML messages. This method can handle messages with localPart equal to getMovieByIdRequest with a namespace of http://www.javaspringclub.com/movies-ws
    • @RequestPayload tells Spring Ws that a XML Payload of type GetMovieByIdRequest is needed as a parameter of the request

    MovieNotFoundException.java

    ServiceFaultException.java

    Note: The ServiceFaultException extends from RuntimeException , so we don’t need to catch or add it to our method signature. With the ServiceStatus object we can add some detailed information about the error that occurred

    ServiceStatus.java

    This class either you implement on your own or specify in movies.xsd so that it generated by jaxb maven plugin. In our example, we took the second approach i.e specify in movies.xsd as shown below

    and here is the class, if you would like to write

    The ServiceStatus class is used to propagate the appropriate error code and description up the chain. Typically the code is used to map the exception on the client side and the message is just a description indicating the user/developer what exactly went wrong.

    DetailSoapFaultDefinitionExceptionResolver.java

    • DetailSoapFaultDefinitionExceptionResolver extends from the SoapFaultMappingExceptionResolver and is used for enhancing the SoapFault with detailed information about the error that occurred. We can override the customizeFault method to enhance the exception with detail information. We do this by calling the addFaultDetail method of the SoapFault class, and adding QName indicating the element with the addFaultDetailElement .

    RunServer.java

    Step 6: Run Server application.

    Right click on “RunServer.java” and select Run As -> Java Application to run the Server and publish WSDL. In our application, Tomcat is started on port : 8080

    Step 7: Test WSDL in web browser

    You can view wsdl on http://localhost:8080/ws/movies.wsdl

    Step 8: Test in SOAP UI or Create a Client application to test the exception

    To run the client application:

    All the required java classes are enclosed in the attached zip file in Download section

    Источник

    Не отправляются данные в ЕГАИС.

    Страницы 1

    Чтобы отправить ответ, нужно авторизоваться или зарегистрироваться

    #1 2019-03-07 00:40:27

    • KravMax
    • Посетитель
    • Неактивен

    Не отправляются данные в ЕГАИС.

    Добрый день!

    Помогите советом.
    Не отправляются данные в ЕГАИС.
    В логах Транспорта пишится следующее:

    2019-03-06 18:44:45,856 ERROR es.programador.a.c - Ошибка отправки файла
    com.sun.xml.internal.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {null}result
        at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:304)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:268)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:217)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:130)
        at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:124)
        at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:1121)
        at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:1035)
        at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:1004)
        at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:862)
        at com.sun.xml.internal.ws.client.Stub.process(Stub.java:448)
        at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:178)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)
        at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)
        at com.sun.proxy.$Proxy36.registerFile(Unknown Source)
        at es.programador.a.c.a(Unknown Source)
        at es.programador.a.c.a(Unknown Source)
        at es.programador.transport.o.a(Unknown Source)
        at es.programador.transport.o.a(Unknown Source)
        at es.programador.transport.o.a(Unknown Source)
        at es.programador.transport.i.d.execute(Unknown Source)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
    Caused by: com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {null}result
        at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:261)
        at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:205)
        at com.oracle.webservices.internal.impl.encoding.StreamDecoderImpl.decode(StreamDecoderImpl.java:49)
        at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:234)
        at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:151)
        at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:299)
        ... 22 more

    #2 Ответ от Ксения Шаврова 2019-03-07 12:47:03

    • Ксения Шаврова
    • Администратор
    • Неактивен

    Re: Не отправляются данные в ЕГАИС.

    Здравствуйте, KravMax.
    УТМ запускается и Домашняя страница открывается? Там нет ошибок?

    #3 Ответ от KravMax 2019-03-07 13:24:30

    • KravMax
    • Посетитель
    • Неактивен

    Re: Не отправляются данные в ЕГАИС.

    Добрый день!

    Все за исключением логово было хорошо.
    Предпринял:
    Переустановку УТМ.
    Утром в логах появилось сообщение, что сертификат отозван.
    Перезаписал сертификат, и все заработало.

    #4 Ответ от Ксения Шаврова 2019-03-07 13:26:55

    • Ксения Шаврова
    • Администратор
    • Неактивен

    Re: Не отправляются данные в ЕГАИС.

    Спасибо за информацию.

    Сообщений 4

    Страницы 1

    Чтобы отправить ответ, нужно авторизоваться или зарегистрироваться

    Есть некий wsdl сервер, допустим «https://192.168.333.3/LNetworkServer/LNetworkServi…» (адрес для поста выдуманный).

    В браузере открывается нормально.

    Когда пробую использовать SOAP, выдает ошибку:

    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://sh333skd1-dev/LNetworkServer/LNetworkService.svc?wsdl=wsdl0' : failed to load external entity "https://sh333skd1-dev/LNetworkServer/LNetworkService.svc?wsdl=wsdl0"

    Если пробую cURL, ошибок нет, спокойно получаю XML.

    Разработчики молчат, дали мне такой код:

    $wsdl = "https://192.168.333.3/LNetworkServer/LNetworkService.svc?wsdl";
        	$arrContextOptions=array(
    		    'ssl'=>array(
    		        'verify_peer'=>false,
    		        'verify_peer_name'=>false,
    		        'allow_self_signed' => true
    		    ),
    			'https' => array(
                    'curl_verify_ssl_peer'  => false,
                    'curl_verify_ssl_host'  => false)
    		);
        	$options =array(
    	    'trace' => 1,
        	'soap_version' => SOAP_1_1,
        	'location'=>'https://192.168.333.3/LNetworkServer/LNetworkService.svc',
        	'exceptions' => 1,
        	'cache_wsdl'=>WSDL_CACHE_NONE,
        	'verifypeer' => false,
            'verifyhost' => false,
        	'stream_context' => stream_context_create($arrContextOptions),
        	'login'=>'root', 'password'=>'1234' ,
        	'classmap' => array('AcsEmployeeSaveData' => "AcsEmployeeSaveData")
        	);
            //подключение 
    	$client = new SoapClient($wsdl, $options);

    Сам пробовал такой вариант:

    try {
        $opts = array(
    		    'ssl'=>array(
    		        'verify_peer'=>false,
    		        'verify_peer_name'=>false,
    		        'allow_self_signed' => true
    		    ),
    			'https' => array(
                    'curl_verify_ssl_peer'  => false,
                    'curl_verify_ssl_host'  => false,
                	'user_agent' => 'PHPSoapClient',
                    'allow_self_signed' => true
    			)
        );
        $context = stream_context_create($opts);
    
        $wsdlUrl = 'https://192.168.333.3/LNetworkServer/LNetworkService.svc?wsdl';
        $soapClientOptions = array(
    	    'trace' => 1,
        	'location'=>'https://192.168.333.3/LNetworkServer/LNetworkService.svc',
        	'exceptions' => 1,
        	'cache_wsdl'=>0,
        	'verifypeer' => false,
            'verifyhost' => false,
        	'stream_context' => $context,
        	'login'=>'root', 'password'=>'1234' ,
        	'classmap' => array('AcsEmployeeSaveData' => "AcsEmployeeSaveData")
        );
    
        $client = new SoapClient($wsdlUrl, $soapClientOptions);
    }
    catch(Exception $e) {
    	echo $e->getMessage();
    }

    Оба варианта выдают одинаковую ошибку, описанную выше

    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://sh333skd1-dev/LNetworkServer/LNetworkService.svc?wsdl=wsdl0' : failed to load external entity "https://sh333skd1-dev/LNetworkServer/LNetworkService.svc?wsdl=wsdl0"

    В чем проблема?

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    <wsdl:definitions xmlns:xsd=«http://www.w3.org/2001/XMLSchema» xmlns:wsdl=«http://schemas.xmlsoap.org/wsdl/» xmlns:tns=«http://soap.ws.javastudy.ru/» xmlns:soap=«http://schemas.xmlsoap.org/wsdl/soap/» xmlns:ns1=«http://schemas.xmlsoap.org/soap/http» name=«HelloSoap» targetNamespace=«http://soap.ws.javastudy.ru/»>

    <wsdl:types>

    <xs:schema xmlns:xs=«http://www.w3.org/2001/XMLSchema» xmlns:tns=«http://soap.ws.javastudy.ru/» attributeFormDefault=«unqualified» elementFormDefault=«unqualified» targetNamespace=«http://soap.ws.javastudy.ru/»>

    <xs:element name=«exceptionTest» type=«tns:exceptionTest»/>

    <xs:element name=«exceptionTestResponse» type=«tns:exceptionTestResponse»/>

    <xs:element name=«getGoods» type=«tns:getGoods»/>

    <xs:element name=«getGoodsResponse» type=«tns:getGoodsResponse»/>

    <xs:element name=«goods» type=«tns:goods»/>

    <xs:element name=«sayHelloTo» type=«tns:sayHelloTo»/>

    <xs:element name=«sayHelloToResponse» type=«tns:sayHelloToResponse»/>

    <xs:element name=«testService» type=«tns:testService»/>

    <xs:element name=«testServiceResponse» type=«tns:testServiceResponse»/>

    <xs:complexType name=«testService»>

    <xs:sequence/>

    </xs:complexType>

    <xs:complexType name=«testServiceResponse»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«return» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«getGoods»>

    <xs:sequence/>

    </xs:complexType>

    <xs:complexType name=«getGoodsResponse»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«return» type=«tns:goods»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«goods»>

    <xs:sequence>

    <xs:element name=«id» type=«xs:int»/>

    <xs:element minOccurs=«0» name=«name» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«sayHelloTo»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«text» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«sayHelloToResponse»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«return» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«exceptionTest»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«text» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:complexType name=«exceptionTestResponse»>

    <xs:sequence/>

    </xs:complexType>

    <xs:complexType name=«exceptionTrace»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«trace» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    <xs:element name=«MyWebserviceException» type=«tns:MyWebserviceException»/>

    <xs:complexType name=«MyWebserviceException»>

    <xs:sequence>

    <xs:element minOccurs=«0» name=«exceptionTrace» type=«tns:exceptionTrace»/>

    <xs:element minOccurs=«0» name=«message» type=«xs:string»/>

    </xs:sequence>

    </xs:complexType>

    </xs:schema>

    </wsdl:types>

    <wsdl:message name=«testService»>

    <wsdl:part element=«tns:testService» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«exceptionTestResponse»>

    <wsdl:part element=«tns:exceptionTestResponse» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«getGoods»>

    <wsdl:part element=«tns:getGoods» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«testServiceResponse»>

    <wsdl:part element=«tns:testServiceResponse» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«sayHelloTo»>

    <wsdl:part element=«tns:sayHelloTo» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«exceptionTest»>

    <wsdl:part element=«tns:exceptionTest» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«getGoodsResponse»>

    <wsdl:part element=«tns:getGoodsResponse» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«MyWebserviceException»>

    <wsdl:part element=«tns:MyWebserviceException» name=«MyWebserviceException»></wsdl:part>

    </wsdl:message>

    <wsdl:message name=«sayHelloToResponse»>

    <wsdl:part element=«tns:sayHelloToResponse» name=«parameters»></wsdl:part>

    </wsdl:message>

    <wsdl:portType name=«WebserviceSEI»>

    <wsdl:operation name=«testService»>

    <wsdl:input message=«tns:testService» name=«testService»></wsdl:input>

    <wsdl:output message=«tns:testServiceResponse» name=«testServiceResponse»></wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«getGoods»>

    <wsdl:input message=«tns:getGoods» name=«getGoods»></wsdl:input>

    <wsdl:output message=«tns:getGoodsResponse» name=«getGoodsResponse»></wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«sayHelloTo»>

    <wsdl:input message=«tns:sayHelloTo» name=«sayHelloTo»></wsdl:input>

    <wsdl:output message=«tns:sayHelloToResponse» name=«sayHelloToResponse»></wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«exceptionTest»>

    <wsdl:input message=«tns:exceptionTest» name=«exceptionTest»></wsdl:input>

    <wsdl:output message=«tns:exceptionTestResponse» name=«exceptionTestResponse»></wsdl:output>

    <wsdl:fault message=«tns:MyWebserviceException» name=«MyWebserviceException»></wsdl:fault>

    </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name=«HelloSoapSoapBinding» type=«tns:WebserviceSEI»>

    <soap:binding style=«document» transport=«http://schemas.xmlsoap.org/soap/http»/>

    <wsdl:operation name=«testService»>

    <soap:operation soapAction=«» style=«document»/>

    <wsdl:input name=«testService»>

    <soap:body use=«literal»/>

    </wsdl:input>

    <wsdl:output name=«testServiceResponse»>

    <soap:body use=«literal»/>

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«getGoods»>

    <soap:operation soapAction=«» style=«document»/>

    <wsdl:input name=«getGoods»>

    <soap:body use=«literal»/>

    </wsdl:input>

    <wsdl:output name=«getGoodsResponse»>

    <soap:body use=«literal»/>

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«sayHelloTo»>

    <soap:operation soapAction=«» style=«document»/>

    <wsdl:input name=«sayHelloTo»>

    <soap:body use=«literal»/>

    </wsdl:input>

    <wsdl:output name=«sayHelloToResponse»>

    <soap:body use=«literal»/>

    </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name=«exceptionTest»>

    <soap:operation soapAction=«» style=«document»/>

    <wsdl:input name=«exceptionTest»>

    <soap:body use=«literal»/>

    </wsdl:input>

    <wsdl:output name=«exceptionTestResponse»>

    <soap:body use=«literal»/>

    </wsdl:output>

    <wsdl:fault name=«MyWebserviceException»>

    <soap:fault name=«MyWebserviceException» use=«literal»/>

    </wsdl:fault>

    </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name=«HelloSoap»>

    <wsdl:port binding=«tns:HelloSoapSoapBinding» name=«HelloSoapPort»>

    <soap:address location=«http://localhost:8080/soap/webserviceSEI»/>

    </wsdl:port>

    </wsdl:service>

    </wsdl:definitions>

    alxkolm

    Untitled

    Nov 13th, 2015

    168

    0

    Never

    Not a member of Pastebin yet?
    Sign Up,
    it unlocks many cool features!

    1. <soapenv:Envelope xmlns:soapenv=«http://schemas.xmlsoap.org/soap/envelope/» xmlns:pgu=«http://sys.smev.ru/xsd/pguapi» xmlns:pgu1=«http://sys.smev.ru/xsd/pgu»>

    2. <soapenv:Header/>

    3. <soapenv:Body>

    4. <pgu:getPguapiEqPoTicketRequest>

    5. <pgu:CondOfpguapiEqPoTicket>

    6. <pgu:pguapiEqPoTicket>

    7. <pgu:socId>78500000243585</pgu:socId>

    8. </pgu:pguapiEqPoTicket>

    9. </pgu:CondOfpguapiEqPoTicket>

    10. </pgu:getPguapiEqPoTicketRequest>

    11. </soapenv:Body>

    12. </soapenv:Envelope>

    13. <!— Ответ —>

    14. <soapenv:Envelope xmlns:soapenv=«http://schemas.xmlsoap.org/soap/envelope/» xmlns:xsd=«http://www.w3.org/2001/XMLSchema» xmlns:xsi=«http://www.w3.org/2001/XMLSchema-instance»>

    15. <soapenv:Body>

    16. <soapenv:Fault>

    17. <faultcode>soapenv:Server.generalException</faultcode>

    18. <faultstring>Message not found.; nested exception is:

    19.     sx.datastore.exception.SXDsException: sx.datastore.soap.client.exceptions.SXSoapInvokeException: WSDoAllReceiver: cannot get SOAP header after security processing; nested exception is:

    20.     org.xml.sax.SAXParseException: Premature end of file.</faultstring>

    21. <detail>

    22. <ns1:hostname xmlns:ns1=«http://xml.apache.org/axis/»>smev-03</ns1:hostname>

    23. </detail>

    24. </soapenv:Fault>

    25. </soapenv:Body>

    26. </soapenv:Envelope>

    Проблемы

    Если вы посещаете на корпоративном портале такие страницы, связанные с проектом, такие как ввод времени, запись расходов, веб-часть Communicator, аналитик проекта и руководитель проекта, вы получаете сообщение об ошибке, которое напоминает один из указанных ниже вариантов.

    Сообщение об ошибке 1:

    Ошибка: вложение: превышено максимальное число повторных попыток соединения. HRESULT = 0x80004005: Неопределенная ошибка — клиент: произошла непредвиденная ошибка во время обработки этого запроса. HRESULT = 0x80004005: Неопределенная ошибка — клиент: Отправка сообщения SOAP завершилась сбоем или не удается распознать полученный ответ (HRESULT = 0x80004005) HRESULT = 0x80004005: Неуказанная ошибка FaultCode = клиент faultString = вложение: максимально допустимое число повторных попыток подключения истекло.

    Дополнительные сведения можно найти в разрешениях 6, 7, 8 и 9.

    Сообщение об ошибке 2:

    Соединитель: истекло время ожидания подключения. HRESULT = 0x800A1527-Client: в ходе обработки запроса возникла непредвиденная ошибка. HRESULT = 0x800A1527-клиент: не удалось отправить сообщение SOAP или не удается распознать полученный ответ HRESULT = 0x800A1527-клиент: Неуказанная ошибка клиента.

    Дополнительные сведения можно найти в разрешениях 6, 7, 8 и 9.

    Сообщение об ошибке 3:

    Соединитель: неверный сертификат. HRESULT = 0x800A1529-Client: в ходе обработки запроса возникла непредвиденная ошибка. HRESULT = 0x800A1529-клиент: не удалось отправить сообщение SOAP или не удается распознать полученный ответ HRESULT = 0x800A1529-клиент: Неуказанная ошибка клиента. HRESULT=0x800A1529

    Ознакомьтесь с разрешениями 6 и 9

    Сообщение об ошибке 4:

    Соединитель: Неуказанная ошибка HTTP. HRESULT = 0x800A1518-Client: в ходе обработки запроса возникла непредвиденная ошибка. HRESULT = 0x800A1518-клиент: не удалось отправить сообщение SOAP или не удается распознать полученный ответ HRESULT = 0x800A1518-клиент: Неуказанная ошибка клиента. HRESULT=0x800A1518

    Дополнительные сведения можно найти в разрешениях 6, 7, 8 и 9.

    Сообщение об ошибке 5:

    Сбой подключения.: в соединителе не включена совпадающая схема авторизации. HRESULT = 0x80004005: Неопределенная ошибка — клиент: произошла непредвиденная ошибка во время обработки этого запроса. HRESULT = 0x80004005: Неопределенная ошибка — клиент: Отправка сообщения SOAP завершилась сбоем или не удается распознать полученный ответ (HRESULT = 0x80004005) HRESULT = 0x80004005: Неопределенная ошибка

    Дополнительные сведения о разрешениях 7 и 9

    Сообщение об ошибке 6:

    Клиент: не удалось загрузить запрос в SoapReader. HRESULT = 0x80070057: неверный параметр. -Клиент: ошибка «неопределенный клиент». HRESULT = 0x80070057: неверный параметр. FaultCode = Client.

    Дополнительные сведения можно найти в разрешениях 6, 7, 8 и 9.

    Сообщение об ошибке 7:

    Приложению не удается открыть системную базу данных. [DBNETLIB] [ConnectionOpen (соединение ()).] SQL Server не существует или в доступе отказано.Чтобы устранить эту проблему, системный администратор должен запустить pcConfiguration на сервере бизнес-портала.

    Дополнительные сведения о разрешениях 5 и 9

    Сообщение об ошибке 8:

    Произошла ошибка. Ошибка: произошла ошибка при попытке открыть системную базу данных. (pcconnect)

    Дополнительные сведения о разрешениях 1, 2, 3, 4 и 9

    Сообщение об ошибке 9:

    Приложение не может считать сведения о подключении к Соломоновы. Чтобы устранить эту проблему, системный администратор должен запустить pcConfiguration на сервере бизнес-портала.

    Дополнительные сведения о разрешениях 1, 2, 3, 4 и 9

    Сообщение об ошибке 10:

    Не удается подключиться к системной базе данных. Запустите PCConfiguration. Недопустимые имя пользователя и пароль.

    Дополнительные сведения о разрешениях 4 и 9

    Сообщение об ошибке 11:

    Ошибка: Клиент SOAP: при обработке запроса SOAP произошла ошибка. Недопустимый путь к PCService. asmx, указанному в ProjectService. wsdlYour. чтобы устранить эту проблему, запустите системный администратор pcConfiguration-Update на сервере бизнес-портала.

    Ознакомьтесь с разрешениями 6 и 9

    Причина

    Для того чтобы страницы проекта были доступны, службы IIS должны иметь возможность подготовить и отправить запрос протокола SOAP в файл PCService. asmx.  Для работы необходимо настроить несколько вещей.  Если один или несколько из указанных ниже параметров заданы неправильно, это может привести к ошибкам, перечисленным в разделе «проблема».

    1. Данные для входа в базу данных Microsoft Dynamics SL отсутствуют или неправильно хранятся в реестре.

    2. Приложение Microsoft. Соломоновы. PMA. Security. ImpersonateDLL. dll отсутствует, не зарегистрировано или у пользователей нет разрешений на доступ к файлу.

    3. Учетная запись в пуле приложений не имеет разрешений на доступ к разделу реестра HKEY_LOCAL_MACHINE SOFTWAREMicrosoftBusiness PortalPMASolomon

    4. Файл CAPICOM. dll отсутствует, не зарегистрирован, имеет неверную версию или у пользователей нет разрешений на доступ к файлу.

    5. Сервер, на котором запущены службы IIS и SQL Server, должен поддерживать связь с помощью протокола TCP/IP.

    6. Путь к файлу PCService. ASX в файле ProjectService. WSDL указан неправильно

      1. Путь должен указывать на имя сервера IIS

      2. Путь должен содержать номер порта

      3. Путь должен быть URL-адресом, который не является SSL

      4. При использовании заголовков узлов IIS путь должен разрешаться на соответствующий веб-сайт.

    7. Сайт IIS не использует проверку подлинности Windows (NTLM)

    8. Переменная SessionState в файле Web. config задана неправильно

    Обычно сообщение об ошибке не содержит подробной информации о том, какие из предыдущих элементов могут быть неправильными.  Поэтому мы рекомендуем попробовать все возможные решения.

    Решение

    Разрешение 1- Запуск служебной программы PCConfiguration

    1. Откройте файл PCConfiguration. exe на сервере бизнес-портала и дважды щелкните его, чтобы выполнить.  Обычно это расположение находится в папке c:Inetpubwwwrootbin или в папке C:InetpubwwwrootwssVirtualDirectories80bin.

    2. Заполните следующие поля:

      1. Имя сервера SQL Server: введите имя сервера SQL Server, на котором размещаются базы данных Microsoft Dynamics SL.

      2. Системная БД — введите имя базы данных системы Microsoft Dynamics SL.

      3. Пользователь SQL: введите имя пользователя SQL, у которого есть доступ к системной базе данных.  «SA» или «BusinessPortalUser» — распространенные параметры.

      4. Password (пароль): введите пароль пользователя, введенного в поле пользователя SQL

    3. Нажмите кнопку проверить соединение.  Если появляется сообщение об ошибке, проверьте значения на этапе 2. Примечание. Эта кнопка может не выполнить действие из-за ошибки 55474.

    4. Нажмите кнопку обновить реестр.  Появится следующее сообщение: «данные успешно записаны в реестр».

    5. Закройте служебную программу и попробуйте еще раз.

    Разрешение 2 — проверка файла Microsoft. Соломоновы. PMA. Security. ImpersonateDLL. dll

    1. На сервере бизнес-портала запустите диспетчер информационных служб Интернета (IIS).

    2. Щелкните правой кнопкой мыши веб-сайт бизнес-портала и выберите пункт «Свойства»

    3. На вкладке домашний каталог запишите значение в поле «локальный путь».

    4. На вкладке «домашний каталог» Обратите внимание на значение в поле со списком «Группа приложений».

    5. Нажмите кнопку ОК, чтобы закрыть окно «Свойства».

    6. В диспетчере IIS разверните элемент «пулы приложений».  Щелкните правой кнопкой мыши группу приложений, найденную на шаге 4, и выберите пункт «Свойства».

    7. На вкладке «удостоверение» Обратите внимание на пользователя, указанного в качестве удостоверения пула приложений.

    8. Нажмите кнопку ОК, чтобы закрыть окно «Свойства».

    9. Закрытие диспетчера IIS

    10. В проводнике Windows перейдите к каталогу, найденному на шаге 3.

    11. Прокрутите папку bin вниз и найдите файл Microsoft. Соломоновы. PMA. Security. ImpersonateDLL. dll.

      1. Если этот файл отсутствует, может потребоваться переустановка бизнес-портала

    12. Щелкните файл правой кнопкой мыши и выберите пункт Свойства.

    13. На вкладке «безопасность» убедитесь в том, что у пользователя на шаге 7 есть права «чтение» и «чтение & выполнения»

    14. Нажмите кнопку ОК, чтобы закрыть окно «Свойства».

    15. Щелкните файл правой кнопкой мыши и выберите команду «Открыть с помощью…»

    16. Выберите «выбрать программу из списка»

    17. Нажмите кнопку «Обзор…»

    18. Перейдите в папку C:WindowsSystem32 и найдите файл regsvr32. exe и нажмите кнопку «Открыть».

    19. Нажмите кнопку ОК.  Появится следующее сообщение: «DllRegisterServer в C:InetpubwwwrootbinMicrosoft.Solomon.Pma.Security.ImpersonateDLL.dll успешно».

    20. Попробуйте еще раз загрузить страницы рабочего портала

    Разрешение 3 : Проверка раздела реестра

    1. На сервере бизнес-портала запустите диспетчер информационных служб Интернета (IIS).

    2. Щелкните правой кнопкой мыши веб-сайт бизнес-портала и выберите пункт Свойства.

    3. На вкладке «домашний каталог» Обратите внимание на значение в поле со списком «пул приложений».

    4. Нажмите кнопку ОК, чтобы закрыть диалоговое окно «Свойства» и выйти из диспетчера IIS

    5. Выберите Пуск-> выполнить и введите RegEdt32.  В этом случае следует открыть редактор реестра.

    6. Перейдите на HKEY_LOCAL_MACHINE SOFTWAREMicrosoftBusiness PortalPMASolomon

      1. Если этот раздел реестра отсутствует, ознакомьтесь с разделом разрешение 1, чтобы запустить служебную программу PCConfiguration

    7. Щелкните правой кнопкой мыши «Соломоновы» и выберите «разрешения»

    8. Убедитесь в том, что пользователь из этапа 3 имеет разрешения «чтение»

    9. Попробуйте еще раз загрузить страницы рабочего портала

    Более подробную информацию вы видите в статье базы знаний 912363 .

    Разрешение 4 : Проверка файла CAPICOM. dll

    1. Перейдите в папку C:WindowsSystem32 на сервере бизнес-портала.

    2. Щелкните правой кнопкой мыши элемент CAPICOM. Файл DLL и выберите пункт «Свойства»

      1. Если этот файл отсутствует, возможно, потребуется скопировать файл с другой рабочей станции или переустановить бизнес-портал.

    3. На вкладке Версия убедитесь в том, что в версии файла отображается 2.1.0.1

      1. Если версия файла неверна, возможно, потребуется скопировать файл с другой рабочей станции или переустановить бизнес-портал

    4. На вкладке Безопасность Убедитесь, что в группе доменные службы есть разрешение чтение и чтение & выполнение прав на этот файл.  Ознакомьтесь состатьей базы знаний 927618

    5. Нажмите кнопку ОК, чтобы закрыть диалоговое окно «Свойства».

    6. Щелкните файл правой кнопкой мыши и выберите команду «Открыть с помощью…»

    7. Выберите «выбрать программу из списка»

    8. Нажмите кнопку «Обзор…»

    9. Перейдите в папку C:WindowsSystem32 и найдите файл regsvr32. exe и нажмите кнопку Открыть.

    10. Нажмите кнопку ОК.  Появится следующее сообщение: «DllRegisterServer в C:WINDOWSsystem32capicom.dll успешно».

    11. Попробуйте еще раз загрузить страницы рабочего портала

    12. Если вы по-прежнему получаете сообщение об ошибке:

      1. Чтобы снова запустить служебную программу PCConfiguration, ознакомьтесь с разрешениями 1.

      2. Перезапустите IIS, нажав Пуск-> выполнить и введите «IISReset».

      3. Попробуйте еще раз загрузить страницы рабочего портала

    Более подробную информацию вы видите в статье базы знаний 909144 .

    Разрешение 5 – Проверка возможности связи сервера IIS и сервера SQL Server с помощью протокола TCP/IP

    1. Протокол TCP/IP должен быть включен как на сервере SQL Server, так и на сервере IIS, на котором размещаются сайты бизнес-портала.

    2. Сведения о том, как это проверить, можно найти в статье база знаний 954024

    Разрешение 6 : Проверьте путь к файлу PCService. ASX в файле ProjectService. WSDL

    1. На сервере бизнес-портала откройте файл ProjectService. WSDL.  Обычно это расположение находится в каталоге C:Program FilesMicrosoft DynamicsBusiness PortalApplicationsPMA.

    2. Открытие файла в блокноте

    3. Прокрутите файл вниз и найдите тег, который начинается со слова «<SOAP: Address Location =»

    4. В этом теге должен быть указан URL-адрес для файла PCService. asmx.  Он должен выглядеть примерно так: «HTTP://MachineName: 80/BUSINESSPORTAL/PMA/PCService. asmx» у этого URL-адреса есть несколько конкретных требований.  Проверьте и, при необходимости, исправьте указанные ниже элементы.

      1. URL-адрес должен указывать имя компьютера (например, BPSERVER).  IP-адреса (например, 192.168.0.10), localhost или Domain Name (например, BP.contoso.com) не будут работать для запросов SOAP.

        1. Чтобы найти имя компьютера, нажмите Пуск-> выполнить и введите CMD.

        2. Введите имя узла и нажмите клавишу ВВОД

        3. Должно быть возвращено имя компьютера.  Параметр MachineName в URL-адресе должен соответствовать этому значению.

      2. URL-адрес не должен использовать SSL.  URL-адрес должен начинаться с «http://», а не «https://»

        1. Если на вашем веб-сайте настроено использование SSL, ознакомьтесь со статьей база знаний 924723 , в которой вы узнаете, как настроить исключение, разрешающее подключение к файлу PCService. asmx без SSL.

      3. URL-адрес должен быть разрешаемым на сайте BusinessPortal в службах IIS.

        1. Это может быть вызвано тем, что при использовании заголовков узлов для различения нескольких веб-сайтов, запущенных на одном и том же сервере.

        2. Более подробную информацию вы видите в статье базы знаний 2005711 .

    5. Протестируйте URL-адрес, чтобы убедиться, что он является допустимым.  Для этого скопируйте URL-адрес и вставьте его в Internet Explorer на сервере бизнес-портала.  Он должен открыть страницу под названием «PCServices».  Если вместо этого вы получаете сообщение об ошибке SharePoint или появляется сообщение об ошибке «не удается отобразить страницу», проверьте элементы на шаге 4.

    6. Теперь, когда у файла ProjectService. WSDL есть допустимый URL-адрес, попробуйте еще раз попробовать на странице бизнес-портала

    Дополнительные сведения приведены в статье база знаний 892356 или статья базы знаний 897024 .

    Разрешение 7 : Проверка способа проверки подлинности в IIS

    1. На сервере бизнес-портала запустите диспетчер информационных служб Интернета (IIS).

    2. Щелкните правой кнопкой мыши веб-сайт бизнес-портала и выберите пункт Свойства.

    3. На вкладке Безопасность каталога в разделе «Управление доступом и проверка подлинности» выберите команду Изменить…

    4. Убедитесь, что установлен флажок Встроенная проверка подлинности Windows.

    5. Убедитесь, что флажок «разрешить анонимный доступ», «Краткая проверка подлинности для серверов домена Windows» и «Проверка подлинности .NET Passport» не установлены.

    6. Проверка подлинности Basic не требуется. Тем не менее, если флажок установлен, это не должно приводить к проблеме.

    7. Нажмите кнопку ОК, а затем еще раз нажмите кнопку ОК, чтобы закрыть диалоговое окно «Свойства».

    8. Закрытие диспетчера IIS

    9. Перезапустите IIS, нажав Пуск-> выполнить и введите «IISReset».

    10. Попробуйте еще раз на странице бизнес-портала

    Разрешение 8 : проверка переменной sessionState в файле Web. config

    1. На сервере бизнес-портала запустите диспетчер информационных служб Интернета (IIS).

    2. Щелкните правой кнопкой мыши веб-сайт бизнес-портала и выберите пункт Свойства.

    3. На вкладке «домашний каталог» Обратите внимание на значение в поле «локальный путь».

    4. Нажмите кнопку ОК, чтобы закрыть диалоговое окно «Свойства» и выйти из диспетчера IIS

    5. Перейдите к каталогу, найденному на шаге 3, и найдите файл Web. config.

    6. Создание резервной копии файла Web. config

    7. Откройте файл web.config в блокноте.

    8. Поиск тега, который начинается с «<sessionState»

    9. Изменение всего тега для чтения «<sessionState =» INPROC «/>»

    10. Сохранение файла и закрытие блокнота

    11. Перезапустите IIS, нажав Пуск-> выполнить и введите «IISReset».

    12. Попробуйте еще раз загрузить страницы рабочего портала

     Разрешение 9 : запустите сценарий PCConnectDebug и отправьте результаты в службу поддержки. 

    1. Скачать B2004933_pcConnectDebug. zip

    2. Распаковка файла на сервере бизнес-портала

    3. Скопируйте файл «pcConnectDebug. ASP» в каталог C:Program FilesMicrosoft DynamicsBusiness PortalApplicationsPMA.

    4. На сервере бизнес-портала откройте Internet Explorer и войдите в бизнес-портал.

    5. Щелкните веб-страницу центра проектов

    6. Вставьте следующий URL-адрес, чтобы открыть страницу PCConnectDebug: http://ServerName:Port/BusinessPortal/Applications/PMA/pcconnectdebug.ASP замените значение serverName именем сервера BP.  Замените «порт» на номер порта, на котором работает веб-сайт BP.

    7. Вам будет предложено «нажмите ОК», чтобы продолжить.  Нажмите кнопку ОК.

    8. Откроется веб-страница, которая начинается с «Запуск отладки…».   В Internet Explorer щелкните файл-> сохранить как… и сохраните страницу в файле.

      1. Внимание!в зависимости от того, насколько далеко может быть предоставлена Отладка, результаты могут содержать пароль в открытом тексте.  Вы можете изменить файл в блокноте и заменить Фактический пароль на слово «thePassword» перед отправкой файла для поддержки.

    9. Отправьте этот файл службе поддержки пользователей Майкрософт для дальнейшего анализа.

    10. После устранения проблемы удалите файл pcConnectDebug. ASP из каталога C:Program FilesMicrosoft DynamicsBusiness PortalApplicationsPMA.

    Понравилась статья? Поделить с друзьями:
  • Swtor redirection strategy error
  • Swtor error code c5
  • Swtor error c12
  • Swresample 3 dll ошибка
  • Sword with sauce ошибка