cancel
Showing results for 
Search instead for 
Did you mean: 

PI SOAP wsdl error

06-19-2012 1:07 PM
manigram Active Participant
1681 views 18 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Experts,

        I executed wsdl file in SOAP UI, it throws an error

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Header></SOAP:Header>

   <SOAP:Body>

      <SOAP:Fault>

         <faultcode>SOAP:Client</faultcode>

         <faultstring>User not authorized for message processing</faultstring>

         <faultactor>http://sap.com/xi/XI/Message/30</faultactor>

         <detail>

            <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30">

               <SAP:Category>XIProtocol</SAP:Category>

               <SAP:Code area="MESSAGE">NOT_AUTHORIZED_FOR_PROC</SAP:Code>

               <SAP:P1>A60166</SAP:P1>

               <SAP:P2/>

               <SAP:P3/>

               <SAP:P4/>

               <SAP:AdditionalText/>

               <SAP:Stack>User A60166 has no authorization to process messages</SAP:Stack>

            </SAP:Error>

         </detail>

      </SOAP:Fault>

   </SOAP:Body>

</SOAP:Envelope>

Kindly anyone suggest this error.

Regards,

Mani

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

Try assigning all the roles equivalent to SAP_ALL profile and your problem will be resolved. I had also faced exactly same problem and it was resolved by giving SAP_ALL roles

Thanks,

     Suji

manigram
Active Participant
0 Likes

HI All Experts,

            Now i assigned all roles to my id, now throws below mentioned error,i cant understand this error.

<html><head><title>Logon Error Message</title><META http-equiv="Content-Type" content="text/html;charset=UTF-8"><style type="text/css">body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize { color:#333333;background-color:#C8E3FF;padding:5px;}.note { color:#CC6600; }a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited { color:#001166; }a:hover { text-decoration:none; }</style></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><h1>Anmeldung fehlgeschlagen</h1><br><h2>Was ist passiert ?</h2><p>Der Aufruf der URL http://pixi:50000/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.</p></td></tr><tr><td> </td></tr><tr><td class="emphasize"><strong>Hinweis</strong><br><ul><li> Die Anmeldung wurde im System PIX ausgeführt. </li><li> Die Anmeldung wurde für den Mandanten 001 und den Benutzer a60166 und die Sprache  durchgeführt. </li></ul></td></tr><tr><td> </td></tr><tr><td><p>  </p><h2>Was können Sie tun ?</h2><ul><li> Überprüfen Sie die Angabe über den Mandanten, Benutzer und das Passwort auf Tippfehler. </li> <li> Falls Sie noch über keine Benutzerkennung verfügen, so wenden Sie sich an Ihren Systemadministrator. </li></ul></br><p class="note">Fehlercode: ICF-LE-http-c:001-l:-T:1-C:6-U:5-P:5-L:6</p></br><p> HTTP 401 - Unauthorized</br><p> Ihr SAP Internet Communication Framework Team</p></td></tr></table></body></html>

Regards,

Manigandan

manigram
Active Participant
0 Likes

HI All,

         I Directly past that URL in browser , it throws this error message. Acctually it loged with 001 client, but my id is 100 client.

Logon failed


What has happened?

Call of URL http://pixi:50000/sap/xi/engine terminated due to error in logon data.

Note
  • Logon performed in system PIX.
  • Logon performed for client 001, user a60166, and language EN.

What can I do?

  • Check that you have entered the client, user, and password correctly.
  • If you do not yet have a user ID, contact your system administrator.

Error Code: ICF-LE-http-c:001-l:E-T:231-C:6-U:5-P:5-L:7


HTTP 401 - Unauthorized

Your SAP Internet Communication Framework Team

Thanks And Regards

Manigandan

Former Member
0 Likes

Hi,

You need to write the entire URL:

http://<XISERVERHOSTNAME>:<80XX>/sap/xi/adapter_plain?namespace=<SenderNameSpace>&interface=<SenderInterfaceName>&service=<SenderBusinessSystem>&party=&agency=&scheme=&QOS=BE&sap-user=<USERNAME>&sap-password=<PASSWORD>&sap-client=<CLIENTNUMBER>&sap-language=EN

You need to change the parameters <> with your data.

Also, check  that your user is not blocked with su01 transaction and in Integration directoru check  that there aren't any user in Assigned Users  on sender agreement or/and bussines component.



Regards.

manigram
Active Participant
0 Likes

Hi ALL,

        If i run my URL directly through browser means it asking the 001 client, But my user id in 100 client

Regards

Manigandan

Former Member
0 Likes

Hi,

Chk this note: 940309

Thanks

Amit Srivastava

manigram
Active Participant
0 Likes

Hi All

     Now i resolved this issues with your Help, Now data is flowed to PI system, But there is error message  Monitoring .

Source Error

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

- <!--

 Call Adapter 

-->

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

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

<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>

<SAP:P1>Object ID 9F97FCDAE685365BBEDAB4DD2000887E Software Component C606DFC0888611E1A959E446C0A86497</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Mapping program is not available in runtime cache: Object ID 9F97FCDAE685365BBEDAB4DD2000887E Software Component C606DFC0888611E1A959E446C0A86497</SAP:Stack>

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

</SAP:Error>

   TargetError

  

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

- <!--

 Request Message Mapping 
-->

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

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

<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>

<SAP:P1>Object ID 9F97FCDAE685365BBEDAB4DD2000887E Software Component C606DFC0888611E1A959E446C0A86497</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Mapping program is not available in runtime cache: Object ID 9F97FCDAE685365BBEDAB4DD2000887E Software Component C606DFC0888611E1A959E446C0A86497</SAP:Stack>

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

</SAP:Error>

Can you suggest this Please

But in my target directory output file is generated


Regards,

Manigandan

Former Member
0 Likes

Hi Manigandan,

This could be a cache problem or incorrect XML.

First you should refresh CPA cache . Also, you should check the XML in sxmb_moni, to take the xml and test it in ESR in Message Mapping or Opertation Mapping.

In other hand, this problem is different, if i was you i will open another thread.

Regards.

manigram
Active Participant
0 Likes

Dear All,

     Yes now the problem is resolved,  thanks lot for All.

In Repository i mapped RFC as an Receiver, in Directory i configured File as an receiver( for testing) that is the problem

Regards

Manigandan

Answers (5)

Answers (5)

Former Member
0 Likes

, I've found this old thread while searching for an error like the one that generated the thread.

For business requirements, they've told me to publish an interface as a Web Service directly at XI (with Tools.. Define WS...). They want to access an RFC as if it were a WS, but not publishing it at R3. I've imported the RFC, define a message, and assigned an RFC receiver CC and a SOAP sender CC. The SOAPUI (just to test connectivity) raises this error, but I'm using the PISUPER user. Also tried to give SOAPUI the URL which has the user and password as long as MAND but that WSDL doesn't load any structure, just the WSDL file that generates the wizard does.

Do you have any hint? Am I forgetting something?

Cheers! saludos! y gracias por anticipado!

Edu

Former Member
0 Likes

Hi Manigandanm

As the previous experts says, there is a role problem:

Check that the A60166 user has the same roles that the PIAPPLUSER

You can see here the relevant roles (SAP PI 7.1):

http://help.sap.com/saphelp_nwpi71/helpdata/DE/44/e47e886a742951e10000000a11466f/content.htm

Regards.

manigram
Active Participant
0 Likes

Hi

          I have assigned these roles in my ID

SAP_BC_WEBSERVICE_PI_CFG_SRV

SAP_XI_APPL_SERV_USER

SAP_XI_ADMINISTRATOR_J2EE

SAP_SLD_ADMINISTRATOR

SAP_J2EE_ADMIN

SAP_BC_WEBSERVICE_PI_CFG_SRV

SAP_BC_WEBSERVICE_ADMIN

Please suggest me what i want to do next

Regards,

Manigandan

Former Member
0 Likes

Hi,

Why dont u add SAP_ALL access on ur id (not a best practice) and then test ur scenario?

But having said that ur soap user should have worked if it is having "SAP_XI_APPL_SERV_USER" role.

Thanks

Amit Srivastava

Former Member
0 Likes

<faultstring>User not authorized for message processing</faultstring>

as per error msg , user no authorization for processing the message so have to add

particular Roles to above user on pi

Former Member
0 Likes

Use PIAPPLUSER instead of your user id or request your basis team to add SAP ALL roles to your user id.

manigram
Active Participant
0 Likes

HI Expert,

        If i test with PIAPPLUSER user mean it throws another error,

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Body>

      <SOAP:Fault>

         <faultcode>SOAP:Server</faultcode>

         <faultstring>System Error</faultstring>

         <detail>

            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

               <context/>

               <code>INTERNAL.SLD_NO_OWN_BS</code>

               <text>Error while reading ID of own business system from the SLD for system PIX and client 001</text>

            </s:SystemError>

         </detail>

      </SOAP:Fault>

   </SOAP:Body>

</SOAP:Envelope>

Regards,

Manigandan

MichalKrawczyk
Active Contributor
0 Likes

Hi,

as per message - user A60166 - cannot send messages - add respective role to this user on PI (for example service user role) and it will work

Regards,

Michal Krawczyk

manigram
Active Participant
0 Likes

Hi Michal

        I Assigned "SAP_XI_APPL_SERV_USER" role also even it wont rectifying.

Regards

Manigandan