<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>application user issue experienced with presence-service on CUP 8.6.3</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>application user issue experienced with presence-service on CUP 8.6.3</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-06-20T11:27:22Z</updated>
  <dc:date>2013-06-20T11:27:22Z</dc:date>
  <entry>
    <title>RE: application user issue experienced with presence-service on CUP 8.6.3</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289761" />
    <author>
      <name>Matthew Penn</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289761</id>
    <updated>2012-03-14T16:02:05Z</updated>
    <published>2012-03-14T16:02:05Z</published>
    <summary type="html">Thanks again for your help Jose, the detail is much appreciated.</summary>
    <dc:creator>Matthew Penn</dc:creator>
    <dc:date>2012-03-14T16:02:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: application user issue experienced with presence-service on CUP 8.6.3</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289339" />
    <author>
      <name>Matthew Penn</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289339</id>
    <updated>2012-03-14T12:07:16Z</updated>
    <published>2012-03-14T12:07:16Z</published>
    <summary type="html">Looks like I may be set here for now!

The validappusers query only returned one result which was the account which belonged to "Admin 3rd Party API" (and not the other account in CUP super users). I reset the password for this account, resubmitted the request and got a session key back.

I would also note FTR that application user accounts don't appear to become valid on changing to the correct group. I moved the account which had been in "CUP super users" into "Admin 3rd Party API" and re-ran the sql query and found it was still not listed as valid. I then reset the password, re-ran the sql query and saw it appear. 

Thanks both for your help.</summary>
    <dc:creator>Matthew Penn</dc:creator>
    <dc:date>2012-03-14T12:07:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: application user issue experienced with presence-service on CUP 8.6.3</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289265" />
    <author>
      <name>Matthew Penn</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289265</id>
    <updated>2012-03-14T11:26:42Z</updated>
    <published>2012-03-14T11:26:42Z</published>
    <summary type="html">Hi guys,

I get the same result when the log in request uses an enduser's credentials.

The SOAP envelope is correct and I loaded the WSDL from http://cupstest1:8082/presence-service/soap?wsdl

Full request/response:

&lt;?xml version="1.0" encoding="http://www.w3.org/2003/05/soap-envelope" 
standalone="no"?&gt;
&lt;soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt;
  &lt;soapenv:Body&gt;
     &lt;login xmlns="urn:cisco:cup:presence:soap" force='1'&gt;
        &lt;username&gt;axltest&lt;/username&gt;
        &lt;password&gt;axltest&lt;/password&gt;
     &lt;/login&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;

&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cup="urn:cisco:cup:presence:soap"&gt;
   &lt;SOAP-ENV:Body&gt;
      &lt;SOAP-ENV:Fault&gt;
         &lt;SOAP-ENV:Code&gt;
            &lt;SOAP-ENV:Value&gt;SOAP-ENV:Sender&lt;/SOAP-ENV:Value&gt;
         &lt;/SOAP-ENV:Code&gt;
         &lt;SOAP-ENV:Reason&gt;
            &lt;SOAP-ENV:Text&gt;Failed to login user&lt;/SOAP-ENV:Text&gt;
         &lt;/SOAP-ENV:Reason&gt;
         &lt;SOAP-ENV:Detail&gt;
            &lt;description xmlns="urn:cisco:cup:presence:soap"&gt;
               &lt;code&gt;114&lt;/code&gt;
               &lt;message&gt;Failed to login user&lt;/message&gt;
               &lt;fix&gt;Ensure the login data is valid&lt;/fix&gt;
            &lt;/description&gt;
         &lt;/SOAP-ENV:Detail&gt;
      &lt;/SOAP-ENV:Fault&gt;
   &lt;/SOAP-ENV:Body&gt;
&lt;/SOAP-ENV:Envelope&gt;

[quote]Check if the application user is assigned to the right group from the CUP administration GUI which I think you have, I dont think there are any special roles for that group. [/quote]

Per my original post I have tried using both "CUP Super Users" and "Admin 3rd Party API" which of these is correct? In my testing both yielded the same result.

[quote]file tail activelog tomcat/logs/epassoap/log4j/*.log
[/quote]

I don't see any activity in these logs when submitting my request, only the the errors in:

admin:file tail activelog epas/trace/esp/sdi/esp00000012.txt

Thanks,
Matt</summary>
    <dc:creator>Matthew Penn</dc:creator>
    <dc:date>2012-03-14T11:26:42Z</dc:date>
  </entry>
  <entry>
    <title>application user issue experienced with presence-service on CUP 8.6.3</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5270282" />
    <author>
      <name>Matthew Penn</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5270282</id>
    <updated>2012-03-09T11:32:24Z</updated>
    <published>2012-03-09T11:16:42Z</published>
    <summary type="html">I'm trying to test the CUP SOAP web service using soapUI. However when I attempt to send me login request I get back a "ensure the login data is valid" message.
On inspection of CUP logs using the CLI I see the following:
admin:file tail activelog epas/trace/esp/sdi/esp00000012.txt
08:23:09.519 |PID(1881) tpi_sip.c(1279) tpi_login_request(): User is no an App User
08:23:09.519 |PID(1811) tpi_soap.c(229) __cup__login(): Login failed. Invalid username: axltest
 
However "axltest" definitely is an application user (in the standard CUP Super Users group), and works with the AXL admin API for SQL queries. Is this not the correct setup for an application user for the soap-service?
 
The only mention of which group to use I found in the CUP developer guide was "Admin 3rd party API" but I tried this and got the same result (I also noticed that this group did not add any roles).
Any advice on the correct configuration or further troubleshooting steps would be appreciated.
Thanks,
Matt</summary>
    <dc:creator>Matthew Penn</dc:creator>
    <dc:date>2012-03-09T11:16:42Z</dc:date>
  </entry>
</feed>

