Using SOAP with VB.net

D

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.
 
M

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
 
M

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]



Michel Posseth said:
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 said:
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 @)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top