cancel
Showing results for 
Search instead for 
Did you mean: 

Sharepoint Integration

Former Member
0 Kudos

Hi ,

I am trying to create following interface : ERP --> PI --> SharePoint .

When i try to communicate using Soap UI , I could create an entry in SharePoint .

But when I excute proxy in ERP I am getting following error..

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

- <!--

 Inbound Message 
-->

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

<SAP:Category>XIAdapterFramework</SAP:Category>

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

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset</SAP:AdditionalText>

<SAP:Stack />

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

</SAP:Error>

any ideas what might be the problem ?

Regards, sandeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The problem was I was giving domain in SOAP UI and I am not aware how can we give domain in Communication channel.

Now am getting the following error:

SAP:Category>XIAdapterFramework</SAP:Category>

 

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

 

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized</SAP:AdditionalText>

 

any ideas how can we mention domain in CC. I tried domain/uname but it dint work

Regards,

Sandeep

former_member190624
Active Contributor
0 Kudos

Sandeep,

just give a try like  domain\uname

Regards

Hari.

Former Member
0 Kudos

Hello Hari ,

That dint work either.

I would like to add one more note here.


As of now I am getting the Authorization error as I explained earlier.

But if add a module parameter in Communcition channel

XMBWS.NoSOAPIgnoreStatusCode = true.

then I will get a new error. i.e.

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

<SAP:P1>Object ID C97158BDED9631E1B7B76F22A859264A Software Component AFD6E2F0EB2011DE9325DE370A00A0B1</SAP:P1>

 

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Mapping program is not available in runtime cache: Object ID C97158BDED9631E1B7B76F22A859264A Software Component

Regards,

Sandeep

former_member190624
Active Contributor
0 Kudos

Hi Sandeep,

Did you check CPACache status ?

and check above mapping program is available in cache.

Also check CPACache status , if status is red(Error) perform a full cache refresh and test again.

http://host:port/CPACache is url to check cache status and run time data .

Regards

Hari.

Former Member
0 Kudos

Suprisingly , this issue was resolved when i change the authorization settings on sharepoint.

I have used Basic authentication on sharepoint along with NTLM authentication. Then It worked..

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Sandeep,

We have the same requirement, Can you please help me with the steps/any documents we can refer to?

Any help will be appreciated.

Regards,

Neha S

nitindeshpande
Active Contributor
0 Kudos

Hello Neha,

Have you gone through the below links?

Regards,

Nitin

former_member190624
Active Contributor
0 Kudos

Hi ,

Along with Inaki points also check your PI system/network  firewall is blocking the request reaching sharepoint website.

Regards

Hari.

iaki_vila
Active Contributor
0 Kudos

Hi Sandeep,

The connection has been closed in the endpoint because you are sending something that is not expected. You should check:

1. The XML message is the same in PI and SOAPui.

2. You are using the same user and the same way to authenticate.

3. Are you using SOAP envelope, in the two cases?

Regards,

abhradeepbasu
Participant
0 Kudos

Hi Sandeep,

Check your firewall connectivity issue first. Please check with your basis team or network expert to check if any port is disabledor outside the firewall.

/AB

former_member190624
Active Contributor
0 Kudos

Hi Sandeep,

What is error message on Receiver Communicxation channel ?

Regards

Hari.

Former Member
0 Kudos

Hi , Here is the Error in Communication channel

11.07.2013 14:42:05ErrorSOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset
11.07.2013 14:42:05ErrorMP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset
11.07.2013 14:42:05ErrorAdapter Framework caught exception: java.net.SocketException: Connection reset
11.07.2013 14:42:05ErrorDelivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset. Setting message to status failed.
11.07.2013 14:42:05ErrorThe message status was set to FAIL.