Home All Groups Group Topic Archive Search About

Using SOAP with VB.net

Author
25 Jun 2006 10:31 AM
Dave
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 @)

Author
25 Jun 2006 1:16 PM
Michel Posseth [MCP]
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









Show quoteHide quote
"Dave" <usenet@rmvthis_chingenterprises.com> schreef in bericht
news:72ps921pfvbfodk7q5jmh621pcbr1tv8as@4ax.com...
> 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 @)
>
Author
25 Jun 2006 3:09 PM
Michel Posseth [MCP]
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]



Show quoteHide quote
"Michel Posseth [MCP]" <M***@posseth.com> schreef in bericht
news:%23pzzilFmGHA.4164@TK2MSFTNGP03.phx.gbl...
> 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_chingenterprises.com> schreef in bericht
> news:72ps921pfvbfodk7q5jmh621pcbr1tv8as@4ax.com...
>> 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 @)
>>
>
>