public JsonValue toJson(){
  JsonValue baseValue=super.toJson();
  baseValue.add(SERVICE_QNAME,serviceQName != null ? serviceQName.toString() : null);
  baseValue.add(PORT_QNAME,portQName != null ? portQName.toString() : null);
  baseValue.add(WSDL_LOCATION,wsdlLocation);
  baseValue.add(CUSTOM_WSDL_LOCATION,customWsdlLocation);
  baseValue.add(CUSTOM_PORT_QNAME,customPortQName != null ? customPortQName.toString() : null);
  baseValue.add(CUSTOM_SERVICE_QNAME,customServiceQName != null ? customServiceQName.toString() : null);
  baseValue.add(AM_DEPLOYMENT_URL,amDeploymentUrl);
  return baseValue;
}

public JsonValue toJson ( ) { JsonValue baseValue = super . toJson ( ) ; baseValue . add ( SERVICE_QNAME , serviceQName != null ? serviceQName . toString ( ) : null ) ; baseValue . add ( PORT_QNAME , portQName != null ? portQName . toString ( ) : null ) ; baseValue . add ( WSDL_LOCATION , wsdlLocation ) ; baseValue . add ( CUSTOM_WSDL_LOCATION , customWsdlLocation ) ; baseValue . add ( CUSTOM_PORT_QNAME , customPortQName != null ? customPortQName . toString ( ) : null ) ; baseValue . add ( CUSTOM_SERVICE_QNAME , customServiceQName != null ? customServiceQName . toString ( ) : null ) ; baseValue . add ( AM_DEPLOYMENT_URL , amDeploymentUrl ) ; return baseValue ; }
method used to marshal the soapdeploymentconfig instance into the json format required to programmatically publish soap - sts instances .
