API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Economic.Api.Exceptions.ServerException(E00000)(Order_GetData soap api)

0
I am developing an app to get all order details of user.

I am stack with Order_GetData soap api.

By using Order_GetAll soap api I am getting all the Order Handle i.e. Id.

And sending those Id inside ,

             <entityHandle>
                   <Id>1</Id>
             </entityHandle>

But in response I am getting ,

           <soap:Fault>
              <faultcode>soap:Server</faultcode>
                <faultstring>Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred.id=5a90f66d-f0d2-47f8-8077-f846d011e9e5)

                </faultstring>
                 <detail />
           </soap:Fault>

Please help me to solve this problem.
created Apr 29, 2016 by suman
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0
Hi Suman
 
You're missing the soap:Body element: <soap:Body></soap:Body>
Please compare your XML below to the schema found here: Order_GetData (this goes for all your requests though).

<?xml version="1.0" encoding="utf-8"?>
    
    
   
  <Order_GetData xmlns="http://e-conomic.com">;
      <entityHandle>
        <Id>1</Id>
      </entityHandle>
  </Order_GetData>
  
  
</soap:Envelope>
 
Versus
 
 
answered Apr 29, 2016 by olej
Visma e-conomic A/S
...