cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP error

Former Member
0 Kudos

I get the following error in my File to webservice scenario.It was working fine before.Is it because of the large file in the sender side?

Thanks

*Points will be awarded*

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>401</SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40&nbsp;</b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;Access Denied.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>&nbsp;&nbsp;Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>&nbsp;&nbsp;No details available</pre></font></td> </tr> </body> </html></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Error when sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Accepted Solutions (0)

Answers (3)

Answers (3)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

go to RWB in component monitoring>adapter engine>commnunicatio channel monitoring--> what error appear??? does it give more detail about issue???

thanks

Rodrigo

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

HI

verify the user and pass you are using to connect to ws, if you test it from an application like altova (XMLSpy), does it work or return the same error??

if the file in smaller the scenario work?

Thanks

Rodrigo

Former Member
0 Kudos

Hi !

It seems to be authorization related. If you try with small files, the scenario works ok ??

Regards,

Matias.

Former Member
0 Kudos

Yes the scenario worked fine with smaller file the other day.I am not sure if it is problem with larger file.

Thanks

Former Member
0 Kudos

As colleagues told you it's not a problem with the size but with the authorization on the target system. Please check if the user is still valid and if the password is correct.

Actually please call the same service with the same user but using other tool than xi.

Best regards,

Wojciech

Former Member
0 Kudos

While testing with large file most of my msg were successfull but some of them have the error I posted

Former Member
0 Kudos

other errors I have

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>403</SAP:P1>

<SAP:P2>Forbidden</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 403 with the description Forbidden Error when sending by HTTP (error code: 403, error text: Forbidden)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

-


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>

<SAP:P1>402</SAP:P1>

<SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><html><head><title> <SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error when receiving by HTTP (error code: 402, error text: ICM_HTTP_TIMEOUT)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Former Member
0 Kudos

Hi,

Where can you see that error in RWB or SXMB_MONI?

If in SXMB_MONI how many servers do you have on XI?

/wg

Former Member
0 Kudos

Hi,

This is a time-out something completely different

/wg

Former Member
0 Kudos

The errors are from SXMB_MONI.I am doing this in sandbox.We have a dev,quality and production servers also.This is a 6MB file processed and it took like 20 hr to process all the records in sandbox.I was testing with 70kb before and it worked fine.

Thanks

justin_santhanam
Active Contributor
0 Kudos

Hi,

20 Hour to run one single inteface per transaction , my god it's too much. There is HTTP Time out parameter, if it exceeds the time you will get Timeout parameter.

raj.

Former Member
0 Kudos

Hi,

If it's in moni it's not related to SOAP adapter engine but to your integration engine and connection between it and adapter engine. It needs real tuning ([https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad]).

Please read that blog about timeouts it will help you:

[/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts|/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts]

best regards,

Wojciech

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

im agree with last post, you must follow the document. your server need some tunning parametes.

are you sure its been processing for 20 hs?? is too much time for a document of 6MB.

lets tunning server, if the problem persist talk to people of receiver system, the problem could be there when receive file too large and probably system freeze. i think this could be the problem, not PI.

let us know what happend,

Thanks

Rodrigo

Former Member
0 Kudos

Thanks for all the replies guys,the interface ran for 10-15hr stopping inbetween.I guess the sandbox was really slow and could not handle the load.Now even if I run very small files it gets stuck up in the queues,dont known why.I have no entries in queue.I have to manually push the msg from queues.

Former Member
0 Kudos

Please check if queues are register. Either SMQR or SXMB_ADM and than manage queues.

/wg

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Good , Problem Resolved,

Is the Issue related to Queue

Regards

Agasthuri Doss