Home>


Get files from C # application using Garoon SOAP API

● I don't know
How to resolve exceptions

Send a message using the Garoon API in VisualStudio2017< br /> Web reference added with reference to the above site

Get a file
Create code by fumble to try the above API for the time being

var test = new web reference name.CabinetBinding ();
            var hid = new web reference name CabinetGetFileInfoRequestType ();
            hid.hid = "8";
            try
            {
                var ret = test.CabinetGetFileInfo (hid);
            }
            catch (SoapException e)
            {
            }


An exception occurs and the exception content is "SOAP request is invalid."
The details are "\"Header \"does not exist in the SOAP request."

If i try to log in for the time being and try the code, the exact same exception has occurred
I understand that there is a problem with the way of request.

The result is "SOAP request is invalid.
The situation is exactly the same as the above page.

There is no description of API using VisualStudio on the official site
I don't know how to solve it without answering the question ...

GRN_UTIL_API_65001
Because I know that the error code is coming back
Garoon SOAP API notes

"An error (GRN_UTIL_API_65001) is returned if a namespace other than xmlns: soap ="http: //www.w3.org/2003/05/soap-envelope"is set in the element included in the request."
I thought it was the cause, but I don't know how to specify the namespace ...
It is a feeling.

Someone can use any information, so I would be grateful if you could give me a hint.