Obfuscating attribute from WSDL.

Discussion in 'ASP .Net Web Services' started by pradeep_TP, Sep 1, 2006.

  1. pradeep_TP

    pradeep_TP Guest

    hello everybody,

    I have simple web method in a web service that is returning a data of a user
    defined type. When I refer to this web service from my client application, I
    can see this user defined type appearing as a complex type data type inside
    the WSDL file. The user defined type is an entity class with two properties
    that is setting and returning a string value.

    I want that one of the attributes inside this class to be hidden from the
    clients using this webservice. I want to somehow obfuscate the first propery
    in the entity class without actually modifying the entity class. Is there any
    way that I can attribute a property so that it doesn’t get pumped out of the
    SOAP in the
    WSDL.?

    Thanks!
    pradeep_tp
    pradeep_TP, Sep 1, 2006
    #1
    1. Advertising

  2. "pradeep_TP" <> wrote in message
    news:...
    > hello everybody,
    >
    > I have simple web method in a web service that is returning a data of a
    > user
    > defined type. When I refer to this web service from my client
    > application, I
    > can see this user defined type appearing as a complex type data type
    > inside
    > the WSDL file. The user defined type is an entity class with two
    > properties
    > that is setting and returning a string value.
    >
    > I want that one of the attributes inside this class to be hidden from the
    > clients using this webservice. I want to somehow obfuscate the first
    > propery
    > in the entity class without actually modifying the entity class. Is there
    > any
    > way that I can attribute a property so that it doesn't get pumped out of
    > the
    > SOAP in the
    > WSDL.?


    Take a look at the XmlIgnoreAttribute.

    John
    John Saunders, Sep 1, 2006
    #2
    1. Advertising

  3. pradeep_TP

    pradeep_TP Guest

    I have already found that out. Thanks for your help by the way :)

    "John Saunders" wrote:

    > "pradeep_TP" <> wrote in message
    > news:...
    > > hello everybody,
    > >
    > > I have simple web method in a web service that is returning a data of a
    > > user
    > > defined type. When I refer to this web service from my client
    > > application, I
    > > can see this user defined type appearing as a complex type data type
    > > inside
    > > the WSDL file. The user defined type is an entity class with two
    > > properties
    > > that is setting and returning a string value.
    > >
    > > I want that one of the attributes inside this class to be hidden from the
    > > clients using this webservice. I want to somehow obfuscate the first
    > > propery
    > > in the entity class without actually modifying the entity class. Is there
    > > any
    > > way that I can attribute a property so that it doesn't get pumped out of
    > > the
    > > SOAP in the
    > > WSDL.?

    >
    > Take a look at the XmlIgnoreAttribute.
    >
    > John
    >
    >
    >
    pradeep_TP, Sep 1, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Obfuscating web apps

    , Feb 14, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    522
    Scott Allen
    Feb 15, 2006
  2. Tina

    newbie obfuscating issue

    Tina, Aug 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    661
    Kumar Reddi
    Aug 9, 2006
  3. Anthony Rossi

    obfuscating C executable

    Anthony Rossi, Apr 1, 2007, in forum: C Programming
    Replies:
    2
    Views:
    398
    J. J. Farrell
    Apr 1, 2007
  4. JL
    Replies:
    4
    Views:
    369
    Chris F.A. Johnson
    Sep 4, 2007
  5. cmurthy

    Obfuscating methods

    cmurthy, Sep 6, 2007, in forum: Java
    Replies:
    1
    Views:
    265
    Roedy Green
    Sep 12, 2007
Loading...

Share This Page