473,320 Members | 2,109 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,320 software developers and data experts.

Web service client using https

Hi All,

I am trying to connect .NET web service using HTTPS. I wrote a python script using https. For that need to send SOAP message to the server. But it is giving error 401.3 execution access is denied.(SOAP message not processing)
I have a doubt can we access web services using HTTPS only, or need to have any other.
I am sending the code::
Expand|Select|Wrap|Line Numbers
  1. import httplib
  2. a=open('/root/Desktop/b.xml','r')
  3.  
  4. #SOAP message 
  5. Message=a.read()
  6. h =httplib.HTTPS('hpc.msftlabs.com')
  7. h.putrequest('PUT','/HPCBasicProfile/HPCBasicProfile.svc')
  8. h.putheader('Accept','text/soap')
  9. h.putheader('Content-type','text/jsl; charset="utf-8"')
  10. h.putheader('Content-length','%s' % str(len(Message)))
  11. h.putheader('SOAPAction','http://schemas.ggf.org/bes/2006/08/besfactory/BESFactoryPortType/CreateActivity')
  12. .endheaders()
  13.  
  14. h.send(Message)
  15.  
  16. errcode,errmsg, headers = h.getreply()
  17. print errcode,errmsg, headers
  18. f = h.getfile() # Get file object for reading data
  19. data = f.read()
  20. print data
  21. f.close()
  22.  
Please guid me to access web service.

Thanks
Allavarapu
Oct 4 '07 #1
0 1407

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

Similar topics

0
by: Michiel | last post by:
Hello, I am not sure this is the right place to ask. I tried the ZSI mailing list, but got no response there. My goal is to write some web services with ZSI to be used by a client written in...
1
by: vipin aravind | last post by:
Hi, I have a soap .NET client in c# generated using wsdl.exe and I am able to do the communication with the web service and get the information. But I have a question, I have enabled https...
0
by: umhlali | last post by:
I get the following exception when my VB.NET app calls a Java web service that returns an array of objects. The same call works for a single object though. So looks like there is no problem...
0
by: bweaver4usenet | last post by:
Hi, all. I need some help getting a client up and running. Client Issue Client is using vc++ 6 and the Soap Tkt. Our web service is built with c# vs.net 2003. Can someone refer me to a sample I...
0
by: jacorona | last post by:
Hello all, I have found a problem accesing a web service hosted in IIS 5.0 in a W2K box. The web service site is configured to accept both integrated windows authentication and client certificates....
1
by: welcomestocontact | last post by:
Hi All, I am trying to connect .NET web service using HTTPS. I wrote a python script using https. For that need to send SOAP message to the server. But it is giving error 401.3 execution access...
5
by: nomad | last post by:
Hi, I was wondering if it was possible to add a service reference to a web service which requires an SSL certificate to authenticate? If not, if I have the SSL certificate installed via mmc...
0
by: Martink87 | last post by:
Hey everyone, my first post here. I am a newbie C# developer, pretty much done nothing in it and am really learning as I am going on. I have already created one webservice communicating App but...
0
by: satish kumar | last post by:
Hello! We have a situation where in we're developing a WCF Intermediatery service, which would handle calls between Callers (could be asp.net wcf clients) and External Services (mostly WCF...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.