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

Adwait Ullal <[email protected]>
Newsgroups gmane.comp.windows.off-topic
Message-ID <[email protected]>
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!
>
> 
>
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.