Hi all,
I am trying to test a helloworld BPEL service (deployed locally on a soa
server (weblogic)). When I try to invoke it from cucumber, I get
following message —
NoMethodError: undefined method starts_with?' for nil:NilClass C:/Ruby192/lib/ruby/1.9.1/rexml/parsers/streamparser.rb:24:in
parse’
C:/Ruby192/lib/ruby/1.9.1/rexml/document.rb:204:in parse_stream' ./features/support/helloWorld_functions.rb:15:in
processHelloWorld’
./features/step_definitions/helloWorld_steps.rb:8:in `/^I invoke
HelloWorld web service$/’
FYI, I can invoke actual BPEL web-service from soapUI.
I couldn’t find a solution from this error message. So, I used the same
WSDL file and created a mock web-service using soapUI and deployed it
locally and was able to call it from cucumber and got successful
response.
What shall I do to fix this issue?
Thanks!