Edit:
issue was due to HTTP proxy. You need to be able to have direct HTTP connection from the computer that running Bonita Engine in order to successfully run the Web Service connector. I don’t have yet an accurate status about Web Service connector compatibility with HTTP proxy.
Edit 2:
Web Service connector is associated with the first step of the process. When you start the process, process initialization run asynchronously and you immediately get a confirmation message about process case creation. Process execution will moved to first step, run the connector and then make the step available to end user. Case start confirmation page will be updated when task is available to end user (confirmation page does some polling on Bonita Engine in order to know if a task is available for current user). If connector (on so first task) failed you get the confirmation of case start but no link to first step.
Thanks. As administrator, can you see if there is a pending task Display weather? Are there any failed tasks? Are there any errors in the log (Studio - go to menu Help - choose Engine log)? In case of an error, you can post it here.
What might be an issue is the usage of a HTTP proxy that prevent the connection to the WebService. The current web service connector might (I’m not really sure about it) not be compatible with usage of HTTP proxy.
I would recommend to do a test in a network that doesn’t require usage of HTTP proxy.
If you confirm that issue is related to HTTP proxy, you might want to develop your own web service connector based on the existing one.
You should search for information about how to use JAX-WS and HTTP proxy.
I have a proxy as you suspected. Thanks for helping me discover it.
Q: You mentioned me “write my own connector”, BUT is there any chance I can forgo that
and instead your this screen somehow?? Thanks for helping
Proxy might be configured at different level with different options. From top to bottom:
Bonita Studio / Eclipse
Direct (no proxy)
Manual (manual host and port configuration)
Native (inherit from Java and/or OS)
Java in Windows Control Panel (General → Network Settings)
Web browser settings (inherit from OS)
Use proxy server (manual host and port configuration)
Configuration script
Direct connection (no proxy)
OS (in Internet Explorer settings on Windows)
Direct connection (no proxy)
Auto-detect
Configuration script
Manual configuration (manual host and port configuration)
In your case, I assume proxy is enable at OS level. Can you please confirm? (you can refer to Microsoft documentation)
So I would recommend to set the Java and Bonita Studio to inherit from OS settings. Meaning set Java configuration to “Web browser settings” and Bonita Studio to “Native”.
What we want here is to make sure that Web Service connector use the HTTP proxy. The fact that HTTP connection timeout lead me to believe that Web Service connector try to do direct connection to Web Service server. Such direct connection is probably not allowed in your company.
If the first option I suggest here doesn’t work, you might want to try to duplicate the configuration done at OS level in Java and in Bonita Studio settings.
I put in NATIVE then APPLY, but it won’t stick. EG, if I hit BACK, then Proxy again, it shows “Direct”…
Is there a screenshot somewhere of what that screen looked like with factory defaults?
(I have messed with Proxy screen too much).
I installed 6.4.0 Community Edition on a different (win XP) box (not at work, but rather from my home). There is no proxy, just DSL internet connection.
I ran the *.bos which you had emailed me on Nov 5.
It gave the same results, namely it went to a page saying “started a new case” instead of showing me the weather. I emailed you a picture.
I installed Bonitasoft community edition on a Win 8 machine at my home.
I imported the *.bos sent to me on Nov 5.
It gave the same results namely, instead of showing the weather, it said “new case started”.
Q: What do I have to do to demo this to my fortune 100 boss?
Is there a different service I could try instead of the weather one?
Is there a payment option I can pay to get this fixed?
Also,
You had said that it worked fine on your computer. Can you elaborate or post a video on youtube perhaps?
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.