SOAP problem |
Post Reply |
Author | |
cmorais
Contributor Joined: 23.Mar.2018 Location: Ireland Points: 12 |
Post Options
Thanks(0)
Posted: 29.Jan.2019 at 15:30 |
Hello All, I'm trying to get a SOAP connection to the API... It seems to work, but whenver I make a request: 15:09:16.583 receivingPackage: POST /MetaEditAPI HTTP/1.1I get an error: 15:09:16.584 handlingIncomingMessageIn: Transport<http> failedBecause: an Opentalk.SOAPUnmarshalingError{Unmarshaling error: this collection is empty}I'm not sure if my request are not good or something else. I guess is something really simple and I just missing the point... I got the MEOop from this generator:
Can you guys help me (again)? Thanks!
|
|
stevek
MetaCase Joined: 11.Mar.2008 Points: 641 |
Post Options
Thanks(0)
|
Maybe I'm missing something here, but a quick look at the XML in the request shows just a Body with "3_128", rather than any actual SOAP API message. Take a look at the manual's API chapter to see how to use your language's SOAP library to form calls.
Here's what I see in the log for receivingPackage: on a call to objectSet for 9_371: POST /MetaEditAPI HTTP/1.1 Host: localhost:6391 Soapaction: "http://metacase.com/MetaEditAPI.objectSet" Content-type: text/xml;charset=utf-8 Content-length: 559 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:ns="http://metacase.com/wsdl/" xmlns:ns0="http://metacase.com/type" xmlns:ns1="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <ns:objectSet SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <receiver xsi:type="ns0:MEOop"> <areaID xsi:type="ns1:int">9</areaID> <objectID xsi:type="ns1:int">371</objectID> </receiver> </ns:objectSet> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |