How to access google api web services?
<p>I'm able to form URL to access Google direction webservice. But when I use optimize factor or when I use "optimize:true|", I get nil in URL. It may be because I am using "|" sign in URL. </p>

<p>How I can fix this?</p>

<blockquote>
  <p>NSString *URLAddress=[NSString stringWithFormat:@"http://maps.googleapis.com/maps/api/directions/xml?origin=%@&amp;destination=%@&amp;waypoints=optimize:true|%@&amp;sensor=false",updated_Address_Of_Source,updated_Address_Of_Destination,updated_Address_Of_Waypoint];
  NSURL *URL=[NSURL URLWithString:URLAddress];</p>
</blockquote>
