cancel
Showing results for 
Search instead for 
Did you mean: 

ORDERS05 IDoc to cXML SOAP - SOAP failing (Ariba call)

Former Member
0 Kudos
361

I am performing the following scenario:

I am sending an ORDERS05 IDoc from R/3 4.6 to XI. XI then maps the IDoc into cXML. I am then attempting to send the cXML via the SOAP adapter to Ariba via HTTP.

Everything works except the adapter fails when trying to send to Ariba. Here is the audit log:

2005-07-06 17:05:39 Success The message was successfully received by the messaging system. Profile: XI URL: http://myserver:50000/MessagingSystem/receive/AFW/XI

2005-07-06 17:05:39 Success Using connection AFW. Trying to put the message into the receive queue.

2005-07-06 17:05:39 Success Message successfully put into the queue.

2005-07-06 17:05:39 Success The message was successfully retrieved from the receive queue.

2005-07-06 17:05:39 Success The message status set to DLNG.

2005-07-06 17:05:39 Success Delivering to channel: cXML2Ariba

2005-07-06 17:05:40 Success SOAP: request message entering the adapter

2005-07-06 17:06:01 Error SOAP: error occured: java.io.IOException: failed to get the input stream from socket: java.lang.NullPointerException

2005-07-06 17:06:01 Error Exception caught by adapter framework: failed to get the input stream from socket: java.lang.NullPointerException

2005-07-06 17:06:01 Error Delivery of the message to the application using connection AFW failed, due to: failed to get the input stream from socket: java.lang.NullPointerException.

2005-07-06 17:06:01 Success The asynchronous message was successfully scheduled to be delivered at Wed Jul 06 17:11:01 UTC 2005.

2005-07-06 17:06:01 Success The message status set to WAIT.

Does anyone know what the error message means?

Could it possibly be that I am taking an Async IDoc, and posting a synchronous SOAP to Ariba?

Thanks!

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi All , We are doing the same thing. Can you please let us know soap adpater configuration. Which Message protocol we need to use.

Here when we are putting URL and sending iDOC through XI it is giving error message in Audit log:

2007-03-01 08:57:51 Success SOAP: request message entering the adapter

2007-03-01 08:58:12 Error SOAP: error occured: java.io.IOException: unable to create a socket

2007-03-01 08:58:12 Error Exception caught by adapter framework: unable to create a socket

2007-03-01 08:58:12 Error Delivery of the message to the application using connection AFW failed, due to: unable to create a socket.

Please help me and let me know what we need to do resolve this, Please share your SOAP adpater communication channel configuration..Thanks

Ram Singhal

Former Member
0 Kudos

I have the similar requirement, purchase orders sent from R/3 to XI and then XI has to map the IDOC into CXML and has to be sent to ASN(Ariba Shopping Network).

If you have any information please do send me. Thanks,

KP

Former Member
0 Kudos

Problem appears to be that our XI server does not have Internet connectivity. Thanks.

Former Member
0 Kudos

Mary -

Hi I was wondering how you were able to determine that your XI server did not have internet connectivity and what you were able to do? We have a similar scenario only we are trying to use SSL for the connection with certificate AND getting the following error :

2005-09-08 15:46:31 Success The message was successfully received by the messaging system. Profile: XI URL: http://XIServer024:50700/MessagingSystem/receive/AFW/XI

2005-09-08 15:46:31 Success Using connection AFW. Trying to put the message into the receive queue.

2005-09-08 15:46:31 Success Message successfully put into the queue.

2005-09-08 15:46:31 Success The message was successfully retrieved from the receive queue.

2005-09-08 15:46:32 Success The message status set to DLNG.

2005-09-08 15:46:32 Success Delivering to channel: PCARD_Activate_File_Receiver

2005-09-08 15:46:32 Success SOAP: request message entering the adapter

2005-09-08 15:46:32 Error SOAP: error occured: java.lang.NullPointerException

2005-09-08 15:46:32 Error Exception caught by adapter framework: null

2005-09-08 15:46:32 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.

Former Member
0 Kudos

Hi Andrew,

I had similar sort of interface working fine, I am making SOAP call to SAP BC instead of Ariba. The best way to check if you have got connectivity properly is to create RFC destination,/sm59, using the external HTTP connection. You can do Test connection here in that way you will not if you are getting any information from the Web service.

Good luck.

Cheers,

Ranjan

Former Member
0 Kudos

Yes I have done this connection test and it works fine - however this is using soap adapter and is an SSL connection so - I belive it is on the java side of the fence ( visual administrator ) and not the abap ( sm59 ).

Former Member
0 Kudos

Hi,

Do you have CXML XSD's you could email me? Perhaps you could download them for the IR? I would greatly appreciate it. We will be doing PO's, Invoicing, confirmations etc...

Thanks,

Chris

curtis1120@hotmail.com

Former Member
0 Kudos

As added troubleshooting, I don't currently have SSL installed on my XI server, so I wonder if that could be the source of the problem as I am trying to post to Ariba's https address...