cancel
Showing results for 
Search instead for 
Did you mean: 

JCo to BC

elko_hasse
Participant
0 Kudos

Hi,

I want to connect to Business Connector (BC) via JCo.

The problem is that the BC uses a Port. How do I tell JCo to use a port, wenn I create a new Connection. If I enter the IP-Address added with the port number (eg xxx.xxx.xxx.xxx:xxxx) I get the error that the hostname is not known.

Any suggestion

elko

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos

Hello Elko,

I think that you can't use JCo to connect to BC. You can use JCo to connect to SAP ABAP systems to call an RFC. BC can also do that but it can be accessed from external via HTTP and speaks XML.

Regards

Gregor

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Elko...If you want to connect a Java web sysem with BC you don't need to use JCo BC have flows (Http flows)that can be executed via URL and you could execute BC commands directly.

I hope i could help you

elko_hasse
Participant
0 Kudos

Hi all,

I now understand, that I do not need JCo to connect to BC. I just open a HTTP connection and send the XML structure representing the RFC-Interface using mehtod "POST".

What else do I have to consider on the java side ?

Content-Type ?

Encoding ?

... ?

Elko