I am fairly new to the webservice/xfire world and hence bare with me if answer to this is pretty obvious.
I am using xfire client to access a webservice that is deployed on intranet (just like our application is). Now, in the WSDL given to us, the service location is unspecified and so is the soap action for various operations. The idea being this information will vary from one deployment to the other. I generated java classes from the WSDL and have a wrapper client class that invokes the methods on the service interface. In the generated service interface the @Webmethod annotation has empty action value as expected. In some start up code of my client i populate the service location (host,port etc.) and invoke the service but since the soap action is empty, the server doesn't like it. The question is, what is the best way to populate soap action (based on service location + method name) in either some start up method or at run time? Ankur
