Quote:
|
We've already sent in a couple examples of invalid stuff. I believe they fixed some of the bad hex characters but again they're not gonna deal with the XML. They've got around 30k products - I guess their rationale is that validating everything would be too much work? I dunno.
|
Making changes could possibly break the fix-ups that other partners have in their code, so I understand that.
Quote:
|
Also, not sure what this means, but the vendor recommended that we use html encoding instead of url encoding. Or was it the programmer asking about that? Can't remember, but maybe that'll help?
|
HTML escape = &#xxx; (xxx = usually a decimal character code, can be >255 for multibyte characters) Urlencode = %ff (hex code, usually 2 digit, such as %2B = { )
Urlencode normally uses a + for spaces but %20 is also valid.
If your developer is using an XML library and/or SOAP library to work with the API, they might need to write extra post-processing and pre-processing code to fix up what is send and received.
If they don't know how to do that and the API is small, it might be easier to bypass the SOAP or XML libraries and write custom code to create requests and parse responses.
You can create XML or SOAP messages without using a canned library, using standard code to build text strings.