cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume web service in Agentry in SMP 3.0

Former Member
0 Kudos

Dear All , I am using web service in Agentry to retrive data but could not able to fetch it . I have made connection with HTTP-XML for consuming webservices. and also give proper information in Agentry.ini files Ex : [HTTPXML-2] name=HTTP-XML Back End authenticationCertificateStore=MY authenticationCertificateStorePassword= authenticationCertificateStorePasswordEncoded=false autoDequote=true ;baseURL=http://localhost:81 baseURL=http://sapes1.sapdevcenter.com:8080/sap/opu/odata/iwbep/gwdemo/ basicAuthenticationPassword=123456 basicAuthenticationPasswordEncoded=false basicAuthenticationUserID=P1466405733 constantsFile=httpxml_sd.ini enableAuthentication=false enablePreviousUserAuthentication=false httpConnectTimeout=300 httpReceiveTimeout=300 httpResolveTimeout=300 httpSendTimeout=300 listenOn= timeout=300 timeZoneName= useSSL=false xmlAllowXSLTScript=true xmlNamespaces= xmlResolveExternals=true xmlValidateOnParse=true for more information i have attached agentry XML screen shot as well . Can you please guide me how to consume web services in Agentry correct way ? Note : Currently i am using standard netweaver demo web services . Thanks & Regards ,   Kunal Varaiya

Tags edited by: Michael Appleby

Accepted Solutions (0)

Answers (2)

Answers (2)

agentry_src
Active Contributor
0 Kudos

Moved to SAP for Mobile community.  Not an issue with SMP, rather an application issue in Agentry.

Former Member
0 Kudos

The XML Steps URL will be added to the Agentry.ini BaseURL.  So you dont' need the full URL on the step.

So when Agentry Runs the step to call the backend it will go:
<BaseURL>/<Step's URL>

This way if you need to change the base URL, IE, going from Dev to QA to Production Server you only need to change the Base, and not go into every step and update it.

  • URL: This attribute contains the URL to which the Agentry Server will make a request. This value will be appended to the value configured as the base URL for the HTTP-XML system connection. This base URL is configured within the HTTP-XML system connection configuration options for the Agentry Server. Proper use of both this base URL option and the URL entered in the requests of the step definitions can support portability for the application, with the base URL being the implementation-specific portion and the step’s URL being the portion not likely to change for the same back end system from one implementation to the next.

http://help.sap.com/saphelp_smp303sdk/helpdata/en/7c/143d5d70061014b323be16eb0b0a77/frameset.htm 

Stephen

Former Member
0 Kudos

Dear Stephen , Can you also guide me ? when i call web services ? how to do field mapping with Agentry object ? Because I am new in calling web services . can i also get your email ID ? So , i can send you web services link with user name password ? Thanks & Regards , Kunal Varaiya