public static String getWSDLLocation(EndpointReferenceType ref) { String wsdlLocation = null; MetadataType metadata = ref.getMetadata(); if (metadata != null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION); if (wsdlLocation == null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION2); } } if (null == wsdlLocation) { return null; } return wsdlLocation; }
public static String getWSDLLocation(EndpointReferenceType ref) { String wsdlLocation = null; MetadataType metadata = ref.getMetadata(); if (metadata != null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION); if (wsdlLocation == null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION2); } } if (null == wsdlLocation) { return null; } return wsdlLocation; }
public static String getWSDLLocation(EndpointReferenceType ref) { String wsdlLocation = null; MetadataType metadata = ref.getMetadata(); if (metadata != null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION); if (wsdlLocation == null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION2); } } if (null == wsdlLocation) { return null; } //TODO The wsdlLocation inserted should be a valid URI //before doing a split. So temporarily return the string //return wsdlLocation.split(" "); return wsdlLocation; }
public static String getWSDLLocation(EndpointReferenceType ref) { String wsdlLocation = null; MetadataType metadata = ref.getMetadata(); if (metadata != null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION); if (wsdlLocation == null) { wsdlLocation = metadata.getOtherAttributes().get(WSDL_LOCATION2); } } if (null == wsdlLocation) { return null; } //TODO The wsdlLocation inserted should be a valid URI //before doing a split. So temporarily return the string //return wsdlLocation.split(" "); return wsdlLocation; }
public static void setWSDLLocation(EndpointReferenceType ref, String... wsdlLocation) { MetadataType metadata = getSetMetadata(ref); //wsdlLocation attribute is a list of anyURI. StringBuilder strBuf = new StringBuilder(); for (String str : wsdlLocation) { strBuf.append(str); strBuf.append(" "); } metadata.getOtherAttributes().put(WSDL_LOCATION, strBuf.toString().trim()); }
public static void setWSDLLocation(EndpointReferenceType ref, String... wsdlLocation) { MetadataType metadata = WSAEndpointReferenceUtils.getSetMetadata(ref); //wsdlLocation attribute is a list of anyURI. StringBuilder strBuf = new StringBuilder(); for (String str : wsdlLocation) { strBuf.append(str); strBuf.append(" "); } metadata.getOtherAttributes().put(WSDL_LOCATION, strBuf.toString().trim()); }
public static void setWSDLLocation(EndpointReferenceType ref, String... wsdlLocation) { MetadataType metadata = getSetMetadata(ref); //wsdlLocation attribute is a list of anyURI. StringBuilder strBuf = new StringBuilder(); for (String str : wsdlLocation) { strBuf.append(str); strBuf.append(" "); } metadata.getOtherAttributes().put(WSDL_LOCATION, strBuf.toString().trim()); }
public static void setWSDLLocation(EndpointReferenceType ref, String... wsdlLocation) { MetadataType metadata = WSAEndpointReferenceUtils.getSetMetadata(ref); //wsdlLocation attribute is a list of anyURI. StringBuilder strBuf = new StringBuilder(); for (String str : wsdlLocation) { strBuf.append(str); strBuf.append(" "); } metadata.getOtherAttributes().put(WSDL_LOCATION, strBuf.toString().trim()); }