Highlighted
Absent Member.
Absent Member.
1927 views

Webservices - No such operation....

Hi,

I'm implementing remote application (Ruby on Rails) for Vibe, using ruby Savon SOAP client.

I can list all operations that Vibe offers,
but I'm not able to call any of them.
I always get "No such operation.... " error message back from the vibe server.

I've already setup the remote application in vibe and added it as an accessory to the workspace.


This is my request:
--------------------------

SOAP request: https://example.com/ssr/token/ws/TeamingServiceV1
SOAPAction: "binder_getFolders", Content-Type: text/xml;charset=UTF-8, Content-Length: 609

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:impl="http://ws.remoting.teaming.kablink.org/v1"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ins0="http://model.ws.remoting.teaming.kablink.org/v1">
<env:Body>
<impl:binder_getFoldersRequest>
<accessToken>1-75c3808ea9c2fce0012345664d8002c605c5253f-ff808082405eda1d1234568a7451004b-10-1-0-1</accessToken>
<binderId>48</binderId>
<firstRecord>0</firstRecord>
<maxRecords>-1</maxRecords>
</impl:binder_getFoldersRequest>
</env:Body>
</env:Envelope>




and response:
--------------------------
SOAP response (status 500)

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client</faultcode>
<faultstring>No such operation 'binder_getFoldersRequest'</faultstring>
<detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">vibe01-demo.site</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>




Any ideas?


Regards
Jiri
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Webservices - No such operation....

....btw. Vibe is in 3.4 version.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Webservices - No such operation....

SOLVED:


the ruby Savon SOAP Client formates the SOAP Request not correctly.
It use in soap body "<impl:binder_getFoldersRequest>" instead of "<impl:binder_getFolders>"
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.