Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Problems using AXL/SOAP on CUPS

Hello,

as an advanced Perl-Programmer I recently got the task to write a Perl-Routine to read Buddy-Lists from a Cisco Presence-Server using the the AXL-Interface of CUPS.

In "Developer Guide for Cisco Unified Presence Release 8.0" I found Examples for the SOAP-XML-Structure for the initial Login, but I can't get it working.

After I sent a reuqest to the Server, I receive the errormessage "Internal Server error. Ask system admin to check logs".

For thies task I was assigned adminstrative rights for the CUPS-AXL-Interface and got access to the Webadministration Site. So I had a look at the logfiles, our Administrator showed me, but I didn't find any hint to the Problem.

There where no errors or warnings or other hints in the logs.

Has anyone an idea about this?

Here my SOAP-Request an the serverresponse:

Request:

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"

                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"

                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xmlns:epas="urn:cisco:epas:soap"

                  xmlns="urn:cisco:epas:soap">

   <soapenv:Body>

      <login client-version="Cisco-UCModel01/1.1.9">

         <username>user</username>

         <password>passwd</password>

      </login>

   </soapenv:Body>

</soapenv:Envelope>

Response:

<?xml version=\'1.0\' ?>

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"

   xmlns:xsd="http://www.w3.org/2001/XMLSchema"

   xmlns:xml="http://www.w3.org/XML/1998/namespace"

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<env:Body>

  <epas:login-resp cup-version="8.6.1.10000(34)"  xmlns:epas="urn:cisco:epas:soap" >

   <epas:failure>

    <epas:reason>Internal server error. Ask system admin to check logs</epas:reason>

   </epas:failure>

  </epas:login-resp>

</env:Body>

</env:Envelope>

I would be grateful for any help.

Thanks in advance,

Markus Bueltbrune

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Problems using AXL/SOAP on CUPS

I am facing the same problem. Did you find any solution for this?.  I checked CUPS logs, through monitoring application could not find any clue, why my soap request fails. The error and CUPS version is same as yours.

Thanks in advance,

Regards,

Umair

4 REPLIES
New Member

Problems using AXL/SOAP on CUPS

I am facing the same problem. Did you find any solution for this?.  I checked CUPS logs, through monitoring application could not find any clue, why my soap request fails. The error and CUPS version is same as yours.

Thanks in advance,

Regards,

Umair

New Member

Problems using AXL/SOAP on CUPS

I'm sorry to say, but there's no change yet. Neither did I find the reason and a solution nor did I get further information to this problem.

At the moment I really think that it is a configuration problem or even a bug. I tried a script from a colleague, which worked on a prior version of CUPS. I couldn't find any difference in the SOAP-Request and I got the same error.

When I find out something, I'll post it.

Regards,

Markus

New Member

Re: Problems using AXL/SOAP on CUPS

Hello,

I just found the reason for the problem. Since CUPS Version 8.6.1 a client-type ist neede for logon. The following SOAP-Request worked at my server:

http://www.w3.org/2003/05/soap-envelope"

                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"

                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xmlns:epas="urn:cisco:epas:soap"

                  xmlns="urn:cisco:epas:soap">

  

        

         user

         passwd

     

  

Hope I can help you with that.

Best regards,

Markus

New Member

Re: Problems using AXL/SOAP on CUPS

Thank you Markus, i actually had that resolved with the CAXL manual section of  XMPP Client 3rd party integration. But i am now trying to figure out how XMPP request through sockets can be made. I am trying to do it successfully with Jabber-Net, and successfully done the presence info of devices from CUPS. Jabber-NET uses the socket connection with CISCO  XMPP server.

            I just want the simple end user authentication using simply XMPP stanza over through socket connection on port 5222. Did you try that?. Please i am not sure what exactly the XMPP request should be.

Thanks again for your reply.

i am just tryin to simplify my implementation, without using any C sharp api i.e Jabber-NET. What i have tried for now is Socket connection establishes with CUPS and my XMPP request for login is ::::

version="1.0"

xmlns="jabber:client"

xmlns:stream="http://etherx.jabber.org/streams">

P.S:: i took it from the book "XMPP: The Definite Guide"

Message was edited by: Umair Sheikh

818
Views
5
Helpful
4
Replies