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

相关文章

Python Web框架Flask、Streamlit、FastAPI示例详解

《PythonWeb框架Flask、Streamlit、FastAPI示例详解》本文对比分析了Flask、Streamlit和FastAPI三大PythonWeb框架:Flask轻量灵活适合传统应用... 目录概述Flask详解Flask简介安装和基础配置核心概念路由和视图模板系统数据库集成实际示例Stre

python生成随机唯一id的几种实现方法

《python生成随机唯一id的几种实现方法》在Python中生成随机唯一ID有多种方法,根据不同的需求场景可以选择最适合的方案,文中通过示例代码介绍的非常详细,需要的朋友们下面随着小编来一起学习学习... 目录方法 1:使用 UUID 模块(推荐)方法 2:使用 Secrets 模块(安全敏感场景)方法

mybatis执行insert返回id实现详解

《mybatis执行insert返回id实现详解》MyBatis插入操作默认返回受影响行数,需通过useGeneratedKeys+keyProperty或selectKey获取主键ID,确保主键为自... 目录 两种方式获取自增 ID:1. ​​useGeneratedKeys+keyProperty(推

如何使用Maven创建web目录结构

《如何使用Maven创建web目录结构》:本文主要介绍如何使用Maven创建web目录结构的问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录创建web工程第一步第二步第三步第四步第五步第六步第七步总结创建web工程第一步js通过Maven骨架创pytho

Java Web实现类似Excel表格锁定功能实战教程

《JavaWeb实现类似Excel表格锁定功能实战教程》本文将详细介绍通过创建特定div元素并利用CSS布局和JavaScript事件监听来实现类似Excel的锁定行和列效果的方法,感兴趣的朋友跟随... 目录1. 模拟Excel表格锁定功能2. 创建3个div元素实现表格锁定2.1 div元素布局设计2.

如何使用Haporxy搭建Web群集

《如何使用Haporxy搭建Web群集》Haproxy是目前比较流行的一种群集调度工具,同类群集调度工具有很多如LVS和Nginx,本案例介绍使用Haproxy及Nginx搭建一套Web群集,感兴趣的... 目录一、案例分析1.案例概述2.案例前置知识点2.1 HTTP请求2.2 负载均衡常用调度算法 2.

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降序排序并取第一条示例代码解