Hi all,

I'm trying to consume a secure Axis Web service from a Globus Toolkit 4
service. I generated stubs with standard Axis' wsdl2java from a wsdl
(glite-security-voms-admin-2.0.2.wsdl)where all wsdl:operation are described
this way:

     <wsdl:operation name="getVOName">
        <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="getVONameRequest">
           <wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"; namespace="
http://glite.org/wsdl/services/org.glite.security.voms.service.admin";
use="encoded"/>
         </wsdl:input>
        <wsdl:output name="getVONameResponse">
            <wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"; namespace="
http://glite.org/wsdl/services/org.glite.security.voms.service.admin";
use="encoded"/>
         </wsdl:output>
        <wsdl:fault name="VOMSException">
            <wsdlsoap:fault encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"; name="VOMSException" namespace="
http://glite.org/wsdl/services/org.glite.security.voms.service.admin";
use="encoded"/>
         </wsdl:fault>
     </wsdl:operation>

Let me underline the soapAction="". As far as I understood, in Globus
Toolkit environment, stubs should be generated from a wsdl that "expect
soapAction to be populated".

So for test, I've tried to specify, in a given operation of that wsdl, the
correct soapAction. Then I've re-generated the stubs and everything works!

After this long explaination (sorry) my question is: could it be possible
(using some option in wsdl2java command) to inject the correct soapAction at
stub creation time, in order to have GT4 compliant stubs? Or could you
suggest me another workaround?

Thank you very much,

Andrea

Reply via email to