Hi, 
I am using a WSDL for a flight search at 

http://202.138.112.213/jettaapi/flightmatrixservice.asmx?wsdl

the wsdl shows that namespace for FlightMatrixRequest object is
xmlns="http://www.vedaleon.com/webservices"; 

But, when i create the objects and try to send the request across the wire,
for some reason... the elements under FlightMatrixRequest seem to be using a
different namespace. 
here is the part of the SOAP message which is goin across the wire 

<ns2:FlightMatrixRequest
xmlns:ns1="http://www.ebxml.org/namespaces/messageHeader";
xmlns:ns2="http://www.vedaleon.com/webservices";
xmlns:ns3="http://schemas.xmlsoap.org/ws/2002/12/secext";>
      <ns1:FlightMatrixRQ> 
        <ns1:AirItinerary DirectionInd="Return"> 
          <ns1:OriginDestinationOptions> 
            <ns1:OriginDestinationOption> 
              <ns1:FlightSegment RPH="1"
ArrivalDateTime="2008-05-16T20:15:01.000-04:00"
DepartureDateTime="2008-05-09T20:15:01.000-04:00"> 
                <ns1:DepartureAirport LocationCode="BOS"/> 
                <ns1:ArrivalAirport LocationCode="SFO"/> 
                <ns1:MarketingAirline Code="9W"/> 
              </ns1:FlightSegment> 
            </ns1:OriginDestinationOption> 
          </ns1:OriginDestinationOptions> 
        </ns1:AirItinerary> 
        <ns1:TravelerInfoSummary> 
          <ns1:AirTravelerAvail> 
            <ns1:AirTraveler> 
              <ns1:PassengerTypeQuantity Quantity="2" Code="ADT"/> 
            </ns1:AirTraveler> 
          </ns1:AirTravelerAvail> 
        </ns1:TravelerInfoSummary> 
      </ns1:FlightMatrixRQ> 
    </ns2:FlightMatrixRequest> 

there 2 things that look weird to me.. 
1. Y did the ns1 and ns2  come into the picture in the soap message, (these
are namespaces for some different objects) 
2. the elements under FlightMatrixRequest are using ns1 which is the wrong
one. they should be using ns2. (according to the wsdl) 

can anyone please help me. what am i missing or doin wrong? 

any help is appreciated. 

thanks and regrads
-Prashant 
-- 
View this message in context: 
http://www.nabble.com/Multiple-NamseSpace-Issues-tp16993271p16993271.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to