Hello,

before issuing a bug report, I'd just want to make sure, that I'm not doing
something wrong.

I'm using the MessageService sample to echo an arbitrary XML using SAAJ as
client. See Xml below.

Using Axis 1.1, the reply is as expected (the same XML). Using Axis 1.2RC2
only the following fragment is returned:

    <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
      <soapenv:Body>
        <AUCTIONBLOCK>
          <ITEM/>
        </AUCTIONBLOCK>
      </soapenv:Body>
    </soapenv:Envelope>
  </result>

Adding logging to the MessageService.java shows, that the received
message-xml is already truncated.

I tried all four valid signatures for message-style services:
    public Element [] method(Element [] bodies);
    public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
    public Document method(Document body);
    public void method(SOAPEnvelope req, SOAPEnvelope resp);

Best regards,
Walter Bauer

-----

XML parsed and sent using SAAJ as Body:

<SOAP-ENV:Body>
    <AUCTIONBLOCK>
        <ITEM>
            <TITLE>Vase and Stones</TITLE>
            <ARTIST>Linda Mann</ARTIST>
            <DIMENSIONS>20x30 inches</DIMENSIONS>
            <MATERIALS>Oil</MATERIALS>
            <YEAR>1996</YEAR>
            <DESCRIPTION>Still Life</DESCRIPTION>
            <PREVIEW-SMALL src="burl-s.jpg" width="300" height="194"
alt="Vase and Stones"/>
            <BIDS>
                <BID>
                    <PRICE>6000</PRICE>
                    <TIME>3:02:22 PM</TIME>
                    <BIDDER>Chris</BIDDER>
                    <TIMESTAMP>1307</TIMESTAMP>
                </BID>
                <BID>
                    <PRICE>5700</PRICE>
                    <TIME>2:58:42 PM</TIME>
                    <BIDDER>John</BIDDER>
                    <TIMESTAMP>1315</TIMESTAMP>
                </BID>
                <BID>
                    <PRICE>5600</PRICE>
                    <TIME>2:54:32 PM</TIME>
                    <BIDDER>Andrew</BIDDER>
                    <TIMESTAMP>1308</TIMESTAMP>
                </BID>
                <BID>
                    <PRICE>5500</PRICE>
                    <TIME>2:48:08 PM</TIME>
                    <BIDDER>Chris</BIDDER>
                    <TIMESTAMP>1307</TIMESTAMP>
                </BID>
                <BID>
                    <PRICE>5000</PRICE>
                    <TIME>2:47:58 PM</TIME>
                    <BIDDER>opening price</BIDDER>
                    <TIMESTAMP>1298</TIMESTAMP>
                </BID>
            </BIDS>
            <TIMESTAMP>1315</TIMESTAMP>
        </ITEM>
    </AUCTIONBLOCK>
</SOAP-ENV:Body>




Reply via email to