Using Complex Datatypes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chrispragash@hotmail.com

    #1

    Using Complex Datatypes

    Hello all,

    I have a web service (Defined by a third party) which has some really
    complex datatypes. I want to create an abstraction layer for this web
    service and convert these complex datatypes into .NET compatible types
    (typed datasets...etc) Since this web service is defined by a third
    party there is no chance for modification of the types defined...

    What is the best way to convert this web service type in .NET. Any
    recomemded practices...Any suggestions or code samples will be greatly
    helpful.

    Thanks in advance,
    Chris

  • erymuzuan

    #2
    Re: Using Complex Datatypes


    one of the tenet of SOA, is
    services share contracts not objects, and eventhouhg web services can be
    used as another RPC technolgy , it's most benifial existense is for SOA
    enabling, thus you should not worry about data type bu focus on the
    contrac(XSD and WSDL).
    You can use wsdl.exe to generate a proxy to the object, (assuming you
    are using .net framework) for consuming the web service.


    Regars
    erymuzuan


    chrispragash@ho tmail.com wrote:[color=blue]
    > Hello all,
    >
    > I have a web service (Defined by a third party) which has some really
    > complex datatypes. I want to create an abstraction layer for this web
    > service and convert these complex datatypes into .NET compatible types
    > (typed datasets...etc) Since this web service is defined by a third
    > party there is no chance for modification of the types defined...
    >
    > What is the best way to convert this web service type in .NET. Any
    > recomemded practices...Any suggestions or code samples will be greatly
    > helpful.
    >
    > Thanks in advance,
    > Chris
    >[/color]

    Comment

    • Dilip Krishnan

      #3
      Re: Using Complex Datatypes

      Hello chrispragash@ho tmail.com,
      Implementation details dont matter on the client or the service so long
      as you adhere to the contract defined by the wsdl. You could use any of the
      structural GOF [0] patterns to abstract your types.
      [0] - http://www.dofactory.com/Patterns/Patterns.aspx
      HTH
      Regards,
      Dilip Krishnan
      MCAD, MCSD.net
      dkrishnan at geniant dot com
      Experience is the advantage. AI is the multiplier.

      [color=blue]
      > Hello all,
      >
      > I have a web service (Defined by a third party) which has some really
      > complex datatypes. I want to create an abstraction layer for this web
      > service and convert these complex datatypes into .NET compatible types
      > (typed datasets...etc) Since this web service is defined by a third
      > party there is no chance for modification of the types defined...
      >
      > What is the best way to convert this web service type in .NET. Any
      > recomemded practices...Any suggestions or code samples will be greatly
      > helpful.
      >
      > Thanks in advance,
      > Chris[/color]


      Comment

      Working...