Hello,
I am trying to consume a web service written in ASP. This web service
requires that certain parameters be sent in BYTE format. I managed to
get this working in PHP by sending in quote-surrounded values but cannot
get it to work in Ruby/Rails, which is what the final application will
be built in.
Can anyone provide any insight? Here is my current SOAP call (I have
tried quoting the BYTE parameters but no dice):
response = client.request :wsdl, :get_noc_titles do
soap.body = {
:strToken => ‘OUR TOKEN’,
:strNOCNumber => ‘*’,
:strTitle => ‘project’,
:bytSearchWithin => 0,
:bytNOCNumberAndOr => 0,
:bytGroupByConcondance => 0,
:bytSpellCheck => 0,
:bytTitleCommand => 0,
:bytTitleSearchType => 0,
:bytTitleAndOr => 0,
:bytGender => 0,
:bytIndexTitleCommand => 0,
:bytIndexTitle => 0,
:bytExampleTitleCommand => 0,
:bytExampTitle => 0,
:bytIsConcordanceCommand => 0,
:intConcordance => 0,
:bytEffectiveDateCommand => 0,
:strEffectiveDate => ‘2001-01-01T00:00:00’,
:bytEffectDateRange => 0,
:bytIsRecordIDReq => 0,
:bytIsHelpReq => 0,
:bytInputValidation => 0,
:bytRequestResults => 0,
:bytSortOrder => 0,
:bytSortField => 0,
:bytLangIn => 0,
:bytLangOut => 0,
:bytGroupTitle => 0
}
end