INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

SOAP - complete beginner, where to start?

SOAP - complete beginner, where to start?

(OP)
Hi

I have no experience in SOAP, I'm not a programmer but I have small experience in PHP/ASP.

I want to develop to an existing SOAP Webservice, can someone kindly tell me what applications I need to develop my application?

An example of what I would like to do is to query for information, then publish the results on a PHP page, possibly store some of the results in a MySQL db.

Any starter pointers would be appreciated!

Thanks
 

RE: SOAP - complete beginner, where to start?

So you want to invoke a existing webservice?

Cheers,
Dian

RE: SOAP - complete beginner, where to start?

Depends upon what environment you are going to program in
ASP - you could start off with the SOAP toolkit
asp.net - very easy way to make and invoke web services.
php - if you had an existing web service to invoke, this could be done with soap compliant xml.
 

Gilbert M. Vanegas
Programmer Analyst III
County of San Bernardino - ISD
Email : gvanegas@isd.sbcounty.gov
 

RE: SOAP - complete beginner, where to start?

(OP)
ok, so say it was ASP .NET, So i need Visual Studio then? Or is that overkil? I'm looking to find out what apps first and so work out a cost. Anyone got experience of XMLSPY?

RE: SOAP - complete beginner, where to start?

Have you seen the free version of visual studio (visual studio express?)
Thats a free download and it has very good value, can do most things that professional edition then.

ASP.NET makes it really really easy to write and consume web services, of course other programming environments may be used,
In my experience visual studio .net is the best development environment around hands down (ide)

.net framework very powerful also...
 

Gilbert M. Vanegas
Programmer Analyst III
County of San Bernardino - ISD
Email : gvanegas@isd.sbcounty.gov
 

RE: SOAP - complete beginner, where to start?

(OP)
great, thanks for the tip!

RE: SOAP - complete beginner, where to start?

(OP)
I have tried the Visual Web Developer 2008 v0520, I think this should do what I want. I have downloaded the video tutorial which was useful also.

But I'm stuck as to how you deal with an existing XML feed, and also how I "post" to a web service.

Any pointers?

Much appreciated

RE: SOAP - complete beginner, where to start?

If its truly a .net compliant web service you are invoking, you should be able to "receive" the xml directly.
In other words, if the web service you are invoking is built in .net, it can "return" a .net data type serialized as xml, and you can "read" the serialized xml back into its native object type (study deserialization and serialization and what they mean).

I will give you an example..
Say the web service you are calling returns a .net dataset object.
Well, the .net dataset object implements the iserializable interface, therefore when it goes across http (back to the caller), it serialized into xml, however in your code when you say

dim objDS as dataset = "webservicecall and return"

Thats ALL you have to do, because the .net framework handles the serialization and deserialization of the .net dataset object, first to xml so it can go across the http protocol and then, when you receive it it automatically deserializes back into a .net dataset object...

If its a different environment that was used to build the web service you are invoking,say, the web service you are calling is written in java,  you may have to receive the xml as a string and parse the xml using things like xmldom, and native .net xml functions.

As far as web service and http post, usually most people "invoke the web service" by simply adding a reference to the web service url and invoking the web service method.

Think of web services as basically calling a function or method as you would in normal code, the real difference is it is called across the http protocol, using soap, but in your programming side, its basically invoking a remote method...  

Gilbert M. Vanegas
Senior Programmer Analyst
County of San Bernardino - ISD
 

RE: SOAP - complete beginner, where to start?

I just thought of something, when you talk about dealing with "xml feeds" are you talking about rss feeds?

If so, then that different programming than web service calls in most cases.
 

Gilbert M. Vanegas
Senior Programmer Analyst
County of San Bernardino - ISD
 

RE: SOAP - complete beginner, where to start?

(OP)
thanks for your detailed response v0520!

To explain a bit further, I have an address that is like this:
http://xml.mydomain.com/myfile.xml

All I want to do is read that file to start off with, the SOAP i'm talking about is kind of another thing I want to try out once I get used to XML itself.

So i want to read all the data then output _some_ of the data onto a web page. Seems like it should be easier than I'm making it!

Cheers  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close