This works for me using soapUI, but not from jira4r, running 4.01. The problem is with jira4r (I m running v0.3.0). It seems that the wsdl and the associated driver code is hard-wired, and this does not include the getIssuesFromJqlSearch call. Do a search in ruby/gems/1.8/gems/jira4r-0.3.0
to see what I mean. Searching for getVersions reveals this:
./lib/jira4r/v2/jira_soap_service_driver.rb
./wsdl/jirasoapservice-v2.wsdl
While searching for getIssuesFromJqlSearch shows nothing.
I fixed the issue by replacing ./wsdl/jirasoapservice-v2.wsdl
with the version from my Jira instance (it s at http://your-jira-instance/rpc/soap/jirasoapservice-v2?wsdl
) and then by patching ./lib/jira4r/v2/jira_soap_service_driver.rb
(which looks like it s been automatically generated from the WSDL) appropriately, by adding this:
[ XSD::QName.new(NsSoapRpcJiraAtlassianCom, "getIssuesFromJqlSearch"),
"",
"getIssuesFromJqlSearch",
[ ["in", "in0", ["::SOAP::SOAPString"]],
["in", "in1", ["::SOAP::SOAPString"]],
["in", "in2", ["::SOAP::SOAPInt"]],
["retval", "getIssuesFromJqlSearchReturn", ["Jira4R::V2::ArrayOf_tns1_RemoteIssue", "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_tns1_RemoteIssue"]] ],
{ :request_style => :rpc, :request_use => :encoded,
:response_style => :rpc, :response_use => :encoded,
:faults => {"Jira4R::V2::RemoteException_"=>{:use=>"encoded", :name=>"RemoteException", :ns=>"http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", :namespace=>"http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", :encodingstyle=>"http://schemas.xmlsoap.org/soap/encoding/"}} }
],
Obviously, it would be nice if jira4r downloaded the correct WSDL from your instance, to avoid these kinds of version incompatibilities :)