472,805 Members | 937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 6776

-----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
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.