473,394 Members | 1,774 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,394 software developers and data experts.

send soap message

i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't know
how to send it to this service.

i've accessed other web services in .net and usually there are functions i
can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is not used
(i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope, header
and body info) to this service.

can someone please point me in the right direction? i'm sort of in the
dark...thanks

unfortunately, i don't have to many details about this service, i just know
the elements i need to put in the xml doc.
Nov 12 '05 #1
5 6825

-----Original Message-----
From: mark kurten [mailto:ma********@discussions.microsoft.com]
Posted At: Wednesday, January 26, 2005 9:03 PM
Posted To: microsoft.public.dotnet.xml
Conversation: send soap message
Subject: send soap message

i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't know how to send it to this service.

i've accessed other web services in .net and usually there are functions i can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is not used
(i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope,
header
and body info) to this service.

can someone please point me in the right direction? i'm sort of in the dark...thanks

unfortunately, i don't have to many details about this service, i just know
the elements i need to put in the xml doc.


Nov 12 '05 #2
Mark,

You didn't mention what framework you need to send the message with. Are
you using .Net or the Soap toolkit.

Be careful with the soap toolkit as Microsoft is officially retiring
that toolkit in March.

If you are developing your web service client in .Net then you can build
the XmlDocument and post the content to the target web service with the
HttpWebRequest class.

Check out the Quickstart examples that are installed with the .Net
framework for an example on how to POST data over Http.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

-----Original Message-----
From: mark kurten [mailto:ma********@discussions.microsoft.com]
Posted At: Wednesday, January 26, 2005 9:03 PM
Posted To: microsoft.public.dotnet.xml
Conversation: send soap message
Subject: send soap message

i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't know how to send it to this service.

i've accessed other web services in .net and usually there are functions i can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is not used
(i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope,
header
and body info) to this service.

can someone please point me in the right direction? i'm sort of in the dark...thanks

unfortunately, i don't have to many details about this service, i just know
the elements i need to put in the xml doc.


Nov 12 '05 #3
it is with .net framework...thank you..

i was reading that in framework 1.1 (i think) the http get and http put
functions are disabled by default.

what if the service i'm sending this to has this disabled? or would this
not be possible?

if i run a web service and click on one of the functions available, it lists
a sample soap request, http get request and http post request. what is this
page called and i guess the webservice generates this automatically?

reason i ask this is because below you mention HttpWebRequest. what if i
need to use the soap request and response? is that different?

thanks.


"Christoph Schittko [MVP]" <IN**********@austin.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Mark,

You didn't mention what framework you need to send the message with. Are
you using .Net or the Soap toolkit.

Be careful with the soap toolkit as Microsoft is officially retiring
that toolkit in March.

If you are developing your web service client in .Net then you can build
the XmlDocument and post the content to the target web service with the
HttpWebRequest class.

Check out the Quickstart examples that are installed with the .Net
framework for an example on how to POST data over Http.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

-----Original Message-----
From: mark kurten [mailto:ma********@discussions.microsoft.com]
Posted At: Wednesday, January 26, 2005 9:03 PM
Posted To: microsoft.public.dotnet.xml
Conversation: send soap message
Subject: send soap message

i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't

know
how to send it to this service.

i've accessed other web services in .net and usually there are

functions i
can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is

not
used
(i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope,
header
and body info) to this service.

can someone please point me in the right direction? i'm sort of in

the
dark...thanks

unfortunately, i don't have to many details about this service, i

just
know
the elements i need to put in the xml doc.

Nov 12 '05 #4
i found an example of what i'm trying to do
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<x:sample xmlns:x="urn:stuff">
<firstname>name</firstname>
<secondname>name2</secondname>
</x:sample>
</soap:Body>
</soap:Envelope>

I'm trying to find out how to create an xml document with the above
contents.

Thanks.

"Christoph Schittko [MVP]" <IN**********@austin.rr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Mark,

You didn't mention what framework you need to send the message with. Are
you using .Net or the Soap toolkit.

Be careful with the soap toolkit as Microsoft is officially retiring
that toolkit in March.

If you are developing your web service client in .Net then you can build
the XmlDocument and post the content to the target web service with the
HttpWebRequest class.

Check out the Quickstart examples that are installed with the .Net
framework for an example on how to POST data over Http.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

-----Original Message-----
From: mark kurten [mailto:ma********@discussions.microsoft.com]
Posted At: Wednesday, January 26, 2005 9:03 PM
Posted To: microsoft.public.dotnet.xml
Conversation: send soap message
Subject: send soap message

i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't

know
how to send it to this service.

i've accessed other web services in .net and usually there are

functions i
can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is

not
used
(i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope,
header
and body info) to this service.

can someone please point me in the right direction? i'm sort of in

the
dark...thanks

unfortunately, i don't have to many details about this service, i

just
know
the elements i need to put in the xml doc.

Nov 12 '05 #5
one more question:

i found a vb example that uses the soap toolkit for VB.
This approach I'm familiar with and it's obviously easier. It's my
understanding this is referred to as high level API. The task i'm assigned
with is to use the
low level api to build the soap file "by hand"

If i make this soap xml file by hand (i posted an earlier example of what i
need), is there a reason why i couldn't use the high level api to do the
same?
I'm being told i can't use this high level API (tool kit) because i have to
do it "by hand" or manually create this file. Can someone please explain to
me why this would be? Does this have to do with a WSDL file possibly not
being used?

Thanks.
Private Sub cmdTime_Click()
Dim c As New MSSOAPLib.SoapClient
c.mssoapinit "http://www.a.com/sample.xml"

Dim sTime As String

sTime = c.GetTime()

txtTime = sTime
End Sub
"mark kurten" <ma********@discussions.microsoft.com> wrote in message
news:7B**********************************@microsof t.com...
i have a requirement to send a soap message to a web service.

i'm familiar with the soap toolkit using vb.

i need to generate a xml document which i think i can do, but i don't know
how to send it to this service.

i've accessed other web services in .net and usually there are functions i
can reference which do the processing and then return some result.

however, i've been told that no functions are available and wsdl is not used (i'm not very familiar with this)
I'm suppose to just send this xml document (which has soap envelope, header and body info) to this service.

can someone please point me in the right direction? i'm sort of in the
dark...thanks

unfortunately, i don't have to many details about this service, i just know the elements i need to put in the xml doc.

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ad | last post by:
I want to send a DataSet to WebService, but the DataSet if too huge(there about 50000 records, and 50 fields every record). My solution is 1.save the DataSet as XML file, 2.zip the XML file. 3....
1
by: s.a. makhdoomi | last post by:
I have an application developed in asp. I can't rewrite the application in .net right now, I want to send some SOAP requests through asp, Is it possible to send SOAP request and receive response.
2
by: Softwaremaker | last post by:
Hi Fellows, I would like to post a SOAP Message to a listening Web Service. This SOAP Message is hand-created by me (Please dont ask me why ;)) So, I intend to create the XML SOAP Message and...
18
by: A.M | last post by:
Hi, Is there any way to call a WSS web service method by using browser and see the XML result in browser as well? I have been told that there is query string syntax for calling...
1
by: Julio Delgado | last post by:
Hi, Again sorry for my ignorance first time interfacing to a remote server that is not a web service but it uses SOAP protocol to talk through a particular TCP port. I need to develop a VB.NET...
0
by: Alexiel | last post by:
Hi, i have a problem, I have a Java Client and i call my webservice on ..NET. This run perfectly just except when i send parameters don't work fine. I send my code : This is my java...
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
6
by: Hao | last post by:
There is a wield issue in inspecting the network traffic on the web service client side. There are two soap calls if credentials are used. The first call has no credentials and is rejected by the...
1
by: =?Utf-8?B?UnVp?= | last post by:
Can I override the send and receive methods on a web service proxy? I want to use the default proxy classes generated when I add a reference to a web service to create and read the SOAP messages...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
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.