H
hood
Hi,
I am trying to connect to a yellowpage provider and getting the
following error:
Server did not recognize the value of HTTP Header SOAPAction
Any help would be great.
Here is the code:
require 'soap/driver'
require 'default.rb'
NAMESPACE = 'http://atlncan02.ncanservices.com/IDWebServiceProd'
URL =
'http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx'
SOAPACTION =
'http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx/iDhandleWebSearchRequest'
HTTP_PROXY = nil
#create a SOAP Driver Object
driver =SOAP:river.new(nil, nil, NAMESPACE, URL, HTTP_PROXY,
SOAPACTION)
# Add the SOAP Method "SendEmail" that takes 8 arguments
# From, FromAddress, To, ToAddress, Subject, MsgBody, Acknowledgement,
Priority
transaction_request =
TransactionRequest.new(nil,nil,nil,nil,nil,nil,'BR','Doubledyno','srchName',50,nil,nil,nil,nil,nil)
parameters = IDhandleWebSearchRequest.new(transaction_request)
driver.add_method_with_soapaction('iDhandleWebSearchRequest',
"http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx/iDhandleWebSearchRequest",'IDhandleWebSearchRequest')
# call the SOAP Service
result = driver.iDhandleWebSearchRequest(parameters)
puts result
default.rb:
require 'xsd/qname'
# {http://66.45.113.60/IDWebService}IDhandleWebSearchRequest
class IDhandleWebSearchRequest
@@schema_type = "IDhandleWebSearchRequest"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_qualified = "true"
@@schema_element = [["newRequest", ["TransactionRequest",
XSD::QName.new("http://66.45.113.60/IDWebService", "NewRequest")]]]
def NewRequest
@newRequest
end
def NewRequest=(value)
@newRequest = value
end
def initialize(newRequest = nil)
@newRequest = newRequest
end
def to_s
@@schema_element
end
end
# {http://66.45.113.60/IDWebService}IDhandleWebSearchRequestResponse
class IDhandleWebSearchRequestResponse
@@schema_type = "IDhandleWebSearchRequestResponse"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_qualified = "true"
@@schema_element = [["iDhandleWebSearchRequestResult",
["TransactionResponse",
XSD::QName.new("http://66.45.113.60/IDWebService",
"IDhandleWebSearchRequestResult")]]]
def IDhandleWebSearchRequestResult
@iDhandleWebSearchRequestResult
end
def IDhandleWebSearchRequestResult=(value)
@iDhandleWebSearchRequestResult = value
end
def initialize(iDhandleWebSearchRequestResult = nil)
@iDhandleWebSearchRequestResult = iDhandleWebSearchRequestResult
end
end
# {http://66.45.113.60/IDWebService}TransactionRequest
class TransactionRequest
@@schema_type = "TransactionRequest"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["intelligentSearch", "SOAP::SOAPBoolean"],
["intelligentSearchCode", "SOAP::SOAPString"], ["match",
"SOAP::SOAPBoolean"], ["matchMinScore", "SOAP::SOAPInt"],
["matchSortCode", "SOAP::SOAPString"], ["queryCategory",
"SOAP::SOAPString"], ["queryType", "SOAP::SOAPString"],
["referenceClass", "SOAP::SOAPString"], ["referenceCode",
"SOAP::SOAPString"], ["requestCount", "SOAP::SOAPInt"], ["requests",
"ArrayOfRequest"], ["rowsRequested", "SOAP::SOAPInt"],
["showNonPublished", "SOAP::SOAPBoolean"], ["startRow",
"SOAP::SOAPInt"], ["useFirstInitial", "SOAP::SOAPBoolean"]]
attr_accessor :intelligentSearch
attr_accessor :intelligentSearchCode
attr_accessor :match
attr_accessor :matchMinScore
attr_accessor :matchSortCode
attr_accessor :queryCategory
attr_accessor :queryType
attr_accessor :referenceClass
attr_accessor :referenceCode
attr_accessor :requestCount
attr_accessor :requests
attr_accessor :rowsRequested
attr_accessor :showNonPublished
attr_accessor :startRow
attr_accessor :useFirstInitial
def initialize(intelligentSearch = nil, intelligentSearchCode = nil,
match = nil, matchMinScore = nil, matchSortCode = nil, queryCategory =
nil, queryType = nil, referenceClass = nil, referenceCode = nil,
requestCount = nil, requests = nil, rowsRequested = nil,
showNonPublished = nil, startRow = nil, useFirstInitial = nil)
@intelligentSearch = intelligentSearch
@intelligentSearchCode = intelligentSearchCode
@match = match
@matchMinScore = matchMinScore
@matchSortCode = matchSortCode
@queryCategory = queryCategory
@queryType = queryType
@referenceClass = referenceClass
@referenceCode = referenceCode
@requestCount = requestCount
@requests = requests
@rowsRequested = rowsRequested
@showNonPublished = showNonPublished
@startRow = startRow
@useFirstInitial = useFirstInitial
end
end
# {http://66.45.113.60/IDWebService}ArrayOfRequest
class ArrayOfRequest < ::Array
@@schema_type = "Request"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Request", ["Request[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Request")]]]
end
# {http://66.45.113.60/IDWebService}Request
class Request
@@schema_type = "Request"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["address", "SOAP::SOAPString"],
["addressHouseNum", "SOAP::SOAPString"], ["addressHouseNumRange",
"SOAP::SOAPString"], ["addressStreetName", "SOAP::SOAPString"],
["bizGovName", "SOAP::SOAPString"], ["bizGovNameSimilar",
"SOAP::SOAPBoolean"], ["city", "SOAP::SOAPString"], ["firstName",
"SOAP::SOAPString"], ["firstNameSimilar", "SOAP::SOAPBoolean"],
["geoQuery", "SOAP::SOAPString"], ["geoState", "SOAP::SOAPString"],
["lastName", "SOAP::SOAPString"], ["lastNameSimilar",
"SOAP::SOAPBoolean"], ["listingPointer", "SOAP::SOAPString"],
["phoneLine", "SOAP::SOAPString"], ["phoneNpa", "SOAP::SOAPString"],
["phoneNxx", "SOAP::SOAPString"], ["postalCode", "SOAP::SOAPString"],
["postalCodeDetails", "SOAP::SOAPString"], ["referenceId",
"SOAP::SOAPString"], ["state", "SOAP::SOAPString"], ["surroundMiles",
"SOAP::SOAPInt"]]
attr_accessor :address
attr_accessor :addressHouseNum
attr_accessor :addressHouseNumRange
attr_accessor :addressStreetName
attr_accessor :bizGovName
attr_accessor :bizGovNameSimilar
attr_accessor :city
attr_accessor :firstName
attr_accessor :firstNameSimilar
attr_accessor :geoQuery
attr_accessor :geoState
attr_accessor :lastName
attr_accessor :lastNameSimilar
attr_accessor :listingPointer
attr_accessor honeLine
attr_accessor honeNpa
attr_accessor honeNxx
attr_accessor ostalCode
attr_accessor ostalCodeDetails
attr_accessor :referenceId
attr_accessor :state
attr_accessor :surroundMiles
def initialize(address = nil, addressHouseNum = nil,
addressHouseNumRange = nil, addressStreetName = nil, bizGovName = nil,
bizGovNameSimilar = nil, city = nil, firstName = nil, firstNameSimilar
= nil, geoQuery = nil, geoState = nil, lastName = nil, lastNameSimilar
= nil, listingPointer = nil, phoneLine = nil, phoneNpa = nil, phoneNxx
= nil, postalCode = nil, postalCodeDetails = nil, referenceId = nil,
state = nil, surroundMiles = nil)
@address = address
@addressHouseNum = addressHouseNum
@addressHouseNumRange = addressHouseNumRange
@addressStreetName = addressStreetName
@bizGovName = bizGovName
@bizGovNameSimilar = bizGovNameSimilar
@city = city
@firstName = firstName
@firstNameSimilar = firstNameSimilar
@geoQuery = geoQuery
@geoState = geoState
@lastName = lastName
@lastNameSimilar = lastNameSimilar
@listingPointer = listingPointer
@phoneLine = phoneLine
@phoneNpa = phoneNpa
@phoneNxx = phoneNxx
@postalCode = postalCode
@postalCodeDetails = postalCodeDetails
@referenceId = referenceId
@state = state
@surroundMiles = surroundMiles
end
end
# {http://66.45.113.60/IDWebService}TransactionResponse
class TransactionResponse
@@schema_type = "TransactionResponse"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["referenceClass", "SOAP::SOAPString"],
["referenceCode", "SOAP::SOAPString"], ["requestCount",
"SOAP::SOAPInt"], ["responses", "ArrayOfResponse"], ["transErrorCode",
"SOAP::SOAPString"], ["transErrorDescription", "SOAP::SOAPString"],
["transErrorMessage", "SOAP::SOAPString"]]
attr_accessor :referenceClass
attr_accessor :referenceCode
attr_accessor :requestCount
attr_accessor :responses
attr_accessor :transErrorCode
attr_accessor :transErrorDescription
attr_accessor :transErrorMessage
def initialize(referenceClass = nil, referenceCode = nil,
requestCount = nil, responses = nil, transErrorCode = nil,
transErrorDescription = nil, transErrorMessage = nil)
@referenceClass = referenceClass
@referenceCode = referenceCode
@requestCount = requestCount
@responses = responses
@transErrorCode = transErrorCode
@transErrorDescription = transErrorDescription
@transErrorMessage = transErrorMessage
end
end
# {http://66.45.113.60/IDWebService}ArrayOfResponse
class ArrayOfResponse < ::Array
@@schema_type = "Response"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Response", ["Response[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Response")]]]
end
# {http://66.45.113.60/IDWebService}Response
class Response
@@schema_type = "Response"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["geoQuery", "SOAP::SOAPString"],
["intelligentSearchResult", "SOAP::SOAPInt"], ["referenceId",
"SOAP::SOAPString"], ["responseErrorCode", "SOAP::SOAPString"],
["responseErrorDescription", "SOAP::SOAPString"],
["responseErrorMessage", "SOAP::SOAPString"], ["stateListCount",
"SOAP::SOAPInt"], ["stateLists", "ArrayOfStateList"],
["totalListingsFound", "SOAP::SOAPInt"], ["totalListingsReturned",
"SOAP::SOAPInt"]]
attr_accessor :geoQuery
attr_accessor :intelligentSearchResult
attr_accessor :referenceId
attr_accessor :responseErrorCode
attr_accessor :responseErrorDescription
attr_accessor :responseErrorMessage
attr_accessor :stateListCount
attr_accessor :stateLists
attr_accessor :totalListingsFound
attr_accessor :totalListingsReturned
def initialize(geoQuery = nil, intelligentSearchResult = nil,
referenceId = nil, responseErrorCode = nil, responseErrorDescription =
nil, responseErrorMessage = nil, stateListCount = nil, stateLists =
nil, totalListingsFound = nil, totalListingsReturned = nil)
@geoQuery = geoQuery
@intelligentSearchResult = intelligentSearchResult
@referenceId = referenceId
@responseErrorCode = responseErrorCode
@responseErrorDescription = responseErrorDescription
@responseErrorMessage = responseErrorMessage
@stateListCount = stateListCount
@stateLists = stateLists
@totalListingsFound = totalListingsFound
@totalListingsReturned = totalListingsReturned
end
end
# {http://66.45.113.60/IDWebService}ArrayOfStateList
class ArrayOfStateList < ::Array
@@schema_type = "StateList"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["StateList", ["StateList[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "StateList")]]]
end
# {http://66.45.113.60/IDWebService}StateList
class StateList
@@schema_type = "StateList"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["listings", "ArrayOfListing"], ["listingsFound",
"SOAP::SOAPInt"], ["listingsReturned", "SOAP::SOAPInt"], ["stateAbbr",
"SOAP::SOAPString"], ["stateName", "SOAP::SOAPString"]]
attr_accessor :listings
attr_accessor :listingsFound
attr_accessor :listingsReturned
attr_accessor :stateAbbr
attr_accessor :stateName
def initialize(listings = nil, listingsFound = nil, listingsReturned
= nil, stateAbbr = nil, stateName = nil)
@listings = listings
@listingsFound = listingsFound
@listingsReturned = listingsReturned
@stateAbbr = stateAbbr
@stateName = stateName
end
end
# {http://66.45.113.60/IDWebService}ArrayOfListing
class ArrayOfListing < ::Array
@@schema_type = "Listing"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Listing", ["Listing[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Listing")]]]
end
# {http://66.45.113.60/IDWebService}Listing
class Listing
@@schema_type = "Listing"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["address", "SOAP::SOAPString"], ["city",
"SOAP::SOAPString"], ["firstName", "SOAP::SOAPString"], ["lastName",
"SOAP::SOAPString"], ["listingName", "SOAP::SOAPString"],
["listingPointer", "SOAP::SOAPString"], ["listingType",
"SOAP::SOAPString"], ["matchCode", "SOAP::SOAPString"], ["matchScore",
"SOAP::SOAPInt"], ["nonPublished", "SOAP::SOAPBoolean"], ["phoneLine",
"SOAP::SOAPString"], ["phoneNpa", "SOAP::SOAPString"], ["phoneNxx",
"SOAP::SOAPString"], ["postalCode", "SOAP::SOAPString"],
["postalCodeDetails", "SOAP::SOAPString"], ["state",
"SOAP::SOAPString"]]
attr_accessor :address
attr_accessor :city
attr_accessor :firstName
attr_accessor :lastName
attr_accessor :listingName
attr_accessor :listingPointer
attr_accessor :listingType
attr_accessor :matchCode
attr_accessor :matchScore
attr_accessor :nonPublished
attr_accessor honeLine
attr_accessor honeNpa
attr_accessor honeNxx
attr_accessor ostalCode
attr_accessor ostalCodeDetails
attr_accessor :state
def initialize(address = nil, city = nil, firstName = nil, lastName =
nil, listingName = nil, listingPointer = nil, listingType = nil,
matchCode = nil, matchScore = nil, nonPublished = nil, phoneLine = nil,
phoneNpa = nil, phoneNxx = nil, postalCode = nil, postalCodeDetails =
nil, state = nil)
@address = address
@city = city
@firstName = firstName
@lastName = lastName
@listingName = listingName
@listingPointer = listingPointer
@listingType = listingType
@matchCode = matchCode
@matchScore = matchScore
@nonPublished = nonPublished
@phoneLine = phoneLine
@phoneNpa = phoneNpa
@phoneNxx = phoneNxx
@postalCode = postalCode
@postalCodeDetails = postalCodeDetails
@state = state
end
end
I am trying to connect to a yellowpage provider and getting the
following error:
Server did not recognize the value of HTTP Header SOAPAction
Any help would be great.
Here is the code:
require 'soap/driver'
require 'default.rb'
NAMESPACE = 'http://atlncan02.ncanservices.com/IDWebServiceProd'
URL =
'http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx'
SOAPACTION =
'http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx/iDhandleWebSearchRequest'
HTTP_PROXY = nil
#create a SOAP Driver Object
driver =SOAP:river.new(nil, nil, NAMESPACE, URL, HTTP_PROXY,
SOAPACTION)
# Add the SOAP Method "SendEmail" that takes 8 arguments
# From, FromAddress, To, ToAddress, Subject, MsgBody, Acknowledgement,
Priority
transaction_request =
TransactionRequest.new(nil,nil,nil,nil,nil,nil,'BR','Doubledyno','srchName',50,nil,nil,nil,nil,nil)
parameters = IDhandleWebSearchRequest.new(transaction_request)
driver.add_method_with_soapaction('iDhandleWebSearchRequest',
"http://atlncan02.ncanservices.com/idwebserviceprod/PhoneDBService.asmx/iDhandleWebSearchRequest",'IDhandleWebSearchRequest')
# call the SOAP Service
result = driver.iDhandleWebSearchRequest(parameters)
puts result
default.rb:
require 'xsd/qname'
# {http://66.45.113.60/IDWebService}IDhandleWebSearchRequest
class IDhandleWebSearchRequest
@@schema_type = "IDhandleWebSearchRequest"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_qualified = "true"
@@schema_element = [["newRequest", ["TransactionRequest",
XSD::QName.new("http://66.45.113.60/IDWebService", "NewRequest")]]]
def NewRequest
@newRequest
end
def NewRequest=(value)
@newRequest = value
end
def initialize(newRequest = nil)
@newRequest = newRequest
end
def to_s
@@schema_element
end
end
# {http://66.45.113.60/IDWebService}IDhandleWebSearchRequestResponse
class IDhandleWebSearchRequestResponse
@@schema_type = "IDhandleWebSearchRequestResponse"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_qualified = "true"
@@schema_element = [["iDhandleWebSearchRequestResult",
["TransactionResponse",
XSD::QName.new("http://66.45.113.60/IDWebService",
"IDhandleWebSearchRequestResult")]]]
def IDhandleWebSearchRequestResult
@iDhandleWebSearchRequestResult
end
def IDhandleWebSearchRequestResult=(value)
@iDhandleWebSearchRequestResult = value
end
def initialize(iDhandleWebSearchRequestResult = nil)
@iDhandleWebSearchRequestResult = iDhandleWebSearchRequestResult
end
end
# {http://66.45.113.60/IDWebService}TransactionRequest
class TransactionRequest
@@schema_type = "TransactionRequest"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["intelligentSearch", "SOAP::SOAPBoolean"],
["intelligentSearchCode", "SOAP::SOAPString"], ["match",
"SOAP::SOAPBoolean"], ["matchMinScore", "SOAP::SOAPInt"],
["matchSortCode", "SOAP::SOAPString"], ["queryCategory",
"SOAP::SOAPString"], ["queryType", "SOAP::SOAPString"],
["referenceClass", "SOAP::SOAPString"], ["referenceCode",
"SOAP::SOAPString"], ["requestCount", "SOAP::SOAPInt"], ["requests",
"ArrayOfRequest"], ["rowsRequested", "SOAP::SOAPInt"],
["showNonPublished", "SOAP::SOAPBoolean"], ["startRow",
"SOAP::SOAPInt"], ["useFirstInitial", "SOAP::SOAPBoolean"]]
attr_accessor :intelligentSearch
attr_accessor :intelligentSearchCode
attr_accessor :match
attr_accessor :matchMinScore
attr_accessor :matchSortCode
attr_accessor :queryCategory
attr_accessor :queryType
attr_accessor :referenceClass
attr_accessor :referenceCode
attr_accessor :requestCount
attr_accessor :requests
attr_accessor :rowsRequested
attr_accessor :showNonPublished
attr_accessor :startRow
attr_accessor :useFirstInitial
def initialize(intelligentSearch = nil, intelligentSearchCode = nil,
match = nil, matchMinScore = nil, matchSortCode = nil, queryCategory =
nil, queryType = nil, referenceClass = nil, referenceCode = nil,
requestCount = nil, requests = nil, rowsRequested = nil,
showNonPublished = nil, startRow = nil, useFirstInitial = nil)
@intelligentSearch = intelligentSearch
@intelligentSearchCode = intelligentSearchCode
@match = match
@matchMinScore = matchMinScore
@matchSortCode = matchSortCode
@queryCategory = queryCategory
@queryType = queryType
@referenceClass = referenceClass
@referenceCode = referenceCode
@requestCount = requestCount
@requests = requests
@rowsRequested = rowsRequested
@showNonPublished = showNonPublished
@startRow = startRow
@useFirstInitial = useFirstInitial
end
end
# {http://66.45.113.60/IDWebService}ArrayOfRequest
class ArrayOfRequest < ::Array
@@schema_type = "Request"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Request", ["Request[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Request")]]]
end
# {http://66.45.113.60/IDWebService}Request
class Request
@@schema_type = "Request"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["address", "SOAP::SOAPString"],
["addressHouseNum", "SOAP::SOAPString"], ["addressHouseNumRange",
"SOAP::SOAPString"], ["addressStreetName", "SOAP::SOAPString"],
["bizGovName", "SOAP::SOAPString"], ["bizGovNameSimilar",
"SOAP::SOAPBoolean"], ["city", "SOAP::SOAPString"], ["firstName",
"SOAP::SOAPString"], ["firstNameSimilar", "SOAP::SOAPBoolean"],
["geoQuery", "SOAP::SOAPString"], ["geoState", "SOAP::SOAPString"],
["lastName", "SOAP::SOAPString"], ["lastNameSimilar",
"SOAP::SOAPBoolean"], ["listingPointer", "SOAP::SOAPString"],
["phoneLine", "SOAP::SOAPString"], ["phoneNpa", "SOAP::SOAPString"],
["phoneNxx", "SOAP::SOAPString"], ["postalCode", "SOAP::SOAPString"],
["postalCodeDetails", "SOAP::SOAPString"], ["referenceId",
"SOAP::SOAPString"], ["state", "SOAP::SOAPString"], ["surroundMiles",
"SOAP::SOAPInt"]]
attr_accessor :address
attr_accessor :addressHouseNum
attr_accessor :addressHouseNumRange
attr_accessor :addressStreetName
attr_accessor :bizGovName
attr_accessor :bizGovNameSimilar
attr_accessor :city
attr_accessor :firstName
attr_accessor :firstNameSimilar
attr_accessor :geoQuery
attr_accessor :geoState
attr_accessor :lastName
attr_accessor :lastNameSimilar
attr_accessor :listingPointer
attr_accessor honeLine
attr_accessor honeNpa
attr_accessor honeNxx
attr_accessor ostalCode
attr_accessor ostalCodeDetails
attr_accessor :referenceId
attr_accessor :state
attr_accessor :surroundMiles
def initialize(address = nil, addressHouseNum = nil,
addressHouseNumRange = nil, addressStreetName = nil, bizGovName = nil,
bizGovNameSimilar = nil, city = nil, firstName = nil, firstNameSimilar
= nil, geoQuery = nil, geoState = nil, lastName = nil, lastNameSimilar
= nil, listingPointer = nil, phoneLine = nil, phoneNpa = nil, phoneNxx
= nil, postalCode = nil, postalCodeDetails = nil, referenceId = nil,
state = nil, surroundMiles = nil)
@address = address
@addressHouseNum = addressHouseNum
@addressHouseNumRange = addressHouseNumRange
@addressStreetName = addressStreetName
@bizGovName = bizGovName
@bizGovNameSimilar = bizGovNameSimilar
@city = city
@firstName = firstName
@firstNameSimilar = firstNameSimilar
@geoQuery = geoQuery
@geoState = geoState
@lastName = lastName
@lastNameSimilar = lastNameSimilar
@listingPointer = listingPointer
@phoneLine = phoneLine
@phoneNpa = phoneNpa
@phoneNxx = phoneNxx
@postalCode = postalCode
@postalCodeDetails = postalCodeDetails
@referenceId = referenceId
@state = state
@surroundMiles = surroundMiles
end
end
# {http://66.45.113.60/IDWebService}TransactionResponse
class TransactionResponse
@@schema_type = "TransactionResponse"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["referenceClass", "SOAP::SOAPString"],
["referenceCode", "SOAP::SOAPString"], ["requestCount",
"SOAP::SOAPInt"], ["responses", "ArrayOfResponse"], ["transErrorCode",
"SOAP::SOAPString"], ["transErrorDescription", "SOAP::SOAPString"],
["transErrorMessage", "SOAP::SOAPString"]]
attr_accessor :referenceClass
attr_accessor :referenceCode
attr_accessor :requestCount
attr_accessor :responses
attr_accessor :transErrorCode
attr_accessor :transErrorDescription
attr_accessor :transErrorMessage
def initialize(referenceClass = nil, referenceCode = nil,
requestCount = nil, responses = nil, transErrorCode = nil,
transErrorDescription = nil, transErrorMessage = nil)
@referenceClass = referenceClass
@referenceCode = referenceCode
@requestCount = requestCount
@responses = responses
@transErrorCode = transErrorCode
@transErrorDescription = transErrorDescription
@transErrorMessage = transErrorMessage
end
end
# {http://66.45.113.60/IDWebService}ArrayOfResponse
class ArrayOfResponse < ::Array
@@schema_type = "Response"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Response", ["Response[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Response")]]]
end
# {http://66.45.113.60/IDWebService}Response
class Response
@@schema_type = "Response"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["geoQuery", "SOAP::SOAPString"],
["intelligentSearchResult", "SOAP::SOAPInt"], ["referenceId",
"SOAP::SOAPString"], ["responseErrorCode", "SOAP::SOAPString"],
["responseErrorDescription", "SOAP::SOAPString"],
["responseErrorMessage", "SOAP::SOAPString"], ["stateListCount",
"SOAP::SOAPInt"], ["stateLists", "ArrayOfStateList"],
["totalListingsFound", "SOAP::SOAPInt"], ["totalListingsReturned",
"SOAP::SOAPInt"]]
attr_accessor :geoQuery
attr_accessor :intelligentSearchResult
attr_accessor :referenceId
attr_accessor :responseErrorCode
attr_accessor :responseErrorDescription
attr_accessor :responseErrorMessage
attr_accessor :stateListCount
attr_accessor :stateLists
attr_accessor :totalListingsFound
attr_accessor :totalListingsReturned
def initialize(geoQuery = nil, intelligentSearchResult = nil,
referenceId = nil, responseErrorCode = nil, responseErrorDescription =
nil, responseErrorMessage = nil, stateListCount = nil, stateLists =
nil, totalListingsFound = nil, totalListingsReturned = nil)
@geoQuery = geoQuery
@intelligentSearchResult = intelligentSearchResult
@referenceId = referenceId
@responseErrorCode = responseErrorCode
@responseErrorDescription = responseErrorDescription
@responseErrorMessage = responseErrorMessage
@stateListCount = stateListCount
@stateLists = stateLists
@totalListingsFound = totalListingsFound
@totalListingsReturned = totalListingsReturned
end
end
# {http://66.45.113.60/IDWebService}ArrayOfStateList
class ArrayOfStateList < ::Array
@@schema_type = "StateList"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["StateList", ["StateList[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "StateList")]]]
end
# {http://66.45.113.60/IDWebService}StateList
class StateList
@@schema_type = "StateList"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["listings", "ArrayOfListing"], ["listingsFound",
"SOAP::SOAPInt"], ["listingsReturned", "SOAP::SOAPInt"], ["stateAbbr",
"SOAP::SOAPString"], ["stateName", "SOAP::SOAPString"]]
attr_accessor :listings
attr_accessor :listingsFound
attr_accessor :listingsReturned
attr_accessor :stateAbbr
attr_accessor :stateName
def initialize(listings = nil, listingsFound = nil, listingsReturned
= nil, stateAbbr = nil, stateName = nil)
@listings = listings
@listingsFound = listingsFound
@listingsReturned = listingsReturned
@stateAbbr = stateAbbr
@stateName = stateName
end
end
# {http://66.45.113.60/IDWebService}ArrayOfListing
class ArrayOfListing < ::Array
@@schema_type = "Listing"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["Listing", ["Listing[]",
XSD::QName.new("http://66.45.113.60/IDWebService", "Listing")]]]
end
# {http://66.45.113.60/IDWebService}Listing
class Listing
@@schema_type = "Listing"
@@schema_ns = "http://66.45.113.60/IDWebService"
@@schema_element = [["address", "SOAP::SOAPString"], ["city",
"SOAP::SOAPString"], ["firstName", "SOAP::SOAPString"], ["lastName",
"SOAP::SOAPString"], ["listingName", "SOAP::SOAPString"],
["listingPointer", "SOAP::SOAPString"], ["listingType",
"SOAP::SOAPString"], ["matchCode", "SOAP::SOAPString"], ["matchScore",
"SOAP::SOAPInt"], ["nonPublished", "SOAP::SOAPBoolean"], ["phoneLine",
"SOAP::SOAPString"], ["phoneNpa", "SOAP::SOAPString"], ["phoneNxx",
"SOAP::SOAPString"], ["postalCode", "SOAP::SOAPString"],
["postalCodeDetails", "SOAP::SOAPString"], ["state",
"SOAP::SOAPString"]]
attr_accessor :address
attr_accessor :city
attr_accessor :firstName
attr_accessor :lastName
attr_accessor :listingName
attr_accessor :listingPointer
attr_accessor :listingType
attr_accessor :matchCode
attr_accessor :matchScore
attr_accessor :nonPublished
attr_accessor honeLine
attr_accessor honeNpa
attr_accessor honeNxx
attr_accessor ostalCode
attr_accessor ostalCodeDetails
attr_accessor :state
def initialize(address = nil, city = nil, firstName = nil, lastName =
nil, listingName = nil, listingPointer = nil, listingType = nil,
matchCode = nil, matchScore = nil, nonPublished = nil, phoneLine = nil,
phoneNpa = nil, phoneNxx = nil, postalCode = nil, postalCodeDetails =
nil, state = nil)
@address = address
@city = city
@firstName = firstName
@lastName = lastName
@listingName = listingName
@listingPointer = listingPointer
@listingType = listingType
@matchCode = matchCode
@matchScore = matchScore
@nonPublished = nonPublished
@phoneLine = phoneLine
@phoneNpa = phoneNpa
@phoneNxx = phoneNxx
@postalCode = postalCode
@postalCodeDetails = postalCodeDetails
@state = state
end
end