cancel
Showing results for 
Search instead for 
Did you mean: 

soap fault: Server was unable to process the request.

Former Member
0 Kudos

Hi Frnds,

I am doing SAP to SOAP scenario, and is getting the following error in the response.-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>soap fault: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.IOException: The process cannot access the file 'D:\Logs\Interface\ErrorLog.log' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.FileInfo.AppendText() at SAPPTSInterface.BLL.ErrorLog.WriteLog(String strFnName, String strErrorType, String strExceptionDescription) at SAPPTSInterface.Inbound.MasterDataService1.SynchPrefDispExcepReason(PreferDispExcepReason[] preferDispExcepReason, Int32 Count, String synchType) --- End of inner exception stack trace ---</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Can you please explain me what could be the error.

Thank,

Adhir.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The error occurred in the target SOAP application during the processing of the SOAP method which you invoked by your SOAP reciver comm channel...........so ask your target application to check their source code to see why this error is occurring by taking your SOAP response msg as input in their SOAP method........i think the error is because the SOAP application is trying to write the log in 'D:\Logs\Interface\ErrorLog.log' file but it is used by another msg processing also either by this application or some other application due to concurrent processing of these msgs in the receiver SOAP IIS server.

Regards,

Rajeev Gupta

Answers (2)

Answers (2)

former_member206760
Active Contributor
0 Kudos

see that you have specified the SOAP action and URL correctly in the receiver SOAP adapter

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

Former Member
0 Kudos

Hi!

--> Are you working on PI 7.1 version or XI 3.0 version if it is PI 7.1 means first check whether your

Webservice is configured directly in the Service Registry or not ? If yes also check whether your target

SOAP application is down or up. Also activate the SOAP service in the Tcode SICF>Services>SAP--

>BC-->SOAP.

--> Also check whether SOAP Action given in the Receiver SOAP Adapter and also the target URL are corerct or not ?

[RFC -> XI -> Web Service - A Complete Walkthrough (Part 1)|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3387] [original link is broken] [original link is broken] [original link is broken] [original link is broken];

[RFC -> XI -> Web Service - A Complete Walkthrough (Part 2)|/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2]

[SAP NetWeaver Process Integration - Demo Example Configuration|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3387] [original link is broken] [original link is broken] [original link is broken] [original link is broken];

[http://help.sap.com/saphelp_nw70/helpdata/EN/69/a6fb3fea9df028e10000000a1550b0/frameset.htm]

[Web Service u2013> PI u2013> Web Serviceu201D Scenario u2014 A Complete Walkthrough|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20013414-b7a9-2b10-8fa1-fc7e5ec02659]

Also check your SOAP receiver business system or CC is by default Deactive i.e., down or up.I mean whether scheduled or not ?If yes open the service and also stop the SOAP CC once and again start and keep the mode as autmatic control

Regards::

Amar Srinivas Eli

Former Member
0 Kudos

Looks like some lock has been taken by anothe application/process on the log file as a result XI IE is not able to acces that

by the way did you specify that or the process itself trying to write into that file

Rajesh