Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 5 of 5

Thread: Consuming SM 7 WSDL.... any of them

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    24

    Question Consuming SM 7 WSDL.... any of them

    Hell all,
    Does anyone have any sample code in ANY language for consuming ANY of the SM 7 WSDLs? I am really looking for C#, but I should be able to "translate" appropriately.
    SM 7 only comes with the old SC 6.2 sample code that will not work with the SM 7 wsdl. Of course I opened a ticket with support and Development suggested I use the SC 6.2 web service. Sigh....

    It might also be nice to successfully get things working with SOAP UI (or similar free web services SOAP client) but I have not been successful in that. Maybe I'll post that in a new thread....

    I ask because I am not fully convinced the SM 7 WSDL works, but it is hard to prove such without a baseline to measure against such as HP Development provided sample code.

    Any help would be greatly appreciated.

    -- N

  2. #2
    Senior Member mateuszk's Avatar
    Join Date
    Nov 2006
    Posts
    302

    Default

    Hi,

    you're right, SM7 WSDL works. I have made some working examples of /SM/1/ChangeManagement.wsdl in java and ... well, it just works.

    Having said that, I believe there's no real reason for using SM7 wsdls
    instead of sc62 ones. SM7 wsdls lack "listing" feature, you can search only for one, specific record. In case the query returns more than one - WS server throws an xmlapi exception :-(

  3. #3
    Junior Member
    Join Date
    May 2008
    Posts
    24

    Default

    mateuszk,
    Thanks for the reply. I am happy to hear someone is able to get things working. What does your Authentication code look like, can you post a snippet of just those lines?

    As for the xmlapi exception, that sounds like a bug. If HP had provided sample code, we would be able to open a ticket with support with steps to reproduce using their code.

    -- n

  4. #4
    Senior Member mateuszk's Avatar
    Join Date
    Nov 2006
    Posts
    302

    Default

    1. Authentication works in exactly same way as in sc6.2 WS.
    Please search for the code on the forum as I'm sure somebody has already posted this.

    2. This is not a bug, unfortunately, looks more like a "feature" :-(
    Support is aware of this issue, I know of at least 2 cases for this.


    Regards.

  5. #5

    Default

    I also build some apps to use SOAP-Webservice in SM7 with the same result. Some differences in logical structure of the WSDL. An no method to load a key list

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts