Using the HttpWebRequest class

前端 未结 3 564
梦如初夏
梦如初夏 2020-12-10 12:32

I instantiate the HttpWebRequest object:

HttpWebRequest httpWebRequest = 
    WebRequest.Create(\"http://game.stop.com/webservice/services/gameup\")
    as H         


        
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-10 13:02

    If you're trying to talk to a Java web service, then you should not use HttpWebRequest. You should use "Add Service Reference" and point it to the Java service.

提交回复
热议问题