Not quite sure what is the exact version of the .NET API you're working
with. 

If you're working with reasonably recent drop and then you should have
the "WebServiceContainer" object. This is an extended type of the
Container, with this you already get some level of functionality
above/beyond what the 'raw' Container (in fact WebService is just a
container from a server object standpoint and all its characteristics
are stored as references as Carey described). The WebServiceContainer
has properties such as WebServiceProperties, Operations,
XmlSchemaLocation, Mappings, WSDL, PublishLocation and so on. As you
might have realized most of these properties are string-type-valued
often as XML documents/snippets. See how these things look/work for you.
If you want to further decipher these XML snippets into what you
typically see & edit in Admin Tool -- then you're on your own, at least
for now.

Regards
Appajee


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Thursday, May 24, 2007 9:37 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need pointers to get list of Input/Mapping Fields ina
Webservice using the .NET API

Vinod,

I am not a .NET API person... but....

I think your looking in the right places. But your just not finding
what you think you should be finding.

Based on the C API guide the actual object is stored in chunks of XML.

Specifically if you look at theARExtReferenceStructs, specifically
32798 (ARREF_WS_OPERATION) which is described as:
"
Reference to web service operation information (XML string consisting
of name, type, mapping names, and so on).
"

If you look at the def file format and the XML file format of an
exported ARS Web Service you will see XML documents that are included
for the parts of the Web Service it self.

I would bet that your best (easiest) route is to get the WSDL itself
and use "standard" web service tools to parse and interpret it from
there.  [32800 ARREF_WS_WSDL]

But you can choose your own path once you export the object.

HTH.

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.


On 5/24/07, Vinod Kumar <[EMAIL PROTECTED]> wrote:
> **
> Hi Listers,
>
> Thankyou for the tips provided in getting the definiion of filter
guide
> using the >NET API.
>
> I have yet another requirement  where i need to get the information of
the
> list of operations involved in a webservice and the fields mapped in
the
> input/output mappings of the corresponding operation.
> I tried hard to find out a way to get these information but could nt
> succeed.
>
> Please help me in getting the list of operations and the fields
related to
> its mapping.
>
> I find difficulty because whenever i get the information, i get it as
an XML
> Definition.
>
> THanks and REgards,
> Vinod

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to