1.  Exceptions do not get transmitted to the caller of the web service
even though
Please set the following in your axis2.xml of the Axis2 server..
<parameter name="sendStacktraceDetailsWithFaults"
locked="false">true</parameter>

More info http://www.wso2.net/kb/220

~Thilina


_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);

is specified by the client.

2.  I'm using a table whose xsd is specified at
http://www.ivoa.net/xml/VOTable/v1.1 to return the result of a query.  I
generated the java classes using wsdl2java.  With the new version (v1.1
RC2) the table fields are not recognized in the deserialization phase.
I think that's because the FIELD element has an xmlns equal to "",
whereas in the previous version the FIELD element did not had an xmlns
attribute at all.  The problem is in the serialization where the xmlns
is added to the FIELD attribute.  What can I do to work around this?
The following are the soap messages with v1.0 and v1.1, note that the
only difference is in the FIELD elements:

axis v1.0 (works fine)
======================

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header />
   <soapenv:Body>
     <executeDSQLQueryResponse xmlns="http://astrodas.org/ws/model";>
       <VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.1";>
         <RESOURCE>
           <TABLE>
             <FIELD name="sdss_objid" />
             <FIELD name="sdss_ra" />
             <FIELD name="sdss_dec" />


             <FIELD name="sdss_type" />
             <FIELD name="twomass_objid" />
             <FIELD name="twomass_ra" />
             <FIELD name="twomass_dec" />
             <FIELD name="usnob_objid" />
             <FIELD name="usnob_ra" />
             <FIELD name="usnob_dec" />
             <DATA>
               <TABLEDATA>
                 <TR>


                   <TD>588848898825781398</TD>
                   <TD>149.997746286228</TD>
                   <TD>-1.01209468040848</TD>
                   <TD>6</TD>
                   <TD>182449361</TD>
                   <TD>149.99776</TD>
                   <TD>-1.012069</TD>
                   <TD>3818226118373</TD>
                   <TD>149.997766666667</TD>
                   <TD>-1.01208888888889</TD>


                 </TR>
               </TABLEDATA>
             </DATA>
           </TABLE>
         </RESOURCE>
       </VOTABLE>
     </executeDSQLQueryResponse>
   </soapenv:Body>
</soapenv:Envelope>

axis v1.1 (cannot deserialize the FIELD elements)
=================================================

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header />
   <soapenv:Body>
     <executeDSQLQueryResponse xmlns="http://astrodas.org/ws/model";>
       <VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.1";>
         <RESOURCE>
           <TABLE>
             <FIELD xmlns="" name="sdss_objid" />
             <FIELD xmlns="" name="sdss_ra" />
             <FIELD xmlns="" name="sdss_dec" />


             <FIELD xmlns="" name="sdss_type" />
             <FIELD xmlns="" name="twomass_objid" />
             <FIELD xmlns="" name="twomass_ra" />
             <FIELD xmlns="" name="twomass_dec" />
             <FIELD xmlns="" name="usnob_objid" />
             <FIELD xmlns="" name="usnob_ra" />
             <FIELD xmlns="" name="usnob_dec" />
             <DATA>
               <TABLEDATA>
                 <TR>


                   <TD>588848898825781398</TD>
                   <TD>149.997746286228</TD>
                   <TD>-1.01209468040848</TD>
                   <TD>6</TD>
                   <TD>182449361</TD>
                   <TD>149.99776</TD>
                   <TD>-1.012069</TD>
                   <TD>3818226118373</TD>
                   <TD>149.997766666667</TD>
                   <TD>-1.01208888888889</TD>


                 </TR>
               </TABLEDATA>
             </DATA>
           </TABLE>
         </RESOURCE>
       </VOTABLE>
     </executeDSQLQueryResponse>
   </soapenv:Body>
</soapenv:Envelope>

Thanks!

Diego

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to