Wrox Programmer Forums
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 4th, 2009, 02:43 PM
Authorized User
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble consuming doc literal web service ...


I am using SOAP to call existing web services. Most use RPC binding which works fine. However I need a couple to be Doc Literal binding so that I can take advantage of some sorting attributes.

Is there anything I need to do differently in my Classic ASP code? I know the request has changed, but I still get an error. Also if I send the same request thru the SOAP UI utility it works fine.

Here's my code:
Set ObjXml = CreateObject("Microsoft.XMLHTTP")
Set Resp = CreateObject("Microsoft.XMLDOM")
ObjXml.open "POST",SiebelUrl,"False"
ObjXml.setRequestHeader "Man", "POST"+" "+SiebelUrl+" HTTP/1.1"
ObjXml.setRequestHeader "MessageType", "CALL"
ObjXml.setRequestHeader "Content-Type", "text/xml"
ObjXml.send SoapText


Similar Threads
Thread Thread Starter Forum Replies Last Post
Consuming Web service with NuSoap CraigWhitfield PHP How-To 0 February 27th, 2008 11:20 AM
Consuming Web Service edgtr .NET Web Services 0 November 1st, 2006 03:50 PM
Consuming Axis Web Service from .NET - Problem Koushik .NET Web Services 0 October 28th, 2006 07:29 AM
Consuming web service with dismal performance jcrossett ASP.NET 2.0 Professional 0 December 13th, 2005 11:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.