> I am writting some low level libarires to access web services
> from _javascript_, (if you care I am trying to make something
> like _javascript_ remoting) and I am having a bit of trouble
> getting information to and from services.
>
> Things are going pretty well; however, when I post to a ?wsdl
> I get the html for the wsdl browsing login page.
>
> Does anyone know, or have some tasty links to information
> about, what http headers the web webservice is expecting? I
> have used web services in java and cfinvoke, but they
> abstract the low level stuff (which is what I am trying to do
> as well I suppose)
>
> I assume that it is a bad header problem because if I GET the
> ?wsdl I get the wsdl, but when I try to POST a soap envelope
> to the web service again I get that page.

I don't think you should be POSTing to the WSDL URL. Within the WSDL URL,
you should find the endpoint URL for the actual SOAP service, and POST to
that. You might have to set a SOAPAction header, in addition, but I'm not
sure if that's required to be honest. The easiest way to find out is to
write a CF SOAP client, and just sniff the traffic that sends.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to