Rahul Popli

Greenhorn
+ Follow
since Aug 09, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rahul Popli

Hi,

I'm trying to deploy a war file to Jboss 4.2.2GA app server that uses the @WebserviceProvider annotation.
In particular the class looks basically like this:


@WebserviceProvider(serviceName="someHardCodedString",
wsdlLocation="someHardCodedString",
targetNamepace="someHardCodedString",
portName="someHardCodedString")

public class ProviderMessageBean implements Provider<SOAPMessage>
{

public void invoke(SOAPMessage message)
{
//random xml manipluate code
}

}


So my problem here is that I don't want to have the values in my annotation to be hard coded strings. Idealy I'm looking for a way to just specify those values in some config file that will be recognized by JBoss and the class. Anybody run into this problem or something similar?

Apologies if this isn't clear enough.....If it isn't I can specify further.

Thanks
12 years ago