473,396 Members | 1,966 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,396 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 1410

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
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.