Inbound web service failed-[SWSE] Failed to obtain a session ID. Session context not found

2024-02-18 13:32

本文主要是介绍Inbound web service failed-[SWSE] Failed to obtain a session ID. Session context not found,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

历史记录
Oracle 技术支持 - 2012年4月23日 下午07时15分53秒 [Notes]
Hello Shine,

Thank you for your quick update with confirmation, and I am glad to hear that the suggestion could help.

With the issue resolved, I have concluded my work on the service request.

Regards,
Unhag Yeo
Oracle Customer Support

Oracle 技术支持 - 2012年4月23日 下午07时14分09秒 [ODM Solution/Action Plan]
The issue is resolved by replacing

existing URL 
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&Username=SADMIN&Password=SADMIN

with
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN

Oracle 技术支持 - 2012年4月23日 下午07时12分40秒 [ODM Proposed Solution Justif]
Since the URL does not contain SWE command parameter, failed to proceed next step.

ProcessPluginRequest ProcessPluginRequestDebug 5 000000034f940304:0 2012-04-23 14:17:15 -136746304: [SWSE] POST query string: SWEExtSource=WebService&Username=SADMIN&Password=SADMIN
ProcessPluginState ProcessPluginStateDebug 5 000000034f940304:0 2012-04-23 14:17:15 -136746304: [SWSE] Switching to HTTP_REQ state.
ProcessPluginRequest ProcessPluginRequestError 1 000000034f940304:0 2012-04-23 14:17:15 -136746304: [SWSE] Failed to obtain a session ID. Session context not found for EAI request

Oracle 技术支持 - 2012年4月20日 下午05时17分30秒 [Notes]
Siebel returns the error "Session context not found for EAI request" within SOAP response. On reviewing the SWSE log, it could see that SWSE set the error in the response.

ProcessPluginRequest    ProcessPluginRequestError       1       000000024f912813:0      2012-04-20 15:22:38     -136127808: [SWSE] Failed to obtain a sessi
on ID. Session context not found for EAI request
ProcessPluginRequest    ProcessPluginRequestError       1       000000024f912813:0      2012-04-20 15:22:38     -136127808: [SWSE] Set Error Response (Sess
ion:  Error: 10944641 Message: Session context not found for EAI request)

This occurs due to the escape character "&amp" in the service port address (web service URL), which makes SWSE to interpret incorrectly.

Oracle 技术支持 - 2012年4月20日 下午05时20分09秒 [Notes]
Amending the web service URL (service port address) will address the issue.

Oracle 技术支持 - 2012年4月20日 下午05时21分41秒 [Notes]
According to the document 497020.1, "&amp" in the service port address will make the SWE command incorrect.

Oracle 技术支持 - 2012年4月20日 下午05时33分48秒 [Notes]
Hello Shine,

Thank you for your update.

On reviewing the response message sent to the client 'Soap UI' and the SWSE log, it could see that SWE thrown below error and did not pass the request to the EAI component, and this is the reason why you could not get EAI component log.

"[SWSE] Failed to obtain a session ID. Session context not found for EAI request"

The error occurred because the web service port address contains "&" as it causes SWE command incorrectly.

To address the issue, I would suggest you to replace "&" (without quote) with "&" in the web service URL set in the WSDL document, and re-import this to the web service client (Soap UI).
Also make sure the address set in the application is amended if needed.
Note, once you modify the address, you must clear cache and regenerate WSDL document.

For example,

 <service name="XINTEST">
   <port binding="tns:AccountContact" name="AccountContact">
     <soap:address location="http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&Username=SADMIN&Password=SADMIN"/>
   </port>
 </service>

Please let me know if this helps.

Regards,
Unhag Yeo
Oracle Customer Support

Oracle 技术支持 - 2012年4月23日 下午07时05分07秒 [ODM Proposed Solution(s)]
Adding the missing parameter in the URL will solve the issue.

Oracle 技术支持 - 2012年4月23日 下午05时50分10秒 [ODM Cause Justification]
The URL does not contain the parameter SWEExtCmd=Execute, 

current..
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&Username=SADMIN&Password=SADMIN

expected..
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN

Oracle 技术支持 - 2012年4月20日 下午05时05分11秒 [ODM Issue Verification]
Verified issue from the uploaded log file log.txt, which shows the reported error: -
--------------
ProcessPluginRequest ProcessPluginRequestError 1 000000034f8e0c72:0 2012-04-18 16:23:56 -136897856: [SWSE] Failed to obtain a session ID. Session context not found for EAI request
ProcessPluginRequest ProcessPluginRequestError 1 000000034f8e0c72:0 2012-04-18 16:23:56 -136897856: [SWSE] Set Error Response (Session: Error: 10944641 Message: Session context not found for EAI request)

Also the web service response (sent to the client) show the same error "Session context not found for EAI request"

XHUL@NOVONORDISK.COM - 2012年4月23日 下午06时29分49秒 [Update from Customer]
hi Unhag ,
thank you very much,we tried using the second URL ,and then successful! 
the parameter "Execute" is the root reason of this issue.

BR 
Shine

Oracle 技术支持 - 2012年4月23日 下午05时52分18秒 [Notes]
Hello Shine,

Thank you for your update.

I just reviewed the URL and found it does not contain SWE command parameter "Execute".  My apology, I overlooked it, I did not expect this at all.

Please add the parameter &SWEExtCmd=Execute to the URL.

current:
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&Username=SADMIN&Password=SADMIN

expected:
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN 

Please amend the URL in Siebel application, clear cache and regenerate WSDL document.

Please let me know the result. 
If you still encounter the issue, I would like to have audio conference with you. Please let me know your direct telephone number.

Regards,
Unhag Yeo
Oracle Customer Support

XHUL@NOVONORDISK.COM - 2012年4月23日 下午04时36分49秒 [Update from Customer]
Upload to gtcr successful for the file access_log.

XHUL@NOVONORDISK.COM - 2012年4月23日 下午04时35分55秒 [Update from Customer]
hi Unhag,
I have comfirm all the steps that you list,but issue still occurs,and I upload the access_log

Oracle 技术支持 - 2012年4月23日 下午02时52分28秒 [ODM Action Plan]
Hello Shine,

Thank you for your update.

Unfortunately, I was not able to find any useful information in the new log file.

Could you confirm followings:

1. Modify manually the address (URL) in the WSDL document and re-import it into the client (Soap UI), test the web service.
2. Remove the web service from Siebel, recreate the same one and test again.
3. Do you see the same error with other web services hosted by the same Siebel server?
4. Is EAI component up and running? Is it working when the issue occurs?
5. Provide me Soap UI HTTP log, error log generated by the Soap UI (not Siebel response).

Regards,
Unhag Yeo
Oracle Customer Support

XHUL@NOVONORDISK.COM - 2012年4月23日 下午02时31分49秒 [Update from Customer]
hi Unhag , 
I have got the detail swse log as you suggestion and upload it ,pls check ,ths!

BR,
Shine

XHUL@NOVONORDISK.COM - 2012年4月23日 下午02时30分32秒 [Update from Customer]
Upload to gtcr successful for the file ss120423_772.log.

Oracle 技术支持 - 2012年4月20日 下午06时34分31秒 [Notes]
Hello Shine,

Thank you for your update.

Could you modify the address (URL) in the WSDL document manually and re-import it into the client (Soap UI)?
Do you see the same issue if you remove the existing web service definition and recreate one?

If the issue persists then please collect detailed logs, and at this time please provide me detailed SWSE log too.

Please refer to below document to get detailed SWSE log:
-----------
How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? (Doc ID 477185.1)

Also, please provide me Soap UI HTTP log, error log. The one you attached to the .doc was not the one I asked.
And if possible, please enable network tracing, I recommend Wireshark to capture the inbound packets.

Note, please provide complete log file but extract.

Regards,
Unhag Yeo
Oracle Customer Support

XHUL@NOVONORDISK.COM - 2012年4月20日 下午06时02分12秒 [Update from Customer]
hi Unhag,
thank you for your quickly reply, but I checked our URL,current is http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&Username=SADMIN&Password=SADMIN
it didn't include "&amp;" ,so I didn't know how to fix it 

Br 
Shine

Oracle 技术支持 - 2012年4月20日 下午05时07分42秒 [ODM Cause Determination]
The issue occurs because the WSDL document is incorrectly configured (service port address)

Oracle 技术支持 - 2012年4月20日 下午05时01分48秒 [ODM Issue Clarification]
we call following web service of EAI ,but failed.
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&amp;Username=CGZN&amp;Password=Password1

XHUL@NOVONORDISK.COM - 2012年4月20日 下午03时51分04秒 [Update from Customer]
hi Unhag ,
I have provided all the info in the reply.doc as your demand,pls check it ,ths
Br 
Shine

XHUL@NOVONORDISK.COM - 2012年4月20日 下午03时38分55秒 [Update from Customer]
Upload to gtcr successful for the file reply.doc.

Oracle 技术支持 - 2012年4月20日 下午01时07分30秒 [ODM Action Plan]
Hello Shine,

Thank you for using Oracle Support. 

Due to unfortunate lack of bandwidth, I was not able to respond yesterday.

To troubleshoot a web service issue, I need following information:-

1. Confirm how exactly the web service fails when what error Siebel returns when you attempt to consume the web service.

2. Is this a new integration or existing one?
   When does the issue start to occur and what was the last change on it before the error?

3. Detailed Siebel component log, tracing (.dmp) files generated when the issue occurs.

   a) Please test the web service with the third-party client "Soap UI".

   b) To get detailed log, call the server manger command line and notice the parameters: 
   >srvrmgr /g <siebel_server_hostname> /e <SiebelEnterpriseName> /s <SiebelServer_name> -u sadmin -p sadmin 

   c) Once logged in, turn up log for the specific Object Manager you use:
   >change evtloglvl %=5 for comp EAIObjMgr_enu
   >change param enableserviceargtracing=true for comp EAIObjMgr_enu

   d) Get the log, if any, generated under siebsrvr/log (windows) siebsrvr/enterprises/<enterprise_name>/log (unix) and attach to this SR for review.
       Search under siebsrvr directory for *.dmp files (as below) and also attach them for review.
InboundDispatcher_input_args_<pid>.dmp
InboundDispatcher_output_args_<pid>.dmp

   e) capture Soap UI error log, http log and attach them for review.

3. Screen shot of the web service definition (services and operations) in the Administrator web service screen (in application).

Regards,
Unhag Yeo
Oracle Customer Support

CGZN@NOVONORDISK.COM - 2012年4月20日 上午10时10分15秒 [Update from Customer]
Hi,
Please update this SR as soon as possible.
And we have upload the log file and the wsdl file.

Thanks very much.
BR,
Shine

XHUL@NOVONORDISK.COM - 2012年4月19日 下午03时29分13秒 [Update from Customer]
Upload to gtcr successful for the file SIT_WSDL_1.wsdl.

XHUL@NOVONORDISK.COM - 2012年4月19日 下午02时34分45秒 [Update from Customer]
Upload to gtcr successful for the file log.txt.

XHUL@NOVONORDISK.COM - 2012年4月19日 下午02时33分45秒 [Customer Problem Description]

1) ### Siebel EAI Community ####

2) ### Impact on Business ###

3) ### Milestone date ###

XHUL@NOVONORDISK.COM - 2012年4月19日 下午02时33分44秒 [Customer Problem Description]
问题说明: we call following web service of EAI ,but failed,
http://10.51.129.200:7780/eai_enu/start.swe?SWEExtSource=WebService&amp;Username=CGZN&amp;Password=Password

这篇关于Inbound web service failed-[SWSE] Failed to obtain a session ID. Session context not found的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/721308

相关文章

Springboot3+将ID转为JSON字符串的详细配置方案

《Springboot3+将ID转为JSON字符串的详细配置方案》:本文主要介绍纯后端实现Long/BigIntegerID转为JSON字符串的详细配置方案,s基于SpringBoot3+和Spr... 目录1. 添加依赖2. 全局 Jackson 配置3. 精准控制(可选)4. OpenAPI (Spri

MybatisPlus service接口功能介绍

《MybatisPlusservice接口功能介绍》:本文主要介绍MybatisPlusservice接口功能介绍,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友... 目录Service接口基本用法进阶用法总结:Lambda方法Service接口基本用法MyBATisP

python web 开发之Flask中间件与请求处理钩子的最佳实践

《pythonweb开发之Flask中间件与请求处理钩子的最佳实践》Flask作为轻量级Web框架,提供了灵活的请求处理机制,中间件和请求钩子允许开发者在请求处理的不同阶段插入自定义逻辑,实现诸如... 目录Flask中间件与请求处理钩子完全指南1. 引言2. 请求处理生命周期概述3. 请求钩子详解3.1

MySQL查看表的最后一个ID的常见方法

《MySQL查看表的最后一个ID的常见方法》在使用MySQL数据库时,我们经常会遇到需要查看表中最后一个id值的场景,无论是为了调试、数据分析还是其他用途,了解如何快速获取最后一个id都是非常实用的技... 目录背景介绍方法一:使用MAX()函数示例代码解释适用场景方法二:按id降序排序并取第一条示例代码解

SpringBoot项目Web拦截器使用的多种方式

《SpringBoot项目Web拦截器使用的多种方式》在SpringBoot应用中,Web拦截器(Interceptor)是一种用于在请求处理的不同阶段执行自定义逻辑的机制,下面给大家介绍Sprin... 目录一、实现 HandlerInterceptor 接口1、创建HandlerInterceptor实

Web技术与Nginx网站环境部署教程

《Web技术与Nginx网站环境部署教程》:本文主要介绍Web技术与Nginx网站环境部署教程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、Web基础1.域名系统DNS2.Hosts文件3.DNS4.域名注册二.网页与html1.网页概述2.HTML概述3.

SpringBoot项目中Redis存储Session对象序列化处理

《SpringBoot项目中Redis存储Session对象序列化处理》在SpringBoot项目中使用Redis存储Session时,对象的序列化和反序列化是关键步骤,下面我们就来讲讲如何在Spri... 目录一、为什么需要序列化处理二、Spring Boot 集成 Redis 存储 Session2.1

Python使用Reflex构建现代Web应用的完全指南

《Python使用Reflex构建现代Web应用的完全指南》这篇文章为大家深入介绍了Reflex框架的设计理念,技术特性,项目结构,核心API,实际开发流程以及与其他框架的对比和部署建议,感兴趣的小伙... 目录什么是 ReFlex?为什么选择 Reflex?安装与环境配置构建你的第一个应用核心概念解析组件

Nginx使用Keepalived部署web集群(高可用高性能负载均衡)实战案例

《Nginx使用Keepalived部署web集群(高可用高性能负载均衡)实战案例》本文介绍Nginx+Keepalived实现Web集群高可用负载均衡的部署与测试,涵盖架构设计、环境配置、健康检查、... 目录前言一、架构设计二、环境准备三、案例部署配置 前端 Keepalived配置 前端 Nginx

使用雪花算法产生id导致前端精度缺失问题解决方案

《使用雪花算法产生id导致前端精度缺失问题解决方案》雪花算法由Twitter提出,设计目的是生成唯一的、递增的ID,下面:本文主要介绍使用雪花算法产生id导致前端精度缺失问题的解决方案,文中通过代... 目录一、问题根源二、解决方案1. 全局配置Jackson序列化规则2. 实体类必须使用Long封装类3.