Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
SharePlus and (hardcoded) "soap" namespace prefix
posted

Hi,

We are trying to use SharePlus with our application which is simulating Sharepoint WebServices.

For some reason it didn't work although we simulated all the SP responses properly.

At the end we found out that the problem is in the namespace prefix. Our AXIS engine is generating "soapenv" for the namespace prefix, e.g.:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soapenv:Body>
      <GetWebResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
         <GetWebResult>
            <Web Title="Home" Url="http://192.168.0.103" Description="" Language="1033" Theme="" FarmId="{8a7946bf-fda6-495d-9830-5263422d898c}" Id="{ff06d9af-7d4f-4f33-9abe-42d5b6948e7d}" ExcludeFromOfflineClient="False" CellStorageWebServiceEnabled="True" AlternateUrls="http://sasaboy-sony/" />
         </GetWebResult>
      </GetWebResponse>
   </soapenv:Body>
</soapenv:Envelope>

which is perfectly valid response.

However, when we do that, the 2nd request from SharePlus is not send to our application server but is a relative path and thus it fails. Here is a snippet of SharePlus log for the 2nd request:

REQUEST
Date: 2013-12-16T12:17:21Z
Url: /_vti_bin/Webs.asmx
Headers: {
"Accept-Encoding" = gzip;
"Content-Length" = 344;
"Content-Type" = "text/xml; charset=utf-8";
SOAPAction = "http://schemas.microsoft.com/sharepoint/soap/GetWebCollection";
"User-Agent" = "Mozilla/5.0 (iPad; U; CPU OS 5_0 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C134 Safari/6533.18.5";
}

As you can see, the Url value is relative path (BTW, SharePlus logs are really great!).

Is it possible to fix this in SharePlus so it doesn't matter if namespace prefix is called "soap", "soapenv", "myprefix", ... or anything else as long as it is properly defined in XML?

I assume there are many other applications simulating Sharepoint and it would be great if users could use SharePlus as a client on their mobile devices.

Thanks in advance,

Sasa.

  • 9750
    Offline posted

    Hello Sasa,

    Thank you for posting at IG forums!

    I understand what you're trying to pursue and it makes sense in your context. I'd appreciate if you could add your idea here: https://southlabs.uservoice.com/forums/114543-general/category/43791-shareplus-ios

    This will helps us see how many users are interested in this in order to evaluate implementing the change you propose.

    Alternatively, you may be interested in having a customized version of SharePlus for your company. If you're interested, I can put you in contact with our sales dept.

    Looking forward to hearing from you,

  • 0
    Offline posted

    Hi! If you live in Australia and can't find a good online cаsino, then I'll be happy to recommend rocknreels to you. After all, this is the best online cаsino in Australia! Here you will find a large number of slots and constant nice bonuses! If you haven't played in an online cаsino yet, it's time to start. I recommend.

  • 0
    Offline posted

    Finding a reliable thesis writing service https://essayservice.com/custom-thesis-writing requires careful research. Start by reading reviews on independent platforms to gauge the credibility and quality of services offered. Look for companies with experienced writers who specialize in your subject area. Ensure they offer plagiarism-free content, timely delivery, and strong privacy policies. Communication with the service before committing can also provide insights into their professionalism and support.