Re: send soap message

From: Mark (mark_kurten_at_acordia.com)
Date: 01/29/05


Date: Fri, 28 Jan 2005 22:10:39 -0500

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]" <INVALIDEMAIL@austin.rr.com> wrote in message
news:%23wZPCqDBFHA.2876@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:markkurten@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.
>



Relevant Pages

  • There was an error generating the XML document. --> Object reference not set to an instance
    ... I've written a web service that returns an xml document with some ... information about documents in a Sharepoint Server, ... Server was unable to process request. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Passing an XML document to a web service
    ... The web service will be on an IBM box, ... > Web services will do serialization for you. ... > You have two options to pass xml document between the client and the ... If that fails, use string. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Web Service calling RPGLE Service Program..?
    ... an XML document has no set length and with integrating a Web Service ... with RPGLE my max length is 65535 for a character ... java program that actually calls an RPGLE Service program passing the ...
    (comp.sys.ibm.as400.misc)
  • RE: XML Documents to Web service
    ... >You can pass an XML document to the web service. ... >Note When you use the wizard to create receive ... >>Publishing an Orchestration as a Web Service using the ...
    (microsoft.public.biztalk.general)
  • Creating a booking engine with Web Services
    ... Then I get an xml base response from the web service. ... So XSLT will help me parse the data, I also want to use that data i parse ... They respond back with an XML document. ... Then the customer will pick a flight ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Quantcast