Web service question

  • Thread starter Bryan Dickerson
  • Start date
B

Bryan Dickerson

If I have a web service about which all I know is the URL, i.e.
http:/server:portnum/methodname (no WSDL, no nothing else), can I reference
and use a web service like this in a VB.Net program? And if I can, then
how?

Thanx!
 
V

vbnetdev

All you have is the URL? The only way you could do this would be is if upon
the URL executing it is understood on that end it is suppose to perform such
and such an action just cause the URL got called.

I gave an obvious answer due to the lack of information. I am sorry if my
answers arent more helpful.
--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Bryan Dickerson said:
With all due respect, I already knew that. This web service is
java-based. I tried to run the WSDL program that comes with the SDK, but
that even had problems with it. Any other ideas?
 
B

Bryan Dickerson

I, too, apologize if my response was harsh. That really is the only bit of
information that I have about it. Stupid 3rd-party package...

Let's try this angle: The URL comes from the "Stupid 3rd-party package"
(hereafter known as "S3PP") in which I set up a 'pseudo-web-service' which
is just a URL that kicks off a script within the S3PP. Technically, I
should be able to pass it XML based on 'standard' rules of passing arguments
via HTTP (If the terminology is not exactly right, please forgive me, as I'm
still learning...), i.e. http://server:port/method?Parm1=xxx&Parm2=yyy
should result in an XML 'document' passed to the web service as
<Parm1>xxx</Parm1><Parm2>yyy</Parm2>. Right? So if I had an XML document
that looked like this:

<Order>
<OrderHeader>
<OrderDate>Date1</OrderDate>
</OrderHeader>
<LineItems>
... etc ...
</LineItems>
</Order>

.... how would I pass it as parms to a web service? Could I use a more
bare-bones HTTP Post to do it? (Again, please forgive me if my terminology
is askew).

Thanx!
 
B

Bryan Dickerson

Anyone? Anyone? Bueller?

Bryan Dickerson said:
I, too, apologize if my response was harsh. That really is the only bit
of information that I have about it. Stupid 3rd-party package...

Let's try this angle: The URL comes from the "Stupid 3rd-party package"
(hereafter known as "S3PP") in which I set up a 'pseudo-web-service' which
is just a URL that kicks off a script within the S3PP. Technically, I
should be able to pass it XML based on 'standard' rules of passing
arguments via HTTP (If the terminology is not exactly right, please
forgive me, as I'm still learning...), i.e.
http://server:port/method?Parm1=xxx&Parm2=yyy should result in an XML
'document' passed to the web service as
<Parm1>xxx</Parm1><Parm2>yyy</Parm2>. Right? So if I had an XML document
that looked like this:

<Order>
<OrderHeader>
<OrderDate>Date1</OrderDate>
</OrderHeader>
<LineItems>
... etc ...
</LineItems>
</Order>

... how would I pass it as parms to a web service? Could I use a more
bare-bones HTTP Post to do it? (Again, please forgive me if my
terminology is askew).

Thanx!
 
V

vbnetdev

I think he coughed up a lung or something. :)

Muy problem is it is really difficult for me to get into your application
becasue I don't have anything remotely resembling it.

I understand what you are trying to acomplish but it is a reach for me.

If you can contact me on my site, send me a sample project and let me take a
shot at it and I will see what I can do.
 
B

Bryan Dickerson

Again, I do appreciate your patience with me, but if you could suffer me
another question...

(I don't know if the terminology is correct, but...) How would I post a
stream/string of XML to a URL via VB.NET? E.g. I have an XML test file and I
just want to lob it at a given URL, what would the code look like to do
that?
 

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