473,836 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access webservice using ASP

2 New Member
I have a problem accessing remote webservice from my asp code. Instead of returning results, it returns list of web methods it has.
Wonder where i'm doing wrong. Also note that, this is a ristricted webservice, which need username password to access and I can't use third party tools (llike xmlspy, webservice studio) to access it and debug. I only got is WSDL.

Here is the WSDL
Expand|Select|Wrap|Line Numbers
  1. <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:DefaultNamespace" xmlns:intf="urn:DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:DefaultNamespace">
  2.     <wsdl:types>
  3.         <schema targetNamespace="urn:DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  4.             <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  5.             <complexType name="Person">
  6.                 <sequence>
  7.                     <element name="branch" nillable="true" type="xsd:string"/>
  8.                     <element name="branchAcronym" nillable="true" type="xsd:string"/>
  9.                     <element name="division" nillable="true" type="xsd:string"/>
  10.                     <element name="divisionAcronym" nillable="true" type="xsd:string"/>
  11.                     <element name="extNo" nillable="true" type="xsd:string"/>
  12.                     <element name="notesCommonName" nillable="true" type="xsd:string"/>
  13.                     <element name="notesName" nillable="true" type="xsd:string"/>
  14.                     <element name="portfolio" nillable="true" type="xsd:string"/>
  15.                     <element name="positionAcronym" nillable="true" type="xsd:string"/>
  16.                     <element name="positionLevel" type="xsd:int"/>
  17.                     <element name="positionType" nillable="true" type="xsd:string"/>
  18.                     <element name="section" nillable="true" type="xsd:string"/>
  19.                     <element name="sectionAcronym" nillable="true" type="xsd:string"/>
  20.                     <element name="signatureLevel" type="xsd:int"/>
  21.                     <element name="siteCode" nillable="true" type="xsd:string"/>
  22.                     <element name="postNominal" nillable="true" type="xsd:string"/>
  23.                     <element name="familyName" nillable="true" type="xsd:string"/>
  24.                     <element name="personId" nillable="true" type="xsd:string"/>
  25.                     <element name="positionTitle" nillable="true" type="xsd:string"/>
  26.                     <element name="department" nillable="true" type="xsd:string"/>
  27.                     <element name="salutation" nillable="true" type="xsd:string"/>
  28.                     <element name="formalSalutation" nillable="true" type="xsd:string"/>
  29.                     <element name="middleName" nillable="true" type="xsd:string"/>
  30.                     <element name="givenName" nillable="true" type="xsd:string"/>
  31.                 </sequence>
  32.             </complexType>
  33.             <complexType name="ArrayOfPerson">
  34.                 <complexContent>
  35.                     <restriction base="soapenc:Array">
  36.                         <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Person[]"/>
  37.                     </restriction>
  38.                 </complexContent>
  39.             </complexType>
  40.             <complexType name="Exception">
  41.                 <sequence>
  42.                     <element name="errorType" nillable="true" type="xsd:string"/>
  43.                     <element name="message" nillable="true" type="xsd:string"/>
  44.                 </sequence>
  45.             </complexType>
  46.         </schema>
  47.     </wsdl:types>
  48.     <wsdl:message name="GetHeadsRequest">
  49.         <wsdl:part name="MS" type="xsd:boolean"/>
  50.         <wsdl:part name="PS" type="xsd:boolean"/>
  51.         <wsdl:part name="GG" type="xsd:boolean"/>
  52.     </wsdl:message>
  53.     <wsdl:message name="GetHeadsResponse">
  54.         <wsdl:part name="GetHeadsReturn" type="impl:ArrayOfPerson"/>
  55.     </wsdl:message>
  56.     <wsdl:message name="GetPersonByCommonNameRequest">
  57.         <wsdl:part name="notesName" type="xsd:string"/>
  58.     </wsdl:message>
  59.     <wsdl:message name="GetIPPLRequest"/>
  60.     <wsdl:message name="GetIPPLResponse1">
  61.         <wsdl:part name="GetIPPLReturn" type="impl:ArrayOfPerson"/>
  62.     </wsdl:message>
  63.     <wsdl:message name="GetMyRecordsResponse">
  64.         <wsdl:part name="GetMyRecordsReturn" type="impl:ArrayOfPerson"/>
  65.     </wsdl:message>
  66.     <wsdl:message name="GetPersonByCommonNameResponse">
  67.         <wsdl:part name="GetPersonByCommonNameReturn" type="impl:ArrayOfPerson"/>
  68.     </wsdl:message>
  69.     <wsdl:message name="GetPeopleBySearchRequest">
  70.         <wsdl:part name="allWords" type="xsd:string"/>
  71.         <wsdl:part name="PeopleOnly" type="xsd:boolean"/>
  72.         <wsdl:part name="SiteOnly" type="xsd:boolean"/>
  73.         <wsdl:part name="currentOnly" type="xsd:boolean"/>
  74.     </wsdl:message>
  75.     <wsdl:message name="Exception">
  76.         <wsdl:part name="Exception" type="impl:Exception"/>
  77.     </wsdl:message>
  78.     <wsdl:message name="GetIPPLRequest1">
  79.         <wsdl:part name="positionLevel" type="xsd:int"/>
  80.     </wsdl:message>
  81.     <wsdl:message name="GetPeopleBySearchRequest1">
  82.         <wsdl:part name="givenNames" type="xsd:string"/>
  83.         <wsdl:part name="lastName" type="xsd:string"/>
  84.         <wsdl:part name="location" type="xsd:string"/>
  85.         <wsdl:part name="PeopleOnly" type="xsd:boolean"/>
  86.         <wsdl:part name="SiteOnly" type="xsd:boolean"/>
  87.         <wsdl:part name="currentOnly" type="xsd:boolean"/>
  88.     </wsdl:message>
  89.     <wsdl:message name="GetMyRecordsRequest"/>
  90.     <wsdl:message name="GetPeopleBySearchResponse">
  91.         <wsdl:part name="GetPeopleBySearchReturn" type="impl:ArrayOfPerson"/>
  92.     </wsdl:message>
  93.     <wsdl:message name="GetIPPLResponse">
  94.         <wsdl:part name="GetIPPLReturn" type="impl:ArrayOfPerson"/>
  95.     </wsdl:message>
  96.     <wsdl:message name="GetPeopleBySearchResponse1">
  97.         <wsdl:part name="GetPeopleBySearchReturn" type="impl:ArrayOfPerson"/>
  98.     </wsdl:message>
  99.     <wsdl:portType name="Directories">
  100.         <wsdl:operation name="GetIPPL">
  101.             <wsdl:input name="GetIPPLRequest" message="impl:GetIPPLRequest"/>
  102.             <wsdl:output name="GetIPPLResponse" message="impl:GetIPPLResponse"/>
  103.             <wsdl:fault name="Exception" message="impl:Exception"/>
  104.         </wsdl:operation>
  105.         <wsdl:operation name="GetIPPL" parameterOrder="positionLevel">
  106.             <wsdl:input name="GetIPPLRequest1" message="impl:GetIPPLRequest1"/>
  107.             <wsdl:output name="GetIPPLResponse1" message="impl:GetIPPLResponse1"/>
  108.             <wsdl:fault name="Exception" message="impl:Exception"/>
  109.         </wsdl:operation>
  110.         <wsdl:operation name="GetHeads" parameterOrder="MS PS GG">
  111.             <wsdl:input name="GetHeadsRequest" message="impl:GetHeadsRequest"/>
  112.             <wsdl:output name="GetHeadsResponse" message="impl:GetHeadsResponse"/>
  113.             <wsdl:fault name="Exception" message="impl:Exception"/>
  114.         </wsdl:operation>
  115.         <wsdl:operation name="GetMyRecords">
  116.             <wsdl:input name="GetMyRecordsRequest" message="impl:GetMyRecordsRequest"/>
  117.             <wsdl:output name="GetMyRecordsResponse" message="impl:GetMyRecordsResponse"/>
  118.             <wsdl:fault name="Exception" message="impl:Exception"/>
  119.         </wsdl:operation>
  120.         <wsdl:operation name="GetPersonByCommonName" parameterOrder="notesName">
  121.             <wsdl:input name="GetPersonByCommonNameRequest" message="impl:GetPersonByCommonNameRequest"/>
  122.             <wsdl:output name="GetPersonByCommonNameResponse" message="impl:GetPersonByCommonNameResponse"/>
  123.             <wsdl:fault name="Exception" message="impl:Exception"/>
  124.         </wsdl:operation>
  125.         <wsdl:operation name="GetPeopleBySearch" parameterOrder="allWords PeopleOnly SiteOnly currentOnly">
  126.             <wsdl:input name="GetPeopleBySearchRequest" message="impl:GetPeopleBySearchRequest"/>
  127.             <wsdl:output name="GetPeopleBySearchResponse" message="impl:GetPeopleBySearchResponse"/>
  128.             <wsdl:fault name="Exception" message="impl:Exception"/>
  129.         </wsdl:operation>
  130.         <wsdl:operation name="GetPeopleBySearch" parameterOrder="givenNames lastName location PeopleOnly SiteOnly currentOnly">
  131.             <wsdl:input name="GetPeopleBySearchRequest1" message="impl:GetPeopleBySearchRequest1"/>
  132.             <wsdl:output name="GetPeopleBySearchResponse1" message="impl:GetPeopleBySearchResponse1"/>
  133.             <wsdl:fault name="Exception" message="impl:Exception"/>
  134.         </wsdl:operation>
  135.     </wsdl:portType>
  136.     <wsdl:binding name="BlaSoapBinding" type="impl:Directories">
  137.         <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  138.         <wsdl:operation name="GetIPPL">
  139.             <wsdlsoap:operation/>
  140.             <wsdl:input>
  141.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  142.             </wsdl:input>
  143.             <wsdl:output>
  144.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  145.             </wsdl:output>
  146.             <wsdl:fault name="Exception">
  147.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  148.             </wsdl:fault>
  149.         </wsdl:operation>
  150.         <wsdl:operation name="GetIPPL">
  151.             <wsdlsoap:operation/>
  152.             <wsdl:input>
  153.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  154.             </wsdl:input>
  155.             <wsdl:output>
  156.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  157.             </wsdl:output>
  158.             <wsdl:fault name="Exception">
  159.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  160.             </wsdl:fault>
  161.         </wsdl:operation>
  162.         <wsdl:operation name="GetHeads">
  163.             <wsdlsoap:operation/>
  164.             <wsdl:input>
  165.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  166.             </wsdl:input>
  167.             <wsdl:output>
  168.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  169.             </wsdl:output>
  170.             <wsdl:fault name="Exception">
  171.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  172.             </wsdl:fault>
  173.         </wsdl:operation>
  174.         <wsdl:operation name="GetMyRecords">
  175.             <wsdlsoap:operation/>
  176.             <wsdl:input>
  177.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  178.             </wsdl:input>
  179.             <wsdl:output>
  180.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  181.             </wsdl:output>
  182.             <wsdl:fault name="Exception">
  183.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  184.             </wsdl:fault>
  185.         </wsdl:operation>
  186.         <wsdl:operation name="GetPersonByCommonName">
  187.             <wsdlsoap:operation/>
  188.             <wsdl:input>
  189.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  190.             </wsdl:input>
  191.             <wsdl:output>
  192.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  193.             </wsdl:output>
  194.             <wsdl:fault name="Exception">
  195.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  196.             </wsdl:fault>
  197.         </wsdl:operation>
  198.         <wsdl:operation name="GetPeopleBySearch">
  199.             <wsdlsoap:operation/>
  200.             <wsdl:input>
  201.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  202.             </wsdl:input>
  203.             <wsdl:output>
  204.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  205.             </wsdl:output>
  206.             <wsdl:fault name="Exception">
  207.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  208.             </wsdl:fault>
  209.         </wsdl:operation>
  210.         <wsdl:operation name="GetPeopleBySearch">
  211.             <wsdlsoap:operation/>
  212.             <wsdl:input>
  213.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  214.             </wsdl:input>
  215.             <wsdl:output>
  216.                 <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  217.             </wsdl:output>
  218.             <wsdl:fault name="Exception">
  219.                 <wsdlsoap:fault name="Exception" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace"/>
  220.             </wsdl:fault>
  221.         </wsdl:operation>
  222.     </wsdl:binding>
  223.     <wsdl:service name="DirectoriesService">
  224.         <wsdl:port name="Bla" binding="impl:BlaSoapBinding">
  225.             <wsdlsoap:address location="http://somewebsite:80/system/webservices.nsf/directoriesservices?OpenWebService"/>
  226.         </wsdl:port>
  227.     </wsdl:service>
  228. </wsdl:definitions>

Here is my simple asp page to access the page

Expand|Select|Wrap|Line Numbers
  1. <html> 
  2. <head> 
  3.     <META name=VI60_defaultClientScript content=VBScript> 
  4. </head> 
  5. <body> 
  6. <form> 
  7. <input type="button" value="Hello!" name="HelloButton"> 
  8. <script language="VBScript"> 
  9. '<!-- 
  10. sub HelloButton_OnClick() 
  11.  GetXMLSearchResults() 
  12. End Sub 
  14. Function GetXMLSearchResults() 
  15.             Dim xmlhttp, strSoapRequest, strSOAPResponse 
  16.             strSOAPResponse = "" 
  17.             Const SoapServer = "somewebsite" 
  18.             Const SoapPath = "/directoriesservices?OpenWebService" 
  19.             Dim  SoapURL 
  20.             SoapURL  = "http://" & SoapServer & SoapPath 
  21.             set xmlhttp = CreateObject("Msxml2.ServerXMLHTTP") 
  22.             'Create SOAP request 
  23.             strSoapRequest = MakeSOAPMessage() 
  24.             ' Set the Headers 
  25.             xmlhttp.Open "GET", SoapURL, False, "Username" ,"password"           ' False = Do not respond immediately 
  27.             xmlhttp.setRequestHeader "Content-Type", "text/xml; charset=utf-8" 
  28.             xmlhttp.setRequestHeader "SOAPAction", "GetPeopleBySearch" 
  29.             'Send SOAP Request 
  30.             xmlhttp.send(strSoapRequest) 
  31.             Response.Write xmlhttp.responseText 
  33.             'Response.End 
  34.             strSOAPResponse = "" 
  35.             If Cint(xmlhttp.Status) = 200 Then                                   ' Response from server was success 
  36.                         strSOAPResponse = xmlhttp.responseText 
  37.             Else                                                                  ' Response from server failed 
  38.                         Response.Write "<div class='feedback_error'> Error in accessing search results from the directory web service.<br/>" 
  39.                         Response.Write "ERROR :- " & xmlhttp.status & " - " & xmlhttp.statusText & "</div>" 
  40.             End If 
  41.             set xmlhttp = nothing 
  42.             GetXMLSearchResults = strSOAPResponse 
  43. End Function 
  47. '------------------------------------------------------------------------------------------------------------------------------------------------ 
  49. ' Create a SOAP reqest to the web service 
  51. '------------------------------------------------------------------------------------------------------------------------------------------------ 
  53. Function MakeSOAPMessage() 
  54.             Dim strSOAPMessage 
  55.             ' XML tag 
  56.             strSOAPMessage = "<?xml version=""1.0"" encoding=""utf-8""?>" & VBCRLF 
  57.             ' Envelop tag with name spaces 
  58.             strSOAPMessage =  strSOAPMessage & "<soap:Envelope xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:soapenc=""http://schemas.xmlsoap.org/soap/encoding/"" xmlns:tns=""http://somewebsite/services/Directories"" xmlns:types=""http://somewebsite/services/Directories/encodedTypes"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">" & VBCRLF 
  59.             ' ' SOAP body tag 
  60.             strSOAPMessage  = strSOAPMessage  & "<soap:Body soap:encodingStyle=""http://schemas.xmlsoap.org/soap/encoding/"">" & VBCRLF 
  61.             strSOAPMessage  = strSOAPMessage  & "<q1:GetPeopleBySearch xmlns:q1=""http://somewebsite"">" & VBCRLF 
  62.             strSOAPMessage  = strSOAPMessage  & "<allWords xsi:type=""xsd:string"">" & "smith" & "</allWords>" & VBCRLF 
  63.             strSOAPMessage  = strSOAPMessage  & "<PeopleOnly xsi:type=""xsd:boolean"">" & "false" & "</PeopleOnly>" & VBCRLF 
  64.             strSOAPMessage  = strSOAPMessage  & "<SiteOnly xsi:type=""xsd:boolean"">" & "false" & "</SiteOnly>" & VBCRLF 
  65.             strSOAPMessage  = strSOAPMessage  & "<currentOnly xsi:type=""xsd:boolean"">" & "true" & "</currentOnly>" & VBCRLF 
  66.             strSOAPMessage  = strSOAPMessage  & "</q1:GetPeopleBySearch>"  & VBCRLF 
  67.             strSOAPMessage  = strSOAPMessage  & "</soap:Body>" & VBCRLF 
  68.             strSOAPMessage  = strSOAPMessage  & "</soap:Envelope>" & VBCRLF 
  69.             MakeSOAPMessage = strSOAPMessage 
  70. End Function 
  71. ' --> 
  73. </script> 
  74. </form> 
  75. </body> 
  76. </html> 
and response.write returns this
Expand|Select|Wrap|Line Numbers
  1. Bla(wsdl) 
  2. GetIPPL 
  3. GetIPPL 
  4. GetHeads 
  5. GetMyRecords 
  6. GetPersonByCommonName 
  7. GetPeopleBySearch 
  8. GetPeopleBySearch
in Bla(wsdl), wsdl have a link to wsdl. so that loads up above wsdl when i click on the link.

Could some one please help me on this.
Thanks in advance.
Aug 18 '08 #1
1 2663
3,406 Recognized Expert Specialist
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
  3. xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
  4. xmlns:tns="http://somewebsite/services/Directories" 
  5. xmlns:types="http://somewebsite/services/Directories/encodedTypes" 
  6. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  7. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  8.    <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  9.      <q1:GetPeopleBySearch xmlns:q1="http://somewebsite">
  10.         <allWords xsi:type="xsd:string">smith</allWords>
  11.         <PeopleOnly xsi:type="xsd:boolean">false</PeopleOnly>
  12.         <SiteOnly xsi:type="xsd:boolean">false</SiteOnly>
  13.         <currentOnly xsi:type="xsd:boolean">true</currentOnly>
  14.       </q1:GetPeopleBySearch>
  15.    </soap:Body>
  16. </soap:Envelope>
I've never opened a webservice in classic ASP, but I would assume the problem is in the SOAP. Looking over your code I don't see a problem though, and I assume you checked it already?

Aug 21 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Johan Johansson (Sweden) | last post by:
I can't connect to our database (seperate database server) from within my webservice. I cannot understand why.!!! * I have configured IIS not to allow anonymous access and to use "windows integrated authentication" * I have configured the webService to use "windows" authentication and to impersonate whomeever uses it. * In the client (the one that consumes the webservice) I have specified the network credentials (DefaultCredentials)...
by: sahan malagi | last post by:
Hello, I am new to webservices and I am trying to get a simple Webservice client in VB (Using Microsoft SOAP Toolkit) to access a webservice on a public site. I get the following error message when I run my webservice client... Runtime Error '-2147024809 (80070057) WSDLReader: Loading of the WSDL file failed HRESULT=0x80070057 WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is:Access is denied. HRESULT:0x80070005
by: Duffman | last post by:
Hi, I have what seems to be a common problem, but the solutions I've found don't seem to work. I would like to use a web service to create a file at a UNC location in a shared file. Currently I'm just running it locally and saving the file locally using my machines UNC path. I have given user ASPNET full control over the folder I want to write the file to. I've also tried using the web config identity impersonation to use my user...
by: PrettySneaky | last post by:
I currently working on a webservice which calls a DCOM object! The webproject works just fine when i run it in Visual studio 2005. However due to some compability issues with .NET 2.0 and the server which my webservice uses I have to use Visual Studio 2003 and a older .NET framework (.NET 1.1 or something, not important). Now it's impossible to run the webservices and I believe it has to do with something with the security settings of...
by: SAL | last post by:
I’m fairly new to .NET. I’ve been developing in .NET for about 6 months. I have over 10 years experience with VB in general. Here’s what I have done so far: 1. Project is entirely .NET 2. Working with VS.net 2003, Framework 1.1, and WSE 2.0 3. Created 1 Webservice 4. Added 9 projects to it. All developed in VB.net (6) and C# (3) 5. Added all the necessary references to the .asmx to access these projects
by: hulinning | last post by:
Hi I use webservice to read/write data to Access database using System.Data.OleDb with a connection string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source;User Id=admin;Password=" I can read/write on my developed computer without any problem. However, When I install my webservice on other computers for testing, My webservice could not write to Access database anymore. I can read only.
by: hufaunder | last post by:
I have a website that uses a web service that is located on the same machine. This webservice calls a program which in return modifies a file in c:\documents and Settings\All Users\Application Data\...'. Unfortunately, whenever the webservice is executed I get the following error message: Access to the path 'C:\Documents and Settings\All Users\Application Data\...' is denied. Permissions for the default website (where the website and...
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file to a directory called Services. When referenced from a webapplication running on localhost it operates correctly. When referenced from a webapplication running on the same remote server as the webservice it operates correctly.
by: Sakalicek | last post by:
Hi all, could you please help me with my big problem? I have WebService on IIS. This WebService has methods to control database stored on server. I am using Postgre database and to access to database I have Npgsql.dll library. This library is stored in GAC (global assembly cache). The WebService is not able to open the connection to the database even the connection string is allright, everything seems to be OK. But when the function...
by: =?Utf-8?B?ZG91Zw==?= | last post by:
I hadn't had a class yet and I had some MS help on this to set up, but I wrote a .Net WS that creates a proxy class response using SOAP. Works fine. And in kind of a good way, the IDE has hidden the SOAP implementation so from my end I'm just creating, passing back my XML proxy class. The client side consumer of WS has for 1) text file containing entire SOAP response and recently 2) average size of response in bytes to iclude SOAP...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.