-
1. Re: Web Service access ?
lvisnick Aug 12, 2009 12:04 PM (in response to bobyetman)Can you try to use a JBI namespace URL instead of the http URL?
-
2. Re: Web Service access ?
bobyetman Aug 12, 2009 12:39 PM (in response to bobyetman)When I switch it to a JBI endpoint with:
Type: service (also tried endpoint)
URI: http://localhost:8092/CreditCheckService
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: ......
id: .....
status: Active
role: provider
services: CreditCheckService
in: Unable to display: java.io.IOException: No input stream or reader available
] for service: CreditCheckService and interface: null
.......
-
3. Re: Web Service access ?
spindipr Aug 14, 2009 1:09 AM (in response to bobyetman)Hi,
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-3.4.0.3 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.
Thanks,
Sailaja.
-
4. Re: Web Service access ?
bobyetman Aug 19, 2009 11:18 AM (in response to spindipr)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
-
5. Re: Web Service access ?
bobyetman Aug 14, 2009 12:40 PM (in response to bobyetman)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.
Bob