cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to RFC prerequisites

Former Member
0 Kudos

Hi All,

I am doing SOAP2RFC scenario.

I imported RFC and using its WSDL I created a XSD file for sender interface ..cause i need to invoke it from other web applications.

1)-->Is it fine to do so?

I am getting Http-500 Error in

HTTP Connection to XI::: XI_INTEGRATIONSERVER

and

HTTP Connection to R3:::INTEGRATION_DIRECTORY_HMI

2)-->How to resolve it? can I have clarity on service No for both systems how should I maintain in both sm59 HTTP connections.

3) do I need to check to accomplish this scenario.

RFC type 3 connection is working fine for both systems.

4)-->http://Host:port/XISOAPAdapter/MessageServlet?channel=:BS_service1:CC_SOAP_send

What should be the port number here.

Regards,

Ramesh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Do the complete scenario. Like importing RFC, creating OB message interface, MM, IMu2026. And configuration of the scenario. Once done, then generate the WSDL from ID and use that while invoking the webserviceu2026. While generating the WSDL, propose the URL and change the hostname to FQDN.

Take the proposed URL and open it up in the IE to check the connection to XI Server.

I suggest you to use SOAP UI to test the scenario.

Just have a look at this thread and the blog.

[]

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7729] [original link is broken] [original link is broken] [original link is broken];

Regards,

Venu V

Edited by: Venu V on Aug 18, 2009 1:49 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check these links for your 1st and 2nd point :

/people/sravya.talanki2/blog/2006/12/19/unable-to-read-integrationdirectoryhmiundocumented-bug-sxicache

/people/prasadbabu.nemalikanti3/blog/2006/02/13/configuration-of-a-central-integration-server

3rd point :

https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60b4036e-ebee-2b10-e29f-bace14047ea0&overrid...

FOr SOAP Scenario's

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79&overrid...

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a65...

/people/ravikumar.allampallam/blog

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c...

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

Former Member
0 Kudos

Hi ,

I find these errors in XI sys

While I am testing scenario through RWB..I am getting this error.

Error while sending message: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

Also I checked In configurations missing are

AI_RUNTIME_JCOSERVER

DETAIL: TP AI_RUNTIME_DPI not registered

RETURN CODE: 679

INTEGRATION_DIRECTORY_HMI

500--Internal Server Error

Regards,

Ramesh.

Edited by: Sreeramoju Ramesh on Aug 18, 2009 2:47 PM

former_member200962
Active Contributor
0 Kudos

Error while sending message: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized

I hope you have included the correct User-id and password in the SOAP receiver Channel.

For more information check this from the SAP Note for SOAP FAQ:

Q: I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?

https://service.sap.com/sap/support/notes/856597

INTEGRATION_DIRECTORY_HMI
500--Internal Server Error

This is not an error. Check Page 13 of this document:

https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34&overrid...

4)-->http://Host:port/XISOAPAdapter/MessageServlet?channel=:BS_service1:CC_SOAP_send
What should be the port number here.

Port number is the port number of your XI server.

I feel doubtful about your config done in 1,2,3

Regards,

Abhishek.

Former Member
0 Kudos

Hi all,

invalid content type for SOAP: TEXT/HTML; HTTP 403 Forbidden

Now My scenario tesing from RWB Test Message is giving above Error.

Regards,

Ramesh.

Former Member
0 Kudos

Hi Ramesh,

I hope you are testing from Integration engine test message when you are testing from RWB. If you test from adapter engine test message in RWB you will get this error. So can you please check.

Regards,

---Satish

former_member200962
Active Contributor
0 Kudos

As Satish said, testing should be done from:

RWB --> Component MOnitoring --> Integration Engine ---> Test Message.

Provide the user-id and password of the XI/ PI user who is authorized to perform then testing.

Regards,

Abhishek.

Former Member
0 Kudos

-->I am testing from Intefration engine Test messages Only.

-->I am using PISUPER for testing.

1)-->and

in R3 HTTP connections i have given same Program ID which i used in XI ,and also gateway host i have maintaned same values for both.Is it right approach.( otherwise it is asking to maintain in RFC JCO connections in Visual Admin.where i can maintain only one Program ID and gateway Host details.( Or can I maintain for Both)

2)-->what about using RFC WSDL as XSD ( MY 1st question ,Is it right or do I need to create manually. I need all the fields of RFC)

Regards,

Ramesh.

Former Member
0 Kudos

I am Sorry ,

I WAS testing it from Adapter Engine.

Test MSG in Integration Engine working fine.

-->So can I assume that using Receiver RFC's WSDL to create my sender XSD is right approach?

( I created XSD from my Imported RFC's WSDL ).

and to create web service I am using URL like this

http://saphost:50000/XISOAPAdapter/MessageServlet?channel=:BS_service1:CC_SOAP_send

--> Is it fine.

Regards,

Ramesh.

Former Member
0 Kudos

Can you cross check

/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi