Problem with wsdl2java

2009-05-07 Thread Andrea Turli
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


Information about WSDL Parser and Code Generator Framework

2008-02-20 Thread Andrea Turli
Hi all,

I'm studying the WSDL Parser and Code Generator Framework described at
http://ws.apache.org/axis/java/integration-guide.html. Integration%20guide
In particular I'm interested in exploit the opportunity described in
Example 1 - Simple extension of WSDL2Java - additional artifact.
Unfortunately I'm having some problems and I can't find the complete
implementation of this example as specified
samples/integrationGuide/example1. Could you provide me a link to the
complete example?
Moreover It could be useful specify that I've to use axis1.2 in my
implementation.

Thank you in advance,
Andrea


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