View Single Post
  #1 (permalink)  
Old March 4th, 2009, 02:43 PM
mussitsch mussitsch is offline
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble consuming doc literal web service ...

Hi,

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

Thanks.
Melissa