I have found 2 more sample code for basicHTTP binding http://www.sourcecodesworld.com/source/show.asp?ScriptID=249[^] but. still my answer is peding... how can I get the proper response status whether i am connected or not ???
amit k mistry
Posts
-
ASP passing credential to WCF services [modified] -
ASP passing credential to WCF services [modified]Hi, I have an asp page that I want to connect with WCF Service Can someone guide me how can I connect and call the service? <% Dim soapServer soapServer = "https://XXXXXX.YYYYYY.com/ZZZZZZZZ/20100201/ABC.svc" Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", soapServer, False,"USERNAME","PASSWORD" xmlhttp.setRequestHeader "SOAPAction", POST & " " & soapServer & " HTTP/1.1" xmlhttp.setRequestHeader "Content-Type", "text/xml; charset=utf-8" Response.Write "About to call WCF Web Service from Classic ASP..." xmlhttp.send() Response.Write "<br>Finished calling Web Service." Response.Write "<br>Status = " & "<font color='red'>" & xmlhttp.statusText & "</font>" Response.Write "<br>ResponseText = " & xmlhttp.responseText %> I got Status = Bad Request Result when I ran the asp page . I don't have idea whether my creadetial get pass or fail or do I properly connect with WCF service or not ? Can any one help me in this matter?
modified on Monday, April 26, 2010 3:20 PM
-
How to consume WCF service throgh Visual Basic 6.0 applicationHi, the COM wrapper has the clientproxy.cs, app.config (These 2 are from add service reference in vs 2008), COMClass.vb When I built, its create the tlb file in vs. 2008.but when I added this type library (.tlb) in visual basic 6.0 and ran it I got the Error <b>"Could not find the default endpoint element that references contract ' ‘in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."</b> Here is the application I have created one COM wrapper in VS2008 and added wcf (Add service reference) service ,Did some necessary code to instantiate the object and call methods of WCF service And run it so I got one tlb file in my bin folder which I used in my VISUAL BASIC 6.0 application. I tried lots for dyanamic proxy and configuration with creating channel factory but not helpful .I will appreciate if someone can help me in.... Thanks
-
How to consume WCF service throgh Visual Basic 6.0 applicationactually I don't have idea about how can we add the .cs/.vb(which is created file by svcutil) and app.config file in COMClass ?
-
How to consume WCF service throgh Visual Basic 6.0 applicationReally not helpful Everytime I got message "entry point cound not found" when adding reference in my VB application and I didnt get any com class. :doh:
-
How to consume wcf service from Visual Basic 6.0 applicationright now I don't have control over creating WSDL file
-
How to consume wcf service from Visual Basic 6.0 application -
How to consume WCF service throgh Visual Basic 6.0 applicationYou are talkin about this ??? http://support.microsoft.com/kb/817248[^]
-
How to consume WCF service throgh Visual Basic 6.0 applicationCan you elborate the answer ?
-
How to consume WCF service throgh Visual Basic 6.0 applicationHi appreciate if someone can help me in this or who already passthrogh this situation ;) We have bunch of c++ and vb,asp classic and cobol application. They all need to consume WCF service . I have read related links as well as MSDN sample but not much strongly helpful.Can someone help me out ? app.config and proxyclient.cs is ready. But don't know excatly how to communicate ? Thanks!!
-
window.open( "URL" ..... for localhost is not workingBut it does open ? no Have you tried _blank for the target ? means??? is login page so if i want to open for the other page in same directory then its working. Have you tried with more than one browser ? Do you have any sort of popup blocker installed ? no i want to just try for IE only (ofcourse 6.0) amit
-
window.open( "URL" ..... for localhost is not workinghttp://..... url it doesn't open in the new page
-
window.open( "URL" ..... for localhost is not workingHello Experts, Following is the code not working for me .Could anyone please help me out regarding the issue? Thanks in advance.
try
{
Response.Write("<script>window.open('http://localhost:1390/WebClient/WebPages/CommonPages/HomePage.aspx','\_new','height='+screen.height+',width='+screen.width+',top=0,left=0, status=no,toolbar=no,menubar=yes,location=no,titlebar=no');</script>");
}
catch (Exception ex)
{
Response.Write(ex);
} -
Related value in DatagridviewcolumnI don't get exatly what would you like to explain but as per my understanding this may be helpful to you if it didn't works for you. Let me know I can help you out with other way. http://www.progtalk.com/ViewArticle.aspx?ArticleID=54[^]