Closed GoogleCodeExporter closed 8 years ago
- (void)sendHTTPCallUsingBody:(NSString *)outputBody soapAction:(NSString
*)soapAction forOperation:(DefaultSoapOperation *)operation
{
...
[request setValue:@"wsdl2objc" forHTTPHeaderField:@"User-Agent"];
[request setValue:soapAction forHTTPHeaderField:@"SOAPAction"];
//Fix the Content-Type require action for SOAP 1.2 issue
[request setValue:[NSString stringWithFormat:@"application/soap+xml; charset=utf-8;action=%@", soapAction] forHTTPHeaderField:@"Content-Type"];
//End of fix
[request setValue:[NSString stringWithFormat:@"%u", [bodyData length]] forHTTPHeaderField:@"Content-Length"];
[request setValue:self.address.host forHTTPHeaderField:@"Host"];
[request setHTTPMethod: @"POST"];
...
Original comment by vdesm...@gmail.com
on 15 Oct 2009 at 9:31
Should be already fixed in the trunk.
Original comment by hasse...@gmail.com
on 4 Mar 2011 at 6:36
Original issue reported on code.google.com by
vdesm...@gmail.com
on 12 Oct 2009 at 2:03