Hello,
I hope this is the right forum for my question…
I’m writing a perl API for accessing Tamino. One method named load is already able
to load nonxml data without any problems, but it has persitent problems with xml data.
With LWP::UserAgent from libwww-perl-5.69 the code for uploading test.xml into
database ben and collection test looks like this:
$url = “http://pink/tamino/ben/test”;
$file = “test.xml”;
my $agent = LWP::UserAgent->new();
my $response = $agent->post($url,
Content_Type => ‘multipart/form-data’,
Content => [_process => [$file]]);
There’s a correct schema and the doctype fits as well, but I always end up with
INOXDE7935 Schema not found.
Then, I had a look at how the Tamino Interaktive Interface does it and I replicated
the method in a simple html form, that works flawlessly with my test.xml:
Choose File:
I have no idea, how these methods differ, and I would really appreciate if some one could
give me a hint!
Thank you very much,
Ben
#API-Management#Tamino#webMethods