473,395 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Send webservice parameters by using query string from browser

A.M
Hi,

Is there any way to call a WSS web service method by using browser and see
the XML result in browser as well?

I have been told that there is query string syntax for calling webservices.
Is that true?

Thank you,

Alan


Nov 23 '05 #1
18 44621

You can use the GET (query string) or POST (browser form) http format
locally from the server.

GET and POST are turned off by default for remote use.

You can enable them in your web.config or globally in the machine.config

A.M wrote:
Hi,

Is there any way to call a WSS web service method by using browser and see
the XML result in browser as well?

I have been told that there is query string syntax for calling webservices.
Is that true?

Thank you,

Alan

Nov 23 '05 #2

You can use the GET (query string) or POST (browser form) http format
locally from the server.

GET and POST are turned off by default for remote use.

You can enable them in your web.config or globally in the machine.config

A.M wrote:
Hi,

Is there any way to call a WSS web service method by using browser and see
the XML result in browser as well?

I have been told that there is query string syntax for calling webservices.
Is that true?

Thank you,

Alan

Nov 23 '05 #3
A.M

Thank you for help.

What is the HTTP GET syntax for sending web method parameters?

Thnaks again,
Alan
<ja*****@texeme.com> wrote in message
news:pJ********************@speakeasy.net...

You can use the GET (query string) or POST (browser form) http format
locally from the server.

GET and POST are turned off by default for remote use.

You can enable them in your web.config or globally in the machine.config

A.M wrote:
Hi,

Is there any way to call a WSS web service method by using browser and
see the XML result in browser as well?

I have been told that there is query string syntax for calling
webservices. Is that true?

Thank you,

Alan


Nov 23 '05 #4
A.M

Thank you for help.

What is the HTTP GET syntax for sending web method parameters?

Thnaks again,
Alan
<ja*****@texeme.com> wrote in message
news:pJ********************@speakeasy.net...

You can use the GET (query string) or POST (browser form) http format
locally from the server.

GET and POST are turned off by default for remote use.

You can enable them in your web.config or globally in the machine.config

A.M wrote:
Hi,

Is there any way to call a WSS web service method by using browser and
see the XML result in browser as well?

I have been told that there is query string syntax for calling
webservices. Is that true?

Thank you,

Alan


Nov 23 '05 #5
You may type the url for ASMX file in IE to invoke the web service, for
example:

http://MyServer/WebService5/Service1.asmx?op=HelloWorld
"HelloWorld" is the name of public web method.

Luke
Nov 23 '05 #6
You may type the url for ASMX file in IE to invoke the web service, for
example:

http://MyServer/WebService5/Service1.asmx?op=HelloWorld
"HelloWorld" is the name of public web method.

Luke
Nov 23 '05 #7
A.M

How about the web method's paremeters?

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:yr**************@TK2MSFTNGXA01.phx.gbl...
You may type the url for ASMX file in IE to invoke the web service, for
example:

http://MyServer/WebService5/Service1.asmx?op=HelloWorld
"HelloWorld" is the name of public web method.

Luke

Nov 23 '05 #8
A.M

How about the web method's paremeters?

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:yr**************@TK2MSFTNGXA01.phx.gbl...
You may type the url for ASMX file in IE to invoke the web service, for
example:

http://MyServer/WebService5/Service1.asmx?op=HelloWorld
"HelloWorld" is the name of public web method.

Luke

Nov 23 '05 #9
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke
Nov 23 '05 #10
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke
Nov 23 '05 #11
A.M
I was trying to create a URL to the webservice (with parameters) and use
that URL to receive an XML stream contains the webmethod's result.

I need to do that because I have some clients that cannot have SOAP client
capabilities.

From your reply I understand it is impossible. The only way to call a
webmethod is a soap call. Is that a correct assumption?

Thank you,

Alan

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:Fl**************@TK2MSFTNGXA01.phx.gbl...
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke

Nov 23 '05 #12
A.M
I was trying to create a URL to the webservice (with parameters) and use
that URL to receive an XML stream contains the webmethod's result.

I need to do that because I have some clients that cannot have SOAP client
capabilities.

From your reply I understand it is impossible. The only way to call a
webmethod is a soap call. Is that a correct assumption?

Thank you,

Alan

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:Fl**************@TK2MSFTNGXA01.phx.gbl...
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke

Nov 23 '05 #13
Hello Alan,

Web Service will receive and response data in Text/XML format, which is not
for display in IE. We had better call a web method with SOAP client so that
we can set parametor and get correct result.

Normally, opening a web method in IE is only a way to test if the web
service is working, not a regular way to call a web method.

Luke
Nov 23 '05 #14
Hello Alan,

Web Service will receive and response data in Text/XML format, which is not
for display in IE. We had better call a web method with SOAP client so that
we can set parametor and get correct result.

Normally, opening a web method in IE is only a way to test if the web
service is working, not a regular way to call a web method.

Luke
Nov 23 '05 #15
Try use this:

http://server/Service.asmx/GetFullNa...tName=Krivacek

where:

GetFullName is web method name
firstName and lastName are method params

You must allow to use GET via settings in web.config file.

<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>

Hope this help...

Michael K.

"A.M" wrote:
Hi,

Is there any way to call a WSS web service method by using browser and see
the XML result in browser as well?

I have been told that there is query string syntax for calling webservices.
Is that true?

Thank you,

Alan


Nov 23 '05 #16
Hi Alan,

How are you doing on this issue? As Luke has mentioned, calling webservice
in IE or through HTTP GET is not a formal and recommended means(even not
the formal means in the specification). So we should always use SOAP
message to send webservice request.

And as for your scenario, I think it doesn't matter whether your client
have soap capability because as long as the clientside can use any
component such as XMLHTTP(for COM) or HttpWebRequest( for .net) , we can
manually generate the SOAP xml MESSAGE (just a string section) and send it
to the remote webservice and retrieve back the
webservice response content.

Please feel free to let me know if you have interests on this and we can
look into it further together.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "A.M" <al******@newsgroup.nospam>
References: <ul**************@TK2MSFTNGP10.phx.gbl>
<pJ********************@speakeasy.net>
<OL**************@TK2MSFTNGP14.phx.gbl>
<yr**************@TK2MSFTNGXA01.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<Fl**************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Send webservice parameters by using query string from browser
Date: Tue, 12 Jul 2005 09:35:56 -0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <O4**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7149
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

I was trying to create a URL to the webservice (with parameters) and use
that URL to receive an XML stream contains the webmethod's result.

I need to do that because I have some clients that cannot have SOAP client
capabilities.

From your reply I understand it is impossible. The only way to call a
webmethod is a soap call. Is that a correct assumption?

Thank you,

Alan

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:Fl**************@TK2MSFTNGXA01.phx.gbl...
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke


Nov 23 '05 #17
A.M
Hi Steven,

Thank you for follow-up. I've got my answer through this news board.

Thanks,

Alan
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:3z**************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

How are you doing on this issue? As Luke has mentioned, calling webservice
in IE or through HTTP GET is not a formal and recommended means(even not
the formal means in the specification). So we should always use SOAP
message to send webservice request.

And as for your scenario, I think it doesn't matter whether your client
have soap capability because as long as the clientside can use any
component such as XMLHTTP(for COM) or HttpWebRequest( for .net) , we can
manually generate the SOAP xml MESSAGE (just a string section) and send it
to the remote webservice and retrieve back the
webservice response content.

Please feel free to let me know if you have interests on this and we can
look into it further together.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "A.M" <al******@newsgroup.nospam>
References: <ul**************@TK2MSFTNGP10.phx.gbl>
<pJ********************@speakeasy.net>
<OL**************@TK2MSFTNGP14.phx.gbl>
<yr**************@TK2MSFTNGXA01.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<Fl**************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Send webservice parameters by using query string from browser
Date: Tue, 12 Jul 2005 09:35:56 -0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <O4**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7149
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

I was trying to create a URL to the webservice (with parameters) and use
that URL to receive an XML stream contains the webmethod's result.

I need to do that because I have some clients that cannot have SOAP client
capabilities.

From your reply I understand it is impossible. The only way to call a
webmethod is a soap call. Is that a correct assumption?

Thank you,

Alan

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:Fl**************@TK2MSFTNGXA01.phx.gbl...
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke


Nov 23 '05 #18
Thanks for the followup.

If there is any further issue later, please feel free to post here.
Good Luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M" <al******@newsgroup.nospam>
References: <ul**************@TK2MSFTNGP10.phx.gbl>
<pJ********************@speakeasy.net>
<OL**************@TK2MSFTNGP14.phx.gbl>
<yr**************@TK2MSFTNGXA01.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<Fl**************@TK2MSFTNGXA01.phx.gbl>
<O4**************@TK2MSFTNGP15.phx.gbl>
<3z**************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Send webservice parameters by using query string from browser
Date: Sun, 17 Jul 2005 16:54:43 -0400
Lines: 96
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <uE**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7231
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi Steven,

Thank you for follow-up. I've got my answer through this news board.

Thanks,

Alan
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:3z**************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

How are you doing on this issue? As Luke has mentioned, calling webservice
in IE or through HTTP GET is not a formal and recommended means(even not
the formal means in the specification). So we should always use SOAP
message to send webservice request.

And as for your scenario, I think it doesn't matter whether your client
have soap capability because as long as the clientside can use any
component such as XMLHTTP(for COM) or HttpWebRequest( for .net) , we can
manually generate the SOAP xml MESSAGE (just a string section) and send it
to the remote webservice and retrieve back the
webservice response content.

Please feel free to let me know if you have interests on this and we can
look into it further together.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "A.M" <al******@newsgroup.nospam>
References: <ul**************@TK2MSFTNGP10.phx.gbl>
<pJ********************@speakeasy.net>
<OL**************@TK2MSFTNGP14.phx.gbl>
<yr**************@TK2MSFTNGXA01.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<Fl**************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Send webservice parameters by using query string from browser
Date: Tue, 12 Jul 2005 09:35:56 -0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Message-ID: <O4**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7149
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

I was trying to create a URL to the webservice (with parameters) and use
that URL to receive an XML stream contains the webmethod's result.

I need to do that because I have some clients that cannot have SOAP client
capabilities.

From your reply I understand it is impossible. The only way to call a
webmethod is a soap call. Is that a correct assumption?

Thank you,

Alan

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:Fl**************@TK2MSFTNGXA01.phx.gbl...
The page will have some textbox for you input paremeters. But this only
allow you test web service locally.

Luke



Nov 23 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tim Simmons | last post by:
I am stumped. I encoded the action = of my form using GET and I can't seem to get the property/value stuff from it using a JavaScript script I got from the web. I want to create a trivia game...
3
by: Dr. Oz | last post by:
Hi, I am trying to read in a query string from one page and build a link to another page based on the query string. Here's the code I am using to read in the query string: <script...
1
by: anshul | last post by:
Can somebody tell me about state management in asp.net using Query Strings. I am just unable to understand this. Anshul
0
by: A.M | last post by:
Hi, Is there any way to call a WSS web service method by using browser and see the XML result in browser as well? I have been told that there is query string syntax for calling...
2
by: Milkstr | last post by:
is it possible to pass dynamic text through the query string command?? I know you can just pass a variale through a link eg. www.text1.com/text1.asp?username="Mike" but i want to use the...
3
by: Skip | last post by:
OK, I'm a novice in JS but have lots of coding experience. I am trying to accomplish something that would seem somewhat simple - BUT IT'S NOT. I have a basic window that calls another window...
1
by: agarwasa2008 | last post by:
Hi, I am new to VB .NET programming. I need to display a value on a web form called FeatureList.aspx. Here are the details: The web form FeatureSearch.aspx contains a user control called...
4
by: madhumy | last post by:
I am having Arraylist containg list of data, Now I am using a Session variable concept to Pass the Arraylist to next page, Instead I want to use Querystring method, can it be done? I need code help.
1
Sl1ver
by: Sl1ver | last post by:
what im struggling with is to do with web services i got a register page in client app then register.java + my webservice + dbconnection.java
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.