cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping Replication PI 7.3 Issue

Former Member
0 Kudos

My issue is basically in configuring Java Proxy Rcvr channel for Value Mapping replication .

This is a SOAP rcvr adapter .

I am in the last leg of the execution of this entire chain of Value Mapping Replication.

Its working perfect until SOAP rcvr adapter. Reason - <Not sure about URL address / no path prefix option>

I created the entire piece based on the information in the links:

http://help.sap.com/saphelp_nw73/helpdata/en/4a/3626a9d5e92ab1e10000000a42189c/frameset.htm

and

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e07dd2ae-f783-2c10-9aa6-ca69f67dd...

1. Created an ABAP report to read data from excel file

2. Passing the data to the Outbound proxy :  ValueMappingReplicationOut

3. In turn, this proxy is calling  Java proxy : ValueMappingReplication    to update at runtime

For Java Inbound Proxy, I am configuring the SOAP receiver adapter  as

Transport Protocol : HTTP

Message Protocol  : XI 3.0

URL address             :     ???       

It does not ask to specify  Path prefix: /MessagingSystem/receive/JPR/XI    which is very important feature…

So I do not know where to specify the Path  prefix

OR, should I modify the entire URL address as   : http://<host>:<port>/MessagingSystem/receive/JPR/XI

Thanks in advance,

Shaily

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Did u check the reply give in ur previous post?

>>OR, should I modify the entire URL address as   : http://<host>:<port>/MessagingSystem/receive/JPR/XI

Yes, use above URL

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Amit,

Thanks, I am using the above URL only and getting the error in the Communication channel monitoring:

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

and the data being passed via the SOAP channel is :

___________________________________________

<?xml version="1.0" encoding="utf-8" ?>

- <nm:ValueMappingReplication xmlns:nm="http://sap.com/xi/XI/System" xmlns:prx="urn:sap.com:proxy:<ECC_SystemID>:/1SAI/TAS10B961554084D2E4B611:702">

- <Item>

  <Operation>insert</Operation>

  <GroupID>1234567edrfcv</GroupID>

  <Context>http://sap.com/xi/XI</Context>

  <Identifier scheme="ABCD1" agency="XYZ1">X</Identifier>

  </Item>

- <Item>

  <Operation>insert</Operation>

  <GroupID>1234567edrfcv</GroupID>

  <Context>http://sap.com/xi/XI</Context>

  <Identifier scheme="ABCD2" agency="XYZ2">Y</Identifier>

  </Item>

  </nm:ValueMappingReplication>

Where else, can I correct?

Thanks,

Shaily

Former Member
0 Kudos

Hi,

Error Clearly states 401 unauthorized...user you configured in the channel doesn't have the authorizatio n to process java proxy messages...

Provide the role SAP_XI_APPL_SERV_USER to the user configured in the channel

HTH

Rajesh

Former Member
0 Kudos

Hello,

U are missing some roles on ur user id,  try to use this: SAP_XI_APPL_SERV_USER

Thanks

Amit Srivastava

Former Member
0 Kudos
28.01.2014 14:36:23.677ErrorSOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
28.01.2014 14:36:23.677InformationSOAP: sent a delivery error ack

Getting the above error still...:-(    (after addition of the role to the user id in channel )

Thanks,

Shaily

Former Member
0 Kudos

Hello,

Hmm....

I am having lots of access on my system so couldn't able to cross check which role has done the trick for me, but u should try using below user

From SAP Help:

Advanced Adapter Engine Extended

In the Advanced Adapter Engine Extended, create a communication channel and specify the following parameters:

Parameter

Value

Adapter Type

SOAP

http://sap.com/xi/XI/System

Receiver radio button

Transport Protocol

HTTP 1.0

Message Protocol

XI 3.0

Adapter Engine

Adapter Engine

Target Host

<Hostname>

Service Number

<Port>

Path Prefix

/MessagingSystem/receive/JPR/XI

Authentication Type

Use logon data for non-SAP system

User Name

XIAPPLUSER

User Password

<Password for XIAPPLUSER>

Former Member
0 Kudos

Hi Amit,

Sorry for coming back late.

It was a bit strange, Basis had created a user and added role 'SAP_XI_APPL_SERV_USER' and related profile as well, But that was not working until I added the user 'PIAPPLUSER' .

Now there is no authorization error but different error:

____________________________________________________

Putting message into receive queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 52ec3fdd-a97a-7456-e100-00000a03186a  (INBOUND) already exists in duplicate check table: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00185337) violated OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION].

_____________________________________________________________


Though the message IDs are being uniquely generated which I verified.


This error is thrown even when I am changing the data and passing through.

This issue was detected in version 7.0 or < 7.0.

Not sure , why this error is observed in 7.3 as well..


Meanwhile, will full cache refresh be of any help?


Putting in the same thread as issue title is same still.


Thanks

Shaily

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Hareesh/Inaki,


sap note - 1742705 looks nearest to this issue.

Will check this and reply to the forum.



Thanks,

Shaily

Former Member
0 Kudos

Hi Shaily,

We are getting similar error for Value Mapping Replication scenario in SAP PI 7.31.

Could you please let us know how did you resolve the below issue.

Error Details:

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

       - <!--

    Call Adapter

        -->

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

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

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

         <SAP 1 />

         <SAP 2 />

         <SAP 3 />

         <SAP 4 />

         <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 005056bb-5e7a-1ee6-a1c9-469708248936(INBOUND) already exists in duplicate check table: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UNKNOWN.obj#=59671) violated OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]</SAP:AdditionalText>

           <SAP tack />

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

      </SAP:Error>

Awaiting reply!

Thanks

Soundarya

Former Member
0 Kudos

Probable reasons can be :-

1) SAP_XI_CONFIGURATOR_J2EE role is not given to the user used in receiver proxy adapter.

2) You are having some firewall at the receiver end

Thanks.

Former Member
0 Kudos

Hi,

Now there is no authorization error but different error:

____________________________________________________

Putting message into receive queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 52ec3fdd-a97a-7456-e100-00000a03186a  (INBOUND) already exists in duplicate check table: com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00185337) violated OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION].

_____________________________________________________________


Though the message IDs are being uniquely generated which I verified.


This error is thrown even when I am changing the data and passing through.

This issue was detected in version 7.0 or < 7.0.

Not sure , why this error is observed in 7.3 as well..


Meanwhile, will full cache refresh be of any help?


Putting in the same thread as issue title is same still.


Thanks

Shaily

former_member184720
Active Contributor
0 Kudos

Hi Shaily - Have a look  at my reply in the below thread and see if the notes mentioned are applicable to you.

http://scn.sap.com/thread/3481498

iaki_vila
Active Contributor
0 Kudos

Hi Shaily,

Check if this note could be helpful: 1742705 - JCA Sample Adapter Fails with INTEGRITY_CONSTRAINT_VIOLATION

Regards.