Title: Signature

Hi All,

 

I am facing some issues with MultiRefs in AXIS

 

I am trying to invoke a RPC encoded WebService and when I invoke the WebService, it creates SOAP Request containing multirefs in which ID is not assigned. See the attached text file.

<multiRef xsi:type="xsd:string">100</multiRef> (id is missing)

 

If I disable sendMultiRefs property in the Call object, everything works fine.

 

What is the use of property “sendMultiRefs” (AxisEngine.PROP_DOMULTIREFS) ?

 

Thanks

Bhuvan

 

Fiorano MailServer All incoming and outgoing mails are scanned for Virus http://www.fiorano.com
POST http://floyd:3456/abc HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1RC2
Host: floyd:3456
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 2091
Proxy-Authorization: Basic Wm14dmVXUT06
Cookie: JSESSIONID=AWPZ63x4ruyoG5KCBPxr8dmf4c7jZaIRkiwGNaP7CHMqCdMmTQZr!228948934
 
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:submitQuery soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns1="http://service.soap.test.com";>
   <ns1:authentication href="#id0"/>
   <ns1:fetchsize href="#id1"/>
   <ns1:timeout href="#id2"/>
   <ns1:partialResults href="#id3"/>
   <ns1:fullMetadata href="#id4"/>
   <ns1:sql href="#id5"/>
  </ns1:submitQuery>
  <multiRef xsi:type="xsd:string" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>true</multiRef>
  <multiRef xsi:type="xsd:string">false</multiRef>
  <multiRef id="id0" soapenc:root="0" 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns2="http://helper.soap.test.com"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
   <VDB href="#id6"/>
   <anonymous href="#id7"/>
   <isEncrypted href="#id8"/>
   <password href="#id9"/>
   <serverURL href="#id10"/>
   <userName href="#id11"/>
   <vdbVersion href="#id12"/>
  </multiRef>
  <multiRef xsi:type="xsd:string">select * from contactinfo</multiRef>
  <multiRef xsi:type="xsd:string">100</multiRef>
  <multiRef xsi:type="xsd:string">100000</multiRef>
  <multiRef xsi:type="xsd:string" xmlns:ns3="http://helper.soap.test.com";>mm</multiRef>
  <multiRef xsi:type="xsd:string" 
xmlns:ns4="http://helper.soap.test.com";>false</multiRef>
  <multiRef xsi:type="xsd:string" 
xmlns:ns5="http://helper.soap.test.com";>admin</multiRef>
  <multiRef xsi:type="xsd:string" 
xmlns:ns6="http://helper.soap.test.com";>false</multiRef>
  <multiRef xsi:type="xsd:string" xmlns:ns7="http://helper.soap.test.com";>1</multiRef>
  <multiRef xsi:type="xsd:string" 
xmlns:ns8="http://helper.soap.test.com";>jdbc:test:@abc://floyd:3456</multiRef>
  <multiRef xsi:type="xsd:string" 
xmlns:ns9="http://helper.soap.test.com";>abc</multiRef>
 </soapenv:Body>
</soapenv:Envelope>
332: Connected to Server
332: Server to Client (648 bytes, Incomplete last line)
HTTP/1.1 500 Internal Server Error

Reply via email to