RE: PHTML Web Service...how to call....new to me

"Richard Howells" <[email protected]>
Newsgroups gmane.comp.windows.off-topic
Message-ID <[email protected]>
Hi Greg,

 

If it really is a web service then they should have some WSDL somewhere.  In
the .net world you would expect that to be at <theirserviceurl>?WSDL.  It's
perfectly legit for it not be there.  If it's not then maybe they can tell
you where it is, or they can email it to you.

 

Once you know where it is, try again to create the proxy using VS.  If that
fails then you'll need to use the WSDL utility from the command line and a
LOT of patience, until you find  set of WSDL switches that will play nicely
with their WSDL.  Once you have them you can add the generated C#/VB file to
your .Net project and that's your proxy.

 

Cheers,

 

Richard

 

 <mailto:richard-yP/[email protected]> richard-yP/[email protected]

www.dynamisys.co.uk

(L) 01793 731225

(M) 07769 266522

Dynamisys is registered in the UK - number 4152561

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Adwait Ullal
Sent: 13 May 2010 20:47
To: [email protected]
Subject: Re: [OT] PHTML Web Service...how to call....new to me

 

  

Greg,

 

This is perhaps a REST interface, hence the need for a DTD (and not a WSDL),
etc. You might want to look at the REST extensions for WCF [1] or use an
alternate stack such as WebRequest, etc to do the POST.

 

Hope that helps 

 

[1] http://msdn.microsoft.com/en-us/netframework/dd547388.aspx


- Adwait
--
Adwait Ullal

w: http://www.adwait.com
p: (408) 898-2581



On Thu, May 13, 2010 at 12:28 PM, Greg <[email protected]> wrote:

  

I am looking over web service documentation from a vendor we may start
working with. I come from the .NET world (asmx and WCF), and prior to that
the SOAP Tool Kit World, so to me web services are about WSDLs and friends. 

Their documentation states we will need to generate an XML request
conforming to their DTD. Our "XML generator" posts this XML document to
their XML Gateway. 

The gateway url looks something like this:
https://www.thevendor.com/ia/xml/xmlgw.phtml.

I have done some Googling on DTD, XML Gateway and phtml. 

When I try to add a service or web reference from VS 2008 I get this
message:

"The document at the url https://www.thevendor.com/ia/xml/xmlgw.phtml was
not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Discovery document at the URL
https://www.thevendor.com/ia/xml/xmlgw.phtml could not be found.
The document format is not recognized."

Question, from a .NET 3.5 application how would I create a proxy to this
"gateway"? Or, do I need to "manually" construct an XML document and somehow
post it to their Gateway and then parse out the response? I am not a web
developer either so this is a little confusing to me. 

Thanks!
image001.jpg (image/jpeg, 359 B) - not displayed
image002.jpg (image/jpeg, 332 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.