public static SetPublisherAssertions MapSetPublisherAssertions(List<org.uddi.api_v3.PublisherAssertion> value) { if (value == null) { return null; } SetPublisherAssertions r = new SetPublisherAssertions(); r.setGeneric(VERSION); r.getPublisherAssertion().addAll(MapPublisherAssertion(value)); return r; }
@Override public PublisherAssertions setPublisherAssertions(SetPublisherAssertions body) throws org.uddi.v2_service.DispositionReport { try { Holder<List<PublisherAssertion>> req = new Holder<List<PublisherAssertion>>(); req.value = MapUDDIv2Tov3.MapSetPublisherAssertions(body); publishService.setPublisherAssertions(body.getAuthInfo(), req); return MapUDDIv3Tov2.MapPublisherAssertions(req.value, getNodeID(), getUsername(body.getAuthInfo())); } catch (DispositionReportFaultMessage ex) { throw MapUDDIv3Tov2.MapException(ex, getNodeID()); } }
/** * Create an instance of {@link SetPublisherAssertions } * */ public SetPublisherAssertions createSetPublisherAssertions() { return new SetPublisherAssertions(); }
public static List<PublisherAssertion> MapSetPublisherAssertions(SetPublisherAssertions body) { if (body == null) { return null; } return MapListPublisherAssertion(body.getPublisherAssertion()); }
@Override public void setPublisherAssertions(String authInfo, Holder<List<PublisherAssertion>> publisherAssertion) throws DispositionReportFaultMessage, RemoteException { try { SetPublisherAssertions req = MapUDDIv3Tov2.MapSetPublisherAssertions(publisherAssertion.value); req.setAuthInfo(authInfo); PublisherAssertions setPublisherAssertions = publishService.setPublisherAssertions(req); publisherAssertion.value = MapUDDIv2Tov3.MapListPublisherAssertion(setPublisherAssertions); } catch (DispositionReport ex) { throw MapUDDIv2Tov3.MapException(ex); } catch (SOAPFaultException ex) { throw MapUDDIv2Tov3.MapException(ex); } }
@Override public PublisherAssertions setPublisherAssertions(SetPublisherAssertions body) throws org.uddi.v2_service.DispositionReport { try { Holder<List<PublisherAssertion>> req = new Holder<List<PublisherAssertion>>(); req.value = MapUDDIv2Tov3.MapSetPublisherAssertions(body); publishService.setPublisherAssertions(body.getAuthInfo(), req); return MapUDDIv3Tov2.MapPublisherAssertions(req.value, getNodeID(), getUsername(body.getAuthInfo())); } catch (DispositionReportFaultMessage ex) { throw MapUDDIv3Tov2.MapException(ex, getNodeID()); } }