I'm creating a new Document using Document?wsdl > create Request. The server return:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
The Requestmessage is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="http://document.webservice.logicaldoc.com/">
<soapenv:Header/>
<soapenv:Body>
<doc:create>
<!--Optional:-->
<sid>764cfed6-02db-402a-a142-b646acf297f8</sid>
<!--Optional:-->
<document>
<!--Optional:-->
<creator>Administrador Administrador</creator>
<creatorId>1</creatorId>
<dateCategory>0</dateCategory>
<docType>2</docType>
<exportStatus>0</exportStatus>
<!--Zero or more repetitions:-->
<!--Optional:-->
<fileName>Reporte</fileName>
<fileSize>25859</fileSize>
<!--Optional:-->
<folderId>9</folderId>
<id>36</id>
<immutable>0</immutable>
<indexed>0</indexed>
<!--Optional:-->
<language>es</language>
<!--Optional:-->
<lengthCategory>0</lengthCategory>
<!--Optional:-->
<!--Optional:-->
<publisher>Administrador Administrador</publisher>
<publisherId>1</publisherId>
<signed>0</signed>
<size>25859</size>
<status>0</status>
<!--Optional:-->
<!--Zero or more repetitions:-->
<tags>Matriz reporte</tags>
<!--Optional:-->
<templateId>11</templateId>
<!--Optional:-->
<title>Reporte</title>
<!--Optional:-->
<type>xls</type>
<!--Optional:-->
<version>1.0</version>
</document>
<!--Optional:-->
<content>PHRhYmxlIGJvcmRlcj0iMSIgd2lkdGg9IjEwMCUiPgoJPHRyIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiM4NDg0ODQ7Ij4KCQk8dGggY29sc3Bhbj0iNCI+UFJPQ0VESU1JRU5UTzwvdGg+CgkJPHRoIGNvbHNwYW49IjMiPklOU1RSVUNUSVZPPC90aD4KCQk8dGggY29sc3Bhbj0iNCI+UkVHSVNUUk88L3RoPgoJPC90cj4KCTx0ciBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojODQ4NDg0OyI+CgkJPHRoPkPzZGlnbzwvdGg+CgkJPHRoPk5vbWJyZTwvdGg+CgkJPHRoPlJlc3BvbnNhYmxlPC90aD4KCQk8dGg+VmVyc2nzbjwvdGg+CgkJPHRoPkPzZGlnbzwvdGg+CgkJPHRoPk5... (64base binary)</content>
</doc:create>
</soapenv:Body>
</soapenv:Envelope>
Can you help me where is the fault?.
Thanks
create Document
Moderator: car031
Post
Re: create Document
On this page you can find some clients for the various Programming language: http://wiki.logicaldoc.com/wiki/Web_Services
Also on the same wiki we published the Web-service reference of LD 6.0 http://wiki.logicaldoc.com/wiki/Web_Services_Reference
Also on the same wiki we published the Web-service reference of LD 6.0 http://wiki.logicaldoc.com/wiki/Web_Services_Reference
Post
Re: create Document
Thanks.
The error was in the date format. I fixed the format from Y-m-d to the Y-m-d H:i:s
The error was in the date format. I fixed the format from Y-m-d to the Y-m-d H:i:s
Post
Re: create Document
Hi Juhane,
may I ask you in what programming language you're calling the web-services of logicaldoc?
Just last Friday we have updated all the examples in different programming languages (. NET, Java and PHP), I'm glad that our examples have been of help.
Best regards
Alex
may I ask you in what programming language you're calling the web-services of logicaldoc?
Just last Friday we have updated all the examples in different programming languages (. NET, Java and PHP), I'm glad that our examples have been of help.
Best regards
Alex
Post
Re: create Document
Hi Alex,
I'm not a big fan of .NET (load time, resources ...). I prefer to stick with C++ for the rest of my carer
Thanks,
Enrico
Is there by any chance a C++ version (even if totally incomplete)? No problem if not, it just would help to save some time. Especially in user authentication I would have to do a lot of reverse engineering.Just last Friday we have updated all the examples in different programming languages (. NET, Java and PHP), I'm glad that our examples have been of help.
I'm not a big fan of .NET (load time, resources ...). I prefer to stick with C++ for the rest of my carer
Thanks,
Enrico
Post
Re: create Document
I'm sorry Enrico
but actually we don't have the Web-services samples for C++.
Maybe in the future, I hope
but actually we don't have the Web-services samples for C++.
Maybe in the future, I hope
Who is online
Users browsing this forum: Google [Bot] and 19 guests