Hey,
Im having trouble trying to get a response to appear in my connector when using a HTTP Session from my protocol. My status code does seem to update appropriately, but my response content param goes from "not initialized" to empty. Anyone have a clue if this could be a parsing issue?
I am using a POST method to send my request in xml format.
Cheers!
Hi Donnell
Maybe there is nothing in the response cause to go from not initialized to empty implies to me it's working. Have you tried doing the same API call in Postman to see what data you get back?
Thanks,
Dave
Hi David thanks for the reply! I’m supposed to be getting a generated id back from the call to store and use in a PID. Yes i have successfully gotten back data in postman in XML format. I’ve also been able to get a response when doing the same API call through a DataMiner Automation Script too.. I’m confused why it would just be empty, since i also get data back even when i send the incorrect request params haha
Hi Donnell,
This issue will probably require an in-depth investigation that goes beyond the scope of this forum. Could you contact techsupport@skyline.be for this?
Hi Donnel,
Could you let us know how you have your response parameter (id=7) defined, to see if there is something that could be missing?
You mention that from Postman and Automation Script it works. Could you let us know if you see anything on DataMiner's StreamViewer that corresponds with the response body?
Additionally, would it be possible to compare both a request and a response via Wireshark comparing when it works with when it does not?
To add to that, the response content parameter will only contain the body of the HTTP response, HTTP headers and the status code are stored separately.