Http connector issue

Hi ,

I am using http-connector in process, Ideally I wanted to make generic,

can I use localhost:8880 if it resides in same server .Ideally I tried it it is not working. it stops at the Start message and doesnt proceed.

Please suggest

Thanks,
Sri

hi @sridhar_akella,

could you attach your process file please?

Cheers,
Askar

Attaching the screen shot, I trying to conenct the https connector , can you provide an example if posiible

Regards,
Sridhar Akella

Hi @sridhar_akella,

please check out this repository for examples

I assume you will have to provide valid certificates to establish HTTPS connection. Or add it to your jvm truststore.

Cheers,
Askar

Can you provide an example of end to end on it

@sridhar_akella,

could you explain a bit more what kind of example would you like to see? In https://github.com/camunda/camunda-bpm-examples/tree/master/servicetask/rest-service there is a full client implementation including unit test and spring configuration. You can run it using IDE of your choice.

Cheers,
Askar.

Hi,

Do we have an example for HTTPS-Connector for SSL Certificate.

Regards.
Sri

we do not have such example right now.

but if you will replace in the example above following code
<camunda:inputParameter name="url"> http://feiertage.jarmedia.de/api/?jahr=2014&amp;nur_land=BE </camunda:inputParameter>
to any https link, it will be an example which is using HTTPS.

Hope that helps.
Cheers,
Askar.

Hi Askar,

Other Question, I wanted to use https connector with localhost to hit a system local to server.

In the Https connector , I used https://localhost:9084/services/ but the it is not working…I am forced to use https://servername:9084/services.

How can I use generic http connector for the all the servers to work… So that I need not change the process for every deployment

Please let me

Hi @sridhar_akella,

I do not understand what is not working exactly, could you give me a bit more details? It sounds to me like your localhost loopback is not resolved properly. Could you give me output of ping localhost and ping servername?

Cheers,
Askar

I am using the following for the http connector url which resides in same server

I am using https://servername:portnumber/service it is working…

when I tried to use https://localhost:portnumber/service it is not working.

Please let me if I can use localhost, So that I need not change my connector url frequently

Thanks,
Sri

Hi @sridhar_akella

Could you give me output of ping localhost and ping servername?