I have VB code that sets up the database connection and uses the PutDocument method to store an XML files. It works on my local Tamino database but when I try to use the same code and same XML file I get the following error: “HAAXJE8400 HTTP Error 400 Bad Request”. I realize that there is probably something wrong with the setup on my other Tamino database, but given the vague error message I don’t know what. I have checked my usercode access and all is well there. Can anyone give me some suggestions on other things to look for? Below is the code I am using to get to the database.
Set oTamino = New TaminoX
If oTamino.Initialize() = 1 Then
'setup connection to specified tamino db
oLog.Trace “StoreXML”, "Setup connection to Tamino database: " & TaminoPath & “/” & TaminoDB, Detail
With oTamino
.csDatabaseURL = TaminoPath & “/” & TaminoDB
.lPagesize = 0
.encoding = “ISO-8859-1”
.contentType = “text/xml”
End With
. . .
oTamino.PutDocument TaminoCollection, oNode
Thanks in advance for any help.
Heather
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs