Can you try to use a JBI namespace URL instead of the http URL?
When I switch it to a JBI endpoint with:
Type: service (also tried endpoint)
MEP: in-only (also tried in-out)
Operation: (left blank)
The diagram deployed to my ESB, but when I tried to run a message through it, I get the following error:
ERROR - DeadLetterChannel - Failed delivery for exchangeID: ......
in: Unable to display: java.io.IOException: No input stream or reader available
] for service: CreditCheckService and interface: null
Can you try by adding the below jars to project build path and then deploy the project into FUSE ESB Server.
commons-io-1.4.jar from fuse-esb-18.104.22.168 installation
commons-httpclient-3.1.jar from fuse-services-framework installation
commons-codec-1.3.jar from fuse-services-framework installation
The above jars are required when you use http endpoint in the route.
Hope this helps.
Well, I'm closer. Using the http: endpoint, I still get the same error.
But, if I use the jbi component, with the service specified as:
http:org.test/CreditCheckService (using the name propagated from the web service as seen in the log)
instead of http://localhost:8092/CreditCheckService
Then I can access the service. But this accessing a jbi service on the local machine, not a remote web service, so this isn't quite what I want.
Edited by: bobyetman on Aug 19, 2009 3:17 PM
Okay, problem solved. You were right, I needed to add classes to my classpath, but I also needed the camel-http.jar class in my classpath. Once I added that, the eip diagram is now working.
Thanks for the help.