public JSONPBinding() { // configure the HTTP binding for JSONP (which for the moment is the default wireFormat) setOperationSelector(new HTTPRPCOperationSelector()); setRequestWireFormat(new HTTPJSONWireFormat()); setResponseWireFormat(new HTTPJSONWireFormat()); }
binding.setOperationSelector(new HTTPDefaultOperationSelector());
public JSONPBinding() { // configure the HTTP binding for JSONP (which for the moment is the default wireFormat) setOperationSelector(new HTTPRPCOperationSelector()); setRequestWireFormat(new HTTPJSONWireFormat()); setResponseWireFormat(new HTTPJSONWireFormat()); }