Hello,
I am new here, so I apologize if I am posting incorrectly.
I have configured my spring config file as follows:
<jaxrs:client id="someClient"
address="http://localhost:8080/services/trial/doit"
serviceClass="com.services.commons.interfaces.SomeRESTInterface"
inheritHeaders="true">
<jaxrs:headers>
<entry key="Accept" value="text/xml"/>
</jaxrs:headers>
</jaxrs:client>
The serviceClass is pointing at an interface.
When I go to Autowire this into my code, as follows:
@Autowired @Qualifier("someClient") SomeRESTInterface someClient;
it fails.
Is there a way to autowire jaxrs:client beans?
jaxrs:client and spring - not autowiring
Moderator: Moderators
Re: jaxrs:client and spring - not autowiring
I'm sorry but this is the Spring RTS Engine, and has nothing to do with java enterprise applications! We're a C++ project that implements a game engine for realtime strategy games!

I am curious, what made you think this was somewher eyou could get help from? Your not the first person to mistake us for another project based on the name, but surely the jet fighters/starwars figures in the header, and the giant RTS scenes on the frontpage must have set alarm bells ringing?
I am curious, what made you think this was somewher eyou could get help from? Your not the first person to mistake us for another project based on the name, but surely the jet fighters/starwars figures in the header, and the giant RTS scenes on the frontpage must have set alarm bells ringing?