Hi!
Yes, partly question, partly answer.
This works:
server-config.wsdd:
<service name="connectionTestWebService" style="wrapped" use="literal">
<parameter name="className"
value="com.frontend.services.jaxws.ConnectionTestWebService"/>
</service>
Note especially the "wrapped" parameter here.
Then your WebService can be something like:
@WebService
@SOAPBinding(parameterStyle=ParameterStyle.WRAPPED, style=Style.DOCUMENT,
use=Use.LITERAL)
public class ConnectionTestWebService extends AbstractWebService {
/**
* @param firstName
* @param lastName
* @return String
*/
@WebMethod
public String helloWorldWithTwoStringParameters(String firstName, String lastName) {
return getGreeting(firstName + lastName);
}
}
And just to mention, it seems like Axis2 does NOT care about the SOAPBinding annotations, except it only cares about what is written in server-config.wsdd.