Sounds like you are missing a Content-Type header For soap the Content-Type is application/soap+xml
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long Sent: 28 July 2011 16:45 To: U2 Users List Subject: Re: [U2] SOAP Header Both actually. The SOAP parameter I have tried, and it seems to do nothing. The SOAP header is not created. I tried the http host header parameter as specified below to try and circumvent the issue, and it creates the http header correctly, but the SOAP document is not processed and I get an error stating status 415: unsupported media type. I got this info via protocolLogging. Thanks, Steve Long Spyderweb Technical Services, Inc. (360) 687-8797 Washington (503) 406-8797 Oregon (866) 354-5913 Fax -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Thursday, July 28, 2011 8:41 AM To: 'U2 Users List' Subject: Re: [U2] SOAP Header Are you talking about the http Host header parameter or a soap parameter ? Have you used protocolLogging to trace the exact http conversation. You can also use telnet to test and see what errors come back. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long Sent: 28 July 2011 16:13 To: U2 Users List Subject: Re: [U2] SOAP Header We actually have 2 issues to overcome. The big show stopper now is the host. The client is using a load balancer and requires the Host to be specified in the SOAP header. No matter what I do, (SOAPSetRequestHeader, modify the SOAP and specify a <soap:header> section) nothing is working. I attempted doing a straight HTTP call, doing a createRequest, setting the request headers with the SOAP request information including the host info, and passed the SOAP document in as the POST_DATA. I was able to hit the server, but it failed on processing the SOAP doc (I know its valid, its my test doc, as is the URL, SOAP.ACTION, etc.). Has anyone done it this way? I did the following for the header: URL = 'http://ccsvc/procCC.asmx' SOAP.ACTION = 'ccprocessing/ProcCC' CONTENT.TYPE = 'text/xml; charset=utf-8' TIMEOUT = '36000' * STATUS = createRequest(URL,SOAP.ACTION,'POST',SOAP.REQUEST) * STATUS = setRequestHeader(SOAP.REQUEST,'Host','ccsvc') STATUS = setRequestHeader(SOAP.REQUEST,'Content-Type',QUOTE(CONTENT.TYPE)) STATUS = setRequestHeader(SOAP.REQUEST,'SOAPAction',QUOTE(SOAP.ACTION)) STATUS = setRequestHeader(SOAP.REQUEST,'Content-Length', LEN(SOAP.Doc)) * STATUS = submitRequest(SOAP.REQUEST, TIMEOUT, SOAP.Doc, RESP.HEADERS, RESP.DATA, SOAP.STATUS) Thanks, Steve Long Spyderweb Technical Services, Inc. (360) 687-8797 Washington (503) 406-8797 Oregon (866) 354-5913 Fax -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Thursday, July 28, 2011 12:39 AM To: 'U2 Users List' Subject: Re: [U2] SOAP Header The u2 soap/hhtprequest call will set the basic minimum http headers required for a http conversation, this includes get/post, Host and Http version. Host is taken from the url endpoint you supply the call. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: 27 July 2011 22:57 To: U2 Users List Subject: Re: [U2] SOAP Header I'm confused. Exactly what is setting the Host: http header in the SOAP request? _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users