All,

I am trying to process the following URL via the HttpGet method:

http://192.168.75.172/search?q=*&requiredfields=(documentLibrary:Yes).(departmentName:HHMI+Institute-wide|departmentName:Finance)&start=0&num=10&access=p&entqr=0&output=xml_no_dtd&client=INSIDE&ud=1&oe=UTF-8&ie=UTF-8&site=default_collection&filter=0&getfields=documentType.security.departmentName.userRole.documentLibrary.mimeType.pageid

And I get the following exception:

java.lang.IllegalArgumentException: Invalid uri '
http://192.168.75.172/search?q=*&requiredfields=(documentLibrary:Yes).(departmentName:HHMI+Institute-wide|departmentName:Finance)&start=0&num=10&access=p&entqr=0&output=xml_no_dtd&client=INSIDE&ud=1&oe=UTF-8&ie=UTF-8&site=default_collection&filter=0&getfields=documentType.security.departmentName.userRole.documentLibrary.mimeType.pageid':
Invalid query

Now when I cut & paste that URL into the browswer it works just fine.  I am
guess it is some sort of URL Encoding that needs to occur, but I am not sure
what.

Thanks,

Ron

Reply via email to