Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
| Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 3rd, 2007, 03:19 AM
Registered User
 
Join Date: Nov 2007
Location: Mumbai, Maharastra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default need way to pass the soap message to webservice i

Hi,

I am trying to call a web service that has no wsdl. Below is the soap request.

How should I do it. can any one give me code sample for it


<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope
        xmlnsOAP-ENV="http://Schemas.XMLSoap.org/Envelop/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-Instance"
        xmlns:xsd="http://www.w3.org/1999/XMLScema"
    xmlns:ns2="http://XML.apache.org/xml-soap"
    xmlns:ns1="urns:Flifo">
  <SOAP-ENV:Header>
    <ClientId>ABC</ClientId>
    <TraceId>xyz</TraceId>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:getAvailability SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <input xsi:type="ns1:GetAvailabilityRequest">
            <CarrierAccount xsi:type="xsdtring">AB</CarrierAccount>
        <AvailabilityQueries xsi:type="ns2:Vector">
            <Item xsi:type="ns1:AvailabilityQuery">
                <DepartureDate xsi:type="xsdateTime">2007-11-29T00:00:00.000Z</DepartureDate>
                    <Origin xsi:type="xsdtring">XYZ</Origin>
                    <destination xsi:type="xsdtring">ABC</destination>
                    <NumberFares xsi:type="xsd:int">3</NumberFares>
            </Item>
        </AvailabilityQueries>
       </input>
    </ns1:getAvailability>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exposing 8 Send Ports with SOAP as WebService. benvictor Biztalk 0 July 29th, 2008 05:53 PM
how to pass a value in this webservice? hertendreef ASP.NET 2.0 Professional 0 December 24th, 2006 12:19 PM
Calling WebService from VB6 without use SOAP toolk sanjaykabra82 .NET Web Services 1 February 25th, 2004 08:30 AM
WebService - SOAP Protocol ksams .NET Web Services 1 January 29th, 2004 04:37 PM
SOAP Message hueduongit .NET Web Services 4 December 1st, 2003 08:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.