axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ockleford Paul (NHS CONNECTING FOR HEALTH)" <paul.ocklef...@nhs.net>
Subject Generating ServicePortProxy with wsdl2java
Date Mon, 17 Dec 2012 16:53:00 GMT
Looking at the examples with axis2 that set the async MEP property and also looking at some
examples that my colleague auto generated with RAD I see classes such as myServicePortProxy
created and this class enables access to a binding provider object:

EchoServicePortProxy echo = new EchoServicePortProxy(wsdlURL);
echo._getDescriptor().setEndpoint(endpointURL);

// Configure SOAPAction properties
BindingProvider bp = (BindingProvider) (echo._getDescriptor().getProxy());


bp.getRequestContext().put(org.apache.axis2.jaxws.util.Constants.USE_ASYNC_MEP,

                           Boolean.TRUE);



How do I get these classes generated using wsdl2java?



Thanks



********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please
inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in
reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and
Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail
and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************

Mime
View raw message