cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP call to an none SAP system

Former Member
0 Kudos

Hi all.

Have a problem with a HTTP/SOAP.

Making a HTTP call towards a none SAP system.

With the following URL: https://dep.company.net/hub/public/SAPCreateResponse.jsp?pMessage=

I'm posting a XML structure to the URL.

Should I use the Plain HTTP adapter or the SOAP adapter. Have in mind that it's not a web service.

I've configured the SOAP adapter with the following konfig.

SOAP Receiver

Transport Protocol: HTTP

Message Protocol: SOAP1.1

Adapter Engine: Integration Server

Connection Parameters

Target URL: https://dep.company.net/hub/public/SAPCreateResponse.jsp?pMessage=

Conversion Parameters

Do Not Use SOAP Envelope: Checked

Use Query String: Empty Query String

BR

Kalle

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

Why don't you simply try with HTTP adapter? It will send plain xml.

Regards,

Prateek

Former Member
0 Kudos

We have tried to configur that adapter with no luck.

how would the config look?

BR

Kalle

Former Member
0 Kudos

Has no one ever done this?

BR

Kalle

former_member187339
Active Contributor
0 Kudos

Hi Kalle,

Few things,

I have tried opening the url which you mentioned in my broser, it didnt open. Please check whether it is reachable from the PI system.

Secondly what is your sender adapter? Make sure the QoS for this interface is either EO or EOIO and not BE

Regards

Suraj

Former Member
0 Kudos

The url is not exactly as the one above. It's inside a coporate network, so even if I send you the correct URL you would not be able to reach it.

As sender service from the SAP system we are using proxy asynchronous.

I can't configure the receiver SOAP adapter with QoS.

Can i use the Plain HTTP adapter and send to an https url?

And how would the config look with the given data above?

BR

Kalle

Former Member
0 Kudos

On the adapter I get the following error when we send an message:

18.02.2010 15:38:36 Success Message successfully received by messaging system. Profile: XI URL: http://r3vxa.got.volvo.net:57000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER

18.02.2010 15:38:36 Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

18.02.2010 15:38:36 Success Message successfully put into the queue.

18.02.2010 15:38:36 Success The message was successfully retrieved from the receive queue.

18.02.2010 15:38:36 Success The message status set to DLNG.

18.02.2010 15:38:36 Success Delivering to channel: SOAP_Receiver_VTECH_CreateSAP_WBS_Response

18.02.2010 15:38:36 Success MP: entering

18.02.2010 15:38:36 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

18.02.2010 15:38:36 Success SOAP: request message entering the adapter with user J2EE_GUEST

18.02.2010 15:38:37 Success SOAP: completed the processing

18.02.2010 15:38:37 Success SOAP: continuing to response message 4c80eaf1-1c9b-11df-a130-001125bfde72

18.02.2010 15:38:37 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Reqa

The target system tells me we are sending empty messages.

Why do I not get the XML message to the target system.

The Message Contet according to the adapter i RWB contains a SOAP document and my XML Payload.

stefan_grube
Active Contributor
0 Kudos

> 18.02.2010 15:38:37 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Reqa

HTTP 400 means the URL is unknown.

check etc/hosts, try IP address, ask admin for firewall settings.

Former Member
0 Kudos

If I post the URL in explorer I get

HTTP 400 - Bad Request

Internet Explorer

Is it still the firewall?

The useras at the target system can se that we are trying to post something but it lokks as a empty message.

They also told us that we are trying to do a POST with GET data.

BR

Kalle

Former Member
0 Kudos

Tried the IP and got the following error with the Plain HTTP Adapter

HTTP client. Code 407 reason ICM_HTTP_SSL_ERROR

former_member187339
Active Contributor
0 Kudos

Hi Kalle,

Do you want https connectivity with the url? then try to use a rfc destination (rather than url addressing ) in http receiver adapter. Check this forum thread:

Also try to open the url from mozilla browser and see what you are getting?

Regards

Suraj

stefan_grube
Active Contributor
0 Kudos

Now I see, it is a secure connection.

You have to apply certificates for the connection on both sides.

Check PI security guide for details.

Former Member
0 Kudos

Will check with the target system if there is an certificate.

Thanks.

//Kalle