Webservice - Soap

Hey people.

Didnt know where to put this so posted it here. I'm looking for some
documentation about the zenworks webservices. I would like to be able to
use some methods from some vbscripts. To get specific i would like to
search the zone for all registration keys. Anyone have any kind of SDK
information for zenworks?


-- 
johwes
------------------------------------------------------------------------



0
johwes
2/3/2011 10:36:02 AM
novell.zenworks.10.install 2954 articles. 0 followers. Follow

6 Replies
725 Views

Similar Articles

[PageSpeed] 28

Johwes,

there's no SDK at this time...

-- 

Shaun Pond


0
Shaun
2/3/2011 11:38:50 AM
But ZMAN automation may be able to help.
Clearly less preferred on your part, but it may be an option.

On 2/3/2011 6:38 AM, Shaun Pond wrote:
> Johwes,
>
> there's no SDK at this time...
>


-- 
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
0
craig
2/3/2011 2:21:00 PM
Craig,

agreed

-- 

Shaun Pond


0
Shaun
2/3/2011 5:38:20 PM
spond;2071809 Wrote: 
> Craig,
> 
> agreed
> 
> --
> 
> Shaun Pond

Hmm shame, wont work in my case. Am trying to integrate ZCM into a
customers deployment process. They are running MDT (Microsoft deployment
Toolkit) and so i'm inside windows PE at the time. I did write a
vbscript to pull it directly from the Database, but it's hard to figure
out how to read the registration rules (binary data etc). Ahh well i'll
poke around a while to see if i can figure it out on my own then. Thanks
for the answers.

/J


-- 
johwes
------------------------------------------------------------------------
johwes's Profile: http://forums.novell.com/member.php?userid=11075
View this thread: http://forums.novell.com/showthread.php?t=431583

0
johwes
2/4/2011 7:36:03 AM
Johwes,

there is a Cool Solution that allows you to run zman from a 
workstation...

-- 

Shaun Pond


0
Shaun
2/4/2011 10:09:03 AM
johwes wrote:

> I'm looking for some
> documentation about the zenworks webservices.

the SOAP interface is self-documenting, at least for the most part, e.g.
https://my.zenserver.org/zenworks-deviceadmin/

Take a look at the content of the "webapps" folder inside your zenserver
install path for the names of all service that you might want to check out and
replace the "zenworks-deviceadmin" part of the above rule.

A good way to get a feeling of how to use the interface is to install wireshark
on a primary and trace similar zman commands (use the --cleartext option with
zman in that case to avoid having to set up SSL decryption in wireshark).

Tracing e.g. 

zman rl -r --cleartext --host=myotherprimary -U Administrator

calls https://.../zenworks-registrationadmin and looks like this in a trace:

<ns1:getRegistrationKeyRootRequest
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
</ns1:getRegistrationKeyRootRequest>

<ns1:getRegistrationKeyRootResponse
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<return>
		<ns2:UID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">ece4cf6f0681095bde5b5a8
b7aaae613</ns2:UID>
		<ns2:Name
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Keys</ns2:Name>
		<ns2:InternalName
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">~keys~</ns2:InternalNam
e>
		<ns2:Path
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">/Keys</ns2:Path>
		<ns2:InternalPath
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">/~keys~</ns2:InternalPa
th>
		<ns2:PrimaryType
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Folder</ns2:PrimaryType
>
		<ns2:SubType
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Registration
Folder</ns2:SubType>
		<ns2:GeneralType
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">0</ns2:GeneralType>
		<ns2:Deletable
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">false</ns2:Deletable>
		<ns2:Undeletable
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">true</ns2:Undeletable>
		<ns2:ErrorWarningStatus
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">1</ns2:ErrorWarningStat
us>
		<ns2:ComplianceStatus
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">1</ns2:ComplianceStatus
>
	</return>
</ns1:getRegistrationKeyRootResponse>

<ns1:searchRequest
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<folderUID>ece4cf6f0681095bde5b5a8b7aaae613</folderUID>
	<options>
		<ns2:Recursive
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">true</ns2:Recursive>
		<ns2:ReturnFields
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">ZENObject/Description</
ns2:ReturnFields>
		<ns2:SortOptions
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">
			<FieldNames>ZENObject/InternalName</FieldNames>
			<Options>1</Options>
		</ns2:SortOptions>
	</options>
</ns1:searchRequest>

<ns1:searchResponse
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<return>
		<ns2:UID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">ZENObject/-402633268/12
16929569248</ns2:UID>
		<ns2:Count
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">1</ns2:Count>
		<ns2:CountComplete
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">true</ns2:CountComplete
>
		<ns2:Ordered
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">false</ns2:Ordered>
		<ns2:AdminID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Registrations</ns2:Admi
nID>
	</return>
</ns1:searchResponse>

<ns1:getSearchResultsRequest
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<searchToken>
		<ns2:UID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">ZENObject/-402633268/12
16929569248</ns2:UID>
		<ns2:Count
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">1</ns2:Count>
		<ns2:CountComplete
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">true</ns2:CountComplete
>
		<ns2:Ordered
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">false</ns2:Ordered>
		<ns2:AdminID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Registrations</ns2:Admi
nID>
	</searchToken>
	<index>0</index>
	<count>1</count>
</ns1:getSearchResultsRequest>

<ns1:getSearchResultsResponse
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<return>
		<ns2:UID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">f2dc5d4739ed71d3c99db8f
39d650348</ns2:UID>
		<ns2:Name
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">test-reg-key</ns2:Name>
		<ns2:InternalName
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">test-reg-key</ns2:Inter
nalName>
		<ns2:Path
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">/Keys/test-reg-key</ns2
:Path>
		<ns2:InternalPath
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">/~keys~/test-reg-key</n
s2:InternalPath>
		<ns2:PrimaryType
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Registration
Key</ns2:PrimaryType>
		<ns2:Fields
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">
			<Name>ZENObject/Description</Name>
			<Values
				xsi:type="xsd:string"></Values>
		</ns2:Fields>
	</return>
</ns1:getSearchResultsResponse>

<ns1:releaseSearchTokenRequest
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<searchToken>
		<ns2:UID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">ZENObject/-402633268/12
96929569248</ns2:UID>
		<ns2:Count
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">1</ns2:Count>
		<ns2:CountComplete
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">true</ns2:CountComplete
>
		<ns2:Ordered
			xmlns="http://novell.com/zenworks/datamodel/objects"
			xmlns:ns2="http://novell.com/zenworks/datamodel/objects">false</ns2:Ordered>
		<ns2:AdminID
			xmlns="http://novell.com/zenworks/datamodel/objects"

xmlns:ns2="http://novell.com/zenworks/datamodel/objects">Registrations</ns2:Admi
nID>
	</searchToken>
</ns1:releaseSearchTokenRequest>

<ns1:releaseSearchTokenResponse
	xmlns="http://novell.com/zenworks/datamodel/services/registrations/soap"
	xmlns:ns1="http://novell.com/zenworks/datamodel/services/registrations/soap">
	<return>true</return>
</ns1:releaseSearchTokenResponse>

Now when you check https://.../zenworks-registrationadmin/?rmi on your server
you'll find that there is also a "getAllSearchResults
" function besides the search/getSearchResults/releaseSearchToken functions
zman uses. It takes the same parameters as the search function and returns all
results in a single response. Much easier to work with if you ask me...

Good luck!
0
Lothar
2/5/2011 6:38:16 PM
Reply:

Similar Artilces:

Ubuntu 10.10 on 10/10/10 at 10:10:10
Kinda neet. I imagine that time was UTC? Bill -- Bill_MI - Bill in Michigan Expert Opinions $20, Shut-Up $50 On Sun, 10 Oct 2010 17:28:14 -0400, Bill_MI wrote: > Kinda neet. I imagine that time was UTC? Released on 10/10/10, at 10:10:10?? We'll have to call this one Ubuntu Masonic! :-) Bill_MI wrote: > Kinda neet. I imagine that time was UTC? Installed last night on my testbed laptop. Installer is different from previous versions. Main improvement is that the bootloader installation is not hidden behind an Advanced button on the last screen. Early in th...

Downgrade Zenworks 10.3.3 to Zenworks 10.3.2
Hi all..i got a request from customer to do downgrade Zenwork Agent from 10.3.3 to 10.3.2.. In before, we are using 10.3.2 and then, after download 10.3.3, the mark item in "System Update" move to 10.3.3.. And the status of 10.3.2 has been "Superceded"..while the status for 10.3.3 is "downloaded". Right now, all workstation and satellite server still using 10.3.2, and use change their mind to use back 10.3.2...even i suggest to upgrade all device with the latest version, but user still dont want it.. They ask me to use 10.3.2 back.. If i delete 10.3.3 ve...

Bundles from 10.0.3 install after a new 10.1.2 install
I have installed 10.1.2 on some new client machines and after the install I am noticing bundles from 10.0.3 are installing from somewhere. I don't make any 10.0.3 bundles so I am guessing it is some type of auto update that did not get shut off. Anyone have a idea where I can kill this off? Windows 2003SP2 server w/ ZCM 10.1.2 Thanks, Jim Koerner Jim, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might tr...

Zenworks 10.2 install problem
zenworks installer after the license agreement exits with out any error message. So I ran the install with -d (debug mode) and it got to "Calling: cleanupUnix()" and then it says "Exiting with exit code: -1" anyone got ideas why this might be happening. I'm upgrading from 10.1.2a to 10.2 (media) -- knodi ------------------------------------------------------------------------ Knodi, > I'm upgrading from 10.1.2a to 10.2 (media) > you can't do this upgrade from the media, sorry. See TID 7003225 for details of how to upgrade ...

10.0.2 installed, still asks to install 10.0.2 update
I installed the 10.0.2 update about ten days ago and it is verified on the About page. However, I get numerous daily reminders to install the 10.0.2 update. So I checked "never check for updates" but that apparently isn't working either because I'm getting all of the reminders. So what's my only option: uninstall and then reinstall? I'm a bit leery of doing that: everything else seems to be functioning properly. However, when I previously installed the 10.0.1 update, numerous things were broken on my Win7 system and I had to revert to a restore poi...

Update 10.2.1
Upgraded from 10.2.0 to 10.2.1 with no error. BUT The RPM and MSI folder under Zenworks\Install\Downloads still contains files for 10.2.0. Under System-Updates all new files have version 10.2.1 The folder tools contains files with version 10.2.1 What is wrong? Can I move the files manually? /Niklas -- hellblad ------------------------------------------------------------------------ hellblad, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem be...

ZENWorks 10 CM Install -- "Unable to contact domain"
Hi All, I'm rather stumped by this one (hopefully it's something obvious that I'm missing). I am trying to install the ZENworks 10 Configuration Management SP2 server on a Windows Server 2008 R2 box. I've gone through the installation process, and specified that I want to create a NEW database on a SQL Server (SQL Server 2008). I filled out the requisite information, entered the necessary credentials, but I get an error message that says "Unable to contact domain at 'ad.engr.uconn.edu'. Please make sure DNS is setup, the server is reachable and th...

10.2.2->10.3 Works, just 10.3 install doesn't
I have a very odd issue. If i install 10.2.2 and then upgrade it to 10.3 through the system update deployment, everything works fine. If i try to install 10.3 on a fresh machine without installing 10.2.2 first it starts failing on things like downloading DAU, downloading group policy files, etc. Any ideas? I have run the post-10.3 patch after installing it the day it came out. I have rebuilt my preagent packages.....still not working... Primary Server 1 10.3 Win2k8 Primary Server 2 10.3 Linux VMware appliance clients are all windows xp sp3 -- adisarro ---------...

Installing Flashplayer 10 in Suse 10.3
I'm trying to install the new Adobe version 10 flashplayer for Firefox. I've downloaded the .tar.gz file from Adobe, and unpacked it (tar -xvzf). I get the libflashplayer.so file, but no installer file. What am I doing wrong? OpenSuse 10.3, KDE 3.5.7 (release 72.11), FIrefox 3.5, 1.4 Ghz CPU. -- Roy_Preston ------------------------------------------------------------------------ There is no installer you just copy the file libflashplayer.so to /usr/lib/browser-plugins You must have removed any flash in Yast first You must be su to copy the file over...

Zenworks 7 to Zenworks 10.0.3
Has anyone had any problems updating to 10.0.3 from version 7. Also do I need to remove version 7 before installing version 10.0.3. -- forthehorde ------------------------------------------------------------------------ ZCM 10.0.3 is in essence a totally new product. It should be viewed is more of a Migration to a New Product than an Upgrade of an old Product. ZCM 10 and ZDM7 can both reside on the same NetWork, but the Agents cannot be installed on the same PC. When you install the ZCM10 agent on a PC, it will remove the ZDM7 Agent. ZCM10 when first released had m...

Installation Manuals for a secure SLES 10 installation
Hi, I'm searching for a installation manual wich descirbe how i can install SLES as *secure* as possible. If possible in German but English also okay Thanks -- kruegerandreas ------------------------------------------------------------------------ kruegerandreas <kruegerandreas@no-mx.forums.novell.com> wrote: > I'm searching for a installation manual wich descirbe how i can install > SLES as *secure* as possible. I'm not aware of documents in this area which I would classify as installation manuals. For the previous SLES version, there...

How to upgrade zenworks 10.0.3 to 10.1
How to upgrade zenworks 10.0.3 to 10.1 ???? is there a upgrade file or do i have download a comlete zenworks 10.1 and repair the installation??? -- hans211 ------------------------------------------------------------------------ Hans211, check out http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=7001200&sliceId=SAL_Public it's the same to install or upgrade. http://www.novell.com/documentation/zcm10/zcm101_upgrade/data/be9cw6l.html has the upgrade details -- Shaun Pond ahh. i thougt it too, but dont want to b...

installing kde after installing suse 10 just with gnome
I just installed suse enterprise server 10 and during install I only selected GNOME as my desktop environment. What I want to do now is install KDE too.... I entered yast and searched for kde on my install cd... i get a lot of kde components, but I don't really know what to select... no automatic dependency between packeges is made. The thing is I would like an easy install of kde and then be able to swith between kde and gnome from the login window's session tab. If anybode could guide me I would be very gratefull. thx in advance -- kux ----------------------------...

Upgrading from Zenworks 10.0.3 to 10.2
Would it be better for wait for 10.2? or should I upgrade from 10.0.3 to 10.1/1 now. Currently ZCM is really messy but we work around it and its working out ok after months of getting use to ZCMs short comings. So should I update know or wait for 10.2? -- knodi ------------------------------------------------------------------------ I believe that ZCM 10.1.0 will be the minimum requirement to upgrade to 10.2.0 If you are somewhat stable, the best option will likely be to Upgrade to 10.1.0 and then 10.1.3 (Hopefully available this month and will be cumulative from 10...

WebService #10
 Hello Everyone,I'm looking for tutorials on how to create webservice, and I've noticed that there is only one on this site . Please point me to a good site with more tutorials on webservices  if you know of any, thank you in advance for your help.  Refer to the following links. http://msdn.microsoft.com/en-us/library/8wbhsy70(VS.80).aspx http://msdn.microsoft.com/en-us/library/7hs6sw69(VS.80).aspx Hope this helps. hi, You can have a look at this article as well for creating a simple web service: http://www.codeproject.com/KB/webservices/myservice.aspx ...