| | |
Send string to a web service
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi there, does anyone know a best way to send a long string to a web service with the address for eg. "http://148.145.15.7/screenpop/startservices" at port 8080?
Can use HttpWebRequest? Or use TcpClient to send the string to the service address? Or is there any other better way to do so? This is really a tough prob for me, having prob in a proj now.
Actually i need to send a SOAP string to the SOAP server with the address as told, but not sure how to do that. Hope that someone can help me thru. "http://148.145.15.7/screenpop/startservices?wsdl" is actually the xml definition file to interprete the soap string received.
Thanks in advance.
Cheers...:cheesy:
Can use HttpWebRequest? Or use TcpClient to send the string to the service address? Or is there any other better way to do so? This is really a tough prob for me, having prob in a proj now.
Actually i need to send a SOAP string to the SOAP server with the address as told, but not sure how to do that. Hope that someone can help me thru. "http://148.145.15.7/screenpop/startservices?wsdl" is actually the xml definition file to interprete the soap string received.
Thanks in advance.
Cheers...:cheesy:
Last edited by eric820401; Jul 4th, 2006 at 2:53 am.
Hi,
TcpClient is for raw socket access and isn't convenient. HttpWebRequest is possible but you have to code all the SML and SOAP parsing, composing code. Best way to do this is to consume the webservice using VS.Net's Porject->Add Web Reference menu and let the wizard create the code for calling SOAP meathods.
Loren Soth
TcpClient is for raw socket access and isn't convenient. HttpWebRequest is possible but you have to code all the SML and SOAP parsing, composing code. Best way to do this is to consume the webservice using VS.Net's Porject->Add Web Reference menu and let the wizard create the code for calling SOAP meathods.
Loren Soth
Best regards,
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
![]() |
Similar Threads
- how to send sms from web site to mobile (PHP)
- Calling C# webservice from VC++ 6 (C++)
- how to get the connected user name in web service (C#)
- database string in web.config not working (ASP.NET)
- Web Service with ASP .Net (ASP.NET)
- VB.NET Web service using COM component - "Object variable or With block variable ..." (VB.NET)
- Installing a web service and a form application together (ASP.NET)
- ATL Web Service (C)
Other Threads in the C# Forum
- Previous Thread: Displaying Label over other controls
- Next Thread: Help on Communication over LAn..
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom cyclethruopenforms data database datagrid datagridview dataset date/time datetime degrees development dll draganddrop drawing encryption enum excel file filename finalyearproject form format forms function gdi+ getoutlookcontactusinfcsvfile gis globalization gtk image index input install installer java label list listbox mandelbrot math mono mouseclick mysql operator panel path photoshop picturebox pixelinversion post programming radians regex remoting richtextbox save server silverlight sleep socket sql sql-server statistics stream string table text textbox thread time timer timespan update usercontrol users validate validation visualstudio webbrowser wia windows winforms wpf xml





