I am trying to send data to a biztalk server using a POST action
I found a very good tutorial on this under this linkenter link description here
I wrote it exactly the same ( I changed the xml portion of course to reflect my parameters). but the data does not get transmitted , I know for a fact that the server require authentication . What I was expecting is the function -(void)connection:(NSURLConnection *)connection
to be called but instead the function
-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
gets called. I found that the error message that I get is the following :
ERROR: with the connection Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x210f5d70 {NSErrorFailingURLStringKey=<server path>, NSErrorFailingURLKey=<server path>, NSLocalizedDescription=A server with the specified hostname could not be found., NSUnderlyingError=0x210f5290 "A server with the specified hostname could not be found."}
I did some research on the Code=-1003
is equivalent to kCFURLErrorCannotFindHost
and I assume that this is related to the fact that the server is behind a firewall that needs authentication.
my question is the following ,assuming that the logic I have is right, is there a way to access the corporate network first with user credentials before doing the POST action ? I think that if I get this fixed things should work
Thanks!