[Nsi-wg] NSA Dev: JAX-WS generation

John MacAuley john.macauley at surfnet.nl
Wed Aug 31 09:31:03 CDT 2011


Thank you - I thought I might be going crazy.

On 2011-08-31, at 10:28 AM, Michał Balcerkiewicz wrote:

> Hi John,
> 
> I think they should return GenericAcknowledgementType.
> 
>  @WebResult(name = "acknowledgment", targetNamespace =
> "http://schemas.ogf.org/nsi/2011/07/connection/interface", partName =
> "result")
>    @WebMethod(action =
> "http://schemas.ogf.org/nsi/2011/07/connection/service/queryConfirmed")
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e queryConfirmed(
>        @WebParam(partName = "parameters", name = "queryConfirmed",
> targetNamespace = "http://schemas.ogf.org/nsi/2011/07/connection/interface")
> 
> org.ogf.schemas.nsi._2011._07.connection._interface.QueryConfirmedRequestTyp
> e parameters
>    ) throws
> org.ogf.schemas.nsi._2011._07.connection._interface.NSIServiceException;
> 
> 
>  @WebResult(name = "acknowledgment", targetNamespace =
> "http://schemas.ogf.org/nsi/2011/07/connection/interface", partName =
> "result")
>    @WebMethod(action =
> "http://schemas.ogf.org/nsi/2011/07/connection/service/queryFailed")
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e queryFailed(
>        @WebParam(partName = "parameters", name = "queryFailed",
> targetNamespace = "http://schemas.ogf.org/nsi/2011/07/connection/interface")
> 
> org.ogf.schemas.nsi._2011._07.connection._interface.QueryFailedRequestType
> parameters
>    ) throws
> org.ogf.schemas.nsi._2011._07.connection._interface.NSIServiceException;
> 
> 
> Br
> michal
> 
> -----Original Message-----
> From: nsi-wg-bounces at ogf.org [mailto:nsi-wg-bounces at ogf.org] On Behalf Of
> John MacAuley
> Sent: Wednesday, August 31, 2011 4:18 PM
> To: NSI WG
> Subject: [Nsi-wg] NSA Dev: JAX-WS generation
> 
> Implementors,
> 
> Is anyone else generating their web services using JAX-WS?  I generated this
> stub through netbeans and think the queryConfirmed and queryFailed methods
> are incorrect.  Should these not being returning "GenericAcknowledgmentType"
> instead of void?  Just want to make sure I have not missed anything.
> 
> Thanks,
> John.
> 
> @WebService(serviceName = "ConnectionServiceProvider", portName =
> "ConnectionServiceProviderPort", endpointInterface =
> "org.ogf.schemas.nsi._2011._07.connection.provider.ConnectionProviderPort",
> targetNamespace = "http://schemas.ogf.org/nsi/2011/07/connection/provider",
> wsdlLocation =
> "WEB-INF/wsdl/ConnectionServiceProvider/ogf_nsi_connection_provider_v1_0.wsd
> l")
> public class ConnectionServiceProvider {
> 
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e
> reservation(org.ogf.schemas.nsi._2011._07.connection._interface.ReservationR
> equestType parameters) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e
> provision(org.ogf.schemas.nsi._2011._07.connection._interface.ProvisionReque
> stType parameters) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e
> release(org.ogf.schemas.nsi._2011._07.connection._interface.ReleaseRequestTy
> pe parameters) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e
> terminate(org.ogf.schemas.nsi._2011._07.connection._interface.TerminateReque
> stType parameters) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public
> org.ogf.schemas.nsi._2011._07.connection._interface.GenericAcknowledgmentTyp
> e query(org.ogf.schemas.nsi._2011._07.connection._interface.QueryRequestType
> parameters) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public void queryConfirmed(javax.xml.ws.Holder<java.lang.String>
> correlationId,
> org.ogf.schemas.nsi._2011._07.connection.types.QueryConfirmedType
> queryConfirmed) throws
> org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
>    public void queryFailed(javax.xml.ws.Holder<java.lang.String>
> correlationId,
> org.ogf.schemas.nsi._2011._07.connection.types.QueryFailedType queryFailed)
> throws org.ogf.schemas.nsi._2011._07.connection.provider.NSIServiceException
> {
>        //TODO implement this method
>        throw new UnsupportedOperationException("Not implemented yet.");
>    }
> 
> }
> 
> _______________________________________________
> nsi-wg mailing list
> nsi-wg at ogf.org
> http://www.ogf.org/mailman/listinfo/nsi-wg
> 
> _______________________________________________
> nsi-wg mailing list
> nsi-wg at ogf.org
> http://www.ogf.org/mailman/listinfo/nsi-wg



More information about the nsi-wg mailing list