on 07-14-2006 7:14 AM
Hi all,
I have a confusion between URL and Query String. Can HTTP adapter handle the quey strings ?
Thanks & Regards,
sekhar
Hi,
Take a look at this thread for HTTP Client Code,
/message/266750#266750 [original link is broken]
ASFAIK, as you will be passing XML data from your HTTP adapter , it would not be possible to use a Query String.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
I am using the following URL in the HTTP reciever adapter.Target system is Siebel.
Ok ..It would not be posible in HTTP adapter...
Any other solutions.....
Sekhar
Hi Sekhar,
Here's the link to the documentation which will tell you how to use query strings in the http-address..
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
Regards,
Sushumna
Sekhar,
Looks like it is possible both for sender and reciver HTTP adapters.
This link for sender HTTP,
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
Sorry for the confusion.
Regards,
Bhavesh
Hi Sushmna,
Thanks for the reply....
These are the parameters of HTTP reciever adapter :
Addressing Type : URL
Target Host : siebservdev
Service Number : 80
Path :/eai_enu/start.swe? SWEExtSource=SiebelUpsert&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN
With this parameters I am able to create/update records in the siebel.
These are the parameters in Siebel Reciever Adapter over HTTP transport protocol...
HTTP
Host :siebservdev
Listner port : I tried with http port&2321(siebel port)
Method : POST (I have 2 options GET/POST)
With these parametesr I am getting the error "problem sending HTTP requset"
Thanks ,
Sekhar
Hi Sushumna,
Finally I was able to resolve the problem with your valuable suggestion. I am very thankful to you.Because I was struck here since 3 weeks.Basically Confusion occures between path and URL..
Same parameters which I have used in the HTTP adapter helped me to solve the issue.
ie I have given the same path (which I have given in the HTTP adaper)as a URL in the Siebel adapter..got the output..
once again thank you all for youe help.
Sekhar
Thanks
once again thanks for your suggestions...
Hi Venkat,
I have used these parameters for HTTP reciever adapter when connecting to Siebel :
Addressing Type : URL
Target Host : siebservdev
Service Number : 80
Path :/eai_enu/start.swe? SWEExtSource=SiebelUpsert&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN
In the path filed mention your query string.
check this blog also...
/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
Sekhar
Hi,
I have a seibel web service which needs to be called from a SAP Webdynpro application. The URL is something like this.
http://xxx.yyy.com:80/eai_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute
I am using Adaptive Webservice model and without hardcoding this value i should be able to send the user name and password information to the webservice.
How i can achieve that. I am getting the error that,
<b>returned http code 500 (Internal Server Error) with unacceptable content type (text/html;charset=UTF-8).
<html><head><title>Message:</title></head>
<body>The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[12:02:58]</b>
Siebel team was asked us to send the user/password info through SOAP header.
<b>Is there any way to set thatbusername/password info in NWDS and also if it is OK if we can set it in the Webservices security in the Visual Administrator.</b>
Appreciate your reply.
Thanks and Regards,
Sekar
Hi Sekhar,
a URL has different parts, like
protocol://user:pass@host:port/path/file?querystring
The Query String is build after the ? and each parameter is divided with a &.
So far I know the sender http adapter does not provide any information of special querystrings.
In the receiver http adapter you can activate special query string parameter. It depends on which system you want to call with your adapter.
I hope this helps.
Regards
Philipp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sekhar,
The query string is a part of the URL and is passed in order to permits data to be passed from the HTTP client (often a browser) to the program which generates the web page...So, the HTTP adapter should be able to accept a query string.
"I have a confusion between URL and Query String:
Here's more about URL and query strings:-
http://en.wikipedia.org/wiki/Query_string
Regards,
Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.