cancel
Showing results for 
Search instead for 
Did you mean: 

Query String

Former Member
0 Kudos

Hi all,

I have a confusion between URL and Query String. Can HTTP adapter handle the quey strings ?

Thanks & Regards,

sekhar

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Bhavesh,

I am using the following URL in the HTTP reciever adapter.Target system is Siebel.

http://siebservdev/eai_enu/start.swe?SWEExtSource=SiebelUpsert&SWEExtCmd=Execute&UserName=SADMIN&Pas...

Ok ..It would not be posible in HTTP adapter...

Any other solutions.....

Sekhar

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Sushumna/Bhavesh ,

Problem was resolved through plain HTTP reciever adapter...

But with Siebel reciever adapter over HTTP transport protocol,still I am facing the problem that "Problem sending HTTP requset"

any help??

Thanks ,

Sekhar

Former Member
0 Kudos

Hi Sekhar,

Please elaborate about this problem a little bit more...what's the url this time and what are the other parameters that u have defined in the siebel adapter.

Regards,

Sushumna

Former Member
0 Kudos

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)

URL : http://siebservdev/eai_enu/start.swe?SWEExtSource=SiebelUpsert&SWEExtCmd=Execute&UserName=SADMIN&Pas...

With these parametesr I am getting the error "problem sending HTTP requset"

Thanks ,

Sekhar

Former Member
0 Kudos

Hi Sekhar,

Recheck the URL that you have given for the siebel adapter. Also go through this thread for the details about the URL:-

Regards,

Sushumna

Former Member
0 Kudos

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...

Former Member
0 Kudos

Sekhar,

I a using the HTTP receiver adapter for Synchronous message interface. When I try to post message am getting error code 2150.

Can you please expain the steps to configure HTTP reciver adapter

Thanks

Venkat

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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