Using SOAP with VB.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    Using SOAP with VB.net

    Hi all,

    I very much hope you can help - i am sure there is a very simple
    solution, but after days of scouring the net, i have come up blank.

    Basically i am trying to access a web service provided by my till
    operator to access product details. They have provided me with a
    document on the services provided by the website. The services are
    all accessed by SOAP. Unfortunately none of the services provide
    WSDL. The document shows the format of requests and returns.

    In VB.NET how would i access these services? All the websites i have
    found talk about how to access when there is WSDL, but none of them
    show examples if there is no WSDL.

    If it would help i can post the document.

    Thanks in advance.

    --
    Dave

    (note if replying by email you will have to remove the anti spam part
    after the @)

  • Michel Posseth  [MCP]

    #2
    Re: Using SOAP with VB.net

    This is exactly why i am so against that drag drop set reference and work
    thingy that nowaday seems to be the standard in .Net

    I am currently 32 years old and learned programming in the old fashioned
    way and that is knowing what is happening behind the scenes

    ..Net does nothing else as generating a proxy class with http responses in
    the desired soap format

    so if you have a Document describing what the serves expects and sends in
    response you can easily set up your own http object and start comunicating
    with this service without having access to this document it is not possible
    to show an example but i hope you get the point .


    regads

    Michel Posseth [MCP









    "Dave" <usenet@rmvthis _chingenterpris es.com> schreef in bericht
    news:72ps921pfv bfodk7q5jmh621p cbr1tv8as@4ax.c om...[color=blue]
    > Hi all,
    >
    > I very much hope you can help - i am sure there is a very simple
    > solution, but after days of scouring the net, i have come up blank.
    >
    > Basically i am trying to access a web service provided by my till
    > operator to access product details. They have provided me with a
    > document on the services provided by the website. The services are
    > all accessed by SOAP. Unfortunately none of the services provide
    > WSDL. The document shows the format of requests and returns.
    >
    > In VB.NET how would i access these services? All the websites i have
    > found talk about how to access when there is WSDL, but none of them
    > show examples if there is no WSDL.
    >
    > If it would help i can post the document.
    >
    > Thanks in advance.
    >
    > --
    > Dave
    >
    > (note if replying by email you will have to remove the anti spam part
    > after the @)
    >[/color]


    Comment

    • Michel Posseth  [MCP]

      #3
      Re: Using SOAP with VB.net


      When i rethink this situation ,,, you can solve this from your side in an
      easy way,,,,


      Write a dummy webservice ( empty methods ) with exact the same signatures
      as the webservice you should connect to
      connect with your client program to this webservice .Net will generate the
      proxy class ( behind the scenes )
      now the only thing you need to do is changing the URL property of the proxy
      object to the url of the original webservice
      and it should work fine

      If you need more info feel free to ask

      regards

      Michel Posseth [MCP]



      "Michel Posseth [MCP]" <MSDN@posseth.c om> schreef in bericht
      news:%23pzzilFm GHA.4164@TK2MSF TNGP03.phx.gbl. ..[color=blue]
      > This is exactly why i am so against that drag drop set reference and work
      > thingy that nowaday seems to be the standard in .Net
      >
      > I am currently 32 years old and learned programming in the old fashioned
      > way and that is knowing what is happening behind the scenes
      >
      > .Net does nothing else as generating a proxy class with http responses in
      > the desired soap format
      >
      > so if you have a Document describing what the serves expects and sends in
      > response you can easily set up your own http object and start comunicating
      > with this service without having access to this document it is not
      > possible to show an example but i hope you get the point .
      >
      >
      > regads
      >
      > Michel Posseth [MCP
      >
      >
      >
      >
      >
      >
      >
      >
      >
      > "Dave" <usenet@rmvthis _chingenterpris es.com> schreef in bericht
      > news:72ps921pfv bfodk7q5jmh621p cbr1tv8as@4ax.c om...[color=green]
      >> Hi all,
      >>
      >> I very much hope you can help - i am sure there is a very simple
      >> solution, but after days of scouring the net, i have come up blank.
      >>
      >> Basically i am trying to access a web service provided by my till
      >> operator to access product details. They have provided me with a
      >> document on the services provided by the website. The services are
      >> all accessed by SOAP. Unfortunately none of the services provide
      >> WSDL. The document shows the format of requests and returns.
      >>
      >> In VB.NET how would i access these services? All the websites i have
      >> found talk about how to access when there is WSDL, but none of them
      >> show examples if there is no WSDL.
      >>
      >> If it would help i can post the document.
      >>
      >> Thanks in advance.
      >>
      >> --
      >> Dave
      >>
      >> (note if replying by email you will have to remove the anti spam part
      >> after the @)
      >>[/color]
      >
      >[/color]


      Comment

      Working...