We are able to read the PDF file from a given http link(xxxx) using internet explorer and XML spy.
But we are unable to read the pdf file from webMethods system using “pub.client:http” service. We are getting an authorisation problem while accessing with webMethods but not through internet explorer/XML spy.
We are giving the same username and password for both cases(webMethods and internet explorer/XML spy).
We are givng the following options:
method:get
Is the PDF file would be given any special authorisations or any configuration changes or any properties changes need to be done to access from webMethods ?
Please could you help us in this issue ASAP.
Waiting for your precious inputs.
Is the webMethods user account needs to be maintained in the target server to retrieve the file ? Sine it is giving authorization error only when we are trying to access from webMethods.
What is the exact error you’re getting? One thing to note is that you’re setting auth/type to application/pdf. Why? application/pdf is a content-type not an authentication type.
As Percio points out, the auth/type is incorrect. The auth/user and auth/pass must match what the target server is expecting. Refer to the wM IS Built-in Services Reference for info on the acceptable values for auth/type.