Map<String, Object> requestCtx = dispatch.getRequestContext();
requestCtx.put(BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
requestCtx.put(BindingProvider.SOAPACTION_URI_PROPERTY, "http://jaxws.axis2.apache.org/client/soapaction/getPrice");
ObjectFactory of = new ObjectFactory();
GetPriceType gpt = of.createGetPriceType();
gpt.setItem("TEST");
// The element that is sent should be <getPriceWithAction>
// so it will resolve to the getPriceWithAction operation
// defined in the WSDL.
JAXBElement<GetPriceType> getPrice = of.createGetPriceWithAction(gpt);