🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.webservices.soap
Article #5

Newbie question on invoking a webservice

#5
From: wl
Date: Mon, 04 Aug 2003 17:57
36 lines
2953 bytes
Hi,
I am new to webservices.  I am trying to invoke a webservice using my web
browser, but, it does not work.

What am I doing wrong?

I have simple html page, which uses javascript to construct an xml payload,
consisting of a SOAP message below to retrieve a stock quote:

<?xml version="1.0" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP-ENV:Body>
  <s0:GetQuote xmlns:s0="http://www.webserviceX.NET/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema">
   <s0:symbol>ibm</s0:symbol>
  </s0:GetQuote>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Then, I send the xml doc to a valid URL location hosting the webservice
application:  http://www.webservicex.net/stockquote.asmx?WSDL#StockQuoteSoap

This does not work.  What am I doing wrong?

Is it not possible to test a webservice using a browser?  Is there a client
software I can use to test?

Thanks in advance
Technical Details
Message-ID: <28xXa.112$S4.6003@newsread2.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!68.6.19.232.MISMATCH!west.cox.net!east.cox.net!peer02.cox.net!cox.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc30f,ed24f5a699c0f9c0,start
X-Google-Attributes: gidfc30f,public
X-Google-Thread: 114096,ed24f5a699c0f9c0,start
X-Google-Attributes: gid114096,public
X-Google-Thread: f6a83,ed24f5a699c0f9c0,start
X-Google-Attributes: gidf6a83,public
X-Google-Thread: 11096a,ed24f5a699c0f9c0,start
X-Google-Attributes: gid11096a,public
X-Google-ArrivalTime: 2003-08-04 10:57:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!68.6.19.232.MISMATCH!west.cox.net!east.cox.net!peer02.cox.net!cox.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
From: "wl" <bli01@yahoo.com>
Newsgroups: borland.public.cppbuilder.webservices.soap,borland.public.delphi.webservices.soap,borland.public.jbuilder.webservices,microsoft.public.webservices
Subject: Newbie question on invoking a webservice
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <28xXa.112$S4.6003@newsread2.prod.itd.earthlink.net>
Date: Mon, 04 Aug 2003 17:57:18 GMT
NNTP-Posting-Host: 24.107.100.20
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1060019838 24.107.100.20 (Mon, 04 Aug 2003 10:57:18 PDT)
NNTP-Posting-Date: Mon, 04 Aug 2003 10:57:18 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net