WebServiceWeather says "The case 1 has been started" instead of showing me the weather.

I am trying the weather web service tutorial.

When I enter City=MIAMI, Country=USA, it doesn’t show the weather.
Instead it shows


WebServiceWeather User1 Logout Bonita BPM Portal
RED LINE
The case 1 has been started.
No task available fot this case.

Thanks for helping!

Hi,

I just create the process (using Bonita Studio Community 6.3.7) following the official documentation guidelines and it just run fine (test with country: France, city: Grenoble).
You can get my version of the process from Dropbox.

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.

Would you be so kind to put a url to the tutorial that you use, so we can have a look at what went wrong? Thanks

url

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.

I need to learn more about actors. No clue how to login as admin.
I did:
Logout
Login
Administrator bpm
admin bpm

both login attempts failed…

thanks for helping!

log

I logged in as INSTALL as described here :

I created a new User2 as admin.
I logged out and back in as User2
It says
Access denied: you do not have the rights to view this page.

Also, I log in as User2 and under Apps Management, I don’t see any tasks anywhere in Opened, Archived, WebServiceWeather.

Thanks Antoine.
Can you perhaps email attachment it to gpscruise@gmail.com
(I cant get to dropbox)

Thanks for the email.
I imported your *.bos.
It still doesn’t show the weather, instead it shows this:
no weather, only task...

Can you:

  • Clean up the Bonita Engine log file
  • Run again the process once
  • And finally share the log file content?

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.

Log file doesn’t include enough details to find root cause of the issue.
That due to a known issue in the log level use for log production.

What I recommend is to change the log level for org.bonitasoft to FINE and run the test again.

removing unwanted pictures

I changed the log level and sent the logs to you.

No word since 5 days now?
Can I pay someone on freelancer to help me fix this?
What are newbie options?

thanks!

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

< ![alt][alt] !-- Images →
[alt]: http://www.wikispeedia.org/bonitasoft/proxy.png

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.

You are correct, we set the proxy by going into IE.
Q: How do I set what you suggested?
Thanks for helping!
images
http://www.wikispeedia.org/bonitasoft/1218a.png

http://www.wikispeedia.org/bonitasoft/1218b.png

http://www.wikispeedia.org/bonitasoft/1218c.png

In this configuration screen: http://www.wikispeedia.org/bonitasoft/1218a.png, in the drop down list, try to select “Native” instead of “Direct”.

For Java, open Windows Control Panel, double click on Java icon and go to General → Network Settings and finally select “Web browser 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?

Thanks for helping!
Jim